Feature: Linking stores and shopping lists#15
Merged
Conversation
Owner
manderly
commented
Jul 8, 2020
- Added a new view that lets the user toggle stores "on/off" for shopping lists (and shopping lists "on/off" for stores)
- Wrote new Database Manager methods to create/delete a two-way link between stores and shopping lists whenever one is added or removed
- Added a map to the store documents (and a map to the shopping list documents) that tracks the IDs and names of any linked entities
- Made it so that changing the name of a store or shopping list also updates its name in any documents that have it in their linked entities map
- Updated the store form and shopping list forms to display a list of linked entities, with special handling for cases where there are more than 4 linked entities
…ssing args into state object (using widget. instead to access those properties), starting work on db method for updating a particular store/list link
…opulated conditionally, which allows for not showing the store/shopping list lists when creating a new one
…m instead of just stores that were retrofitted to have 'shopping lists' via Firebase
…he toggle switch is thrown, data appears in db but doesn't update in app yet
…, improved the display of linked entities and cap them at 4 with '+N more' text as the last item
…their linked entities
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.