Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Users should be able to save their item states in their user collection #62

Closed
skamansam opened this issue Sep 25, 2020 · 0 comments
Closed
Assignees
Labels
New Feature New feature or request

Comments

@skamansam
Copy link
Member

skamansam commented Sep 25, 2020

Currently, users can't save their state data, so we need a way to do that. There is already state data in the firebase emulator data, so that should be a starting point for this implementation.

  • When a user changes an item's state, it should be saved in their collection
  • When a list is loaded, it should load the user states and display those

The organization is as follows:

  • the userListItemStates collection should have a document for each user, where the document name is the same as the firebase user ID (so the path should be /userListItemStates/{fbauth.currentUser.id})
  • the user document should have a subcollection where each subcollection represents a list and has the same ID as the list. (the path should be /userListItemStates/{fbauth.currentUser.id}/{list.id})
@skamansam skamansam added the New Feature New feature or request label Sep 25, 2020
@skamansam skamansam added this to the Initial Release milestone Sep 25, 2020
@skamansam skamansam added this to To do in Welcome to Questlists via automation Sep 25, 2020
@skamansam skamansam moved this from To do to In progress in Welcome to Questlists Mar 15, 2021
@KickButtowski80 KickButtowski80 moved this from In progress to Review in progress in Welcome to Questlists Oct 22, 2021
@skamansam skamansam moved this from Review in progress to Done in Welcome to Questlists Nov 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
New Feature New feature or request
Projects
No open projects
Development

No branches or pull requests

2 participants