Skip to content

Implement Real Time Updates for all Trip Collaborators #62

Description

@zghera

Issue summary

We want real time listening to Firestore so that a user's trips are always up to date.

Expected behavior

The addition of real time listening with onShapshot should allow fetching the most up to date trips where a user is a collaborator whenever a new update to the Trips collection is made.

Actual behavior

Currently when a new trip is created/edited, only the creator of the trip can automatically see the trip on their 'View Trips' page (using the key prop on TripsContainer). For other users, they must refresh the page to see any new trips where they are collaborators.

Steps to reproduce (including any preconditions)

{Fill in here}

Screenshot/screencast of this problem (if possible)

{Fill in here or remove (leave header)}

Your environment

Include version numbers

  • OS: {Fill in here}
  • Browser: {Fill in here}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions