Skip to content

Feature: Linking stores and shopping lists#15

Merged
manderly merged 18 commits intomasterfrom
linkStoresAndLists
Jul 9, 2020
Merged

Feature: Linking stores and shopping lists#15
manderly merged 18 commits intomasterfrom
linkStoresAndLists

Conversation

@manderly
Copy link
Copy Markdown
Owner

@manderly 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

manderly added 18 commits July 2, 2020 16:00
…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
@manderly manderly merged commit 5f3e63e into master Jul 9, 2020
@manderly manderly deleted the linkStoresAndLists branch July 9, 2020 23:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant