CivicTechFredericton / mealplanner

Primary Meal Planner repo
MIT License
9 stars 18 forks source link

[FEATURE] Filter by tags for meal plan #522

Closed shanthisa closed 3 months ago

shanthisa commented 7 months ago

Is your feature request related to a problem? Please describe. When the mealplan is created or deleted, the tags should be automatically listed on the Filter by tags view

Describe the solution you'd like As a [user/admin/designer] I would like to view the unique list of meal plan tags displayed for the list of meal plans available so that I can filter by tags.

Describe alternatives you've considered There was a ticket for meal plan tag #437, which was implemented to create 3 options. The problem with that issue was we need to refresh the whole page or go to a different option for all tags to be displayed correctly after a meal plan creation or deletion.

Additional context This required quite new code to handle 'state' in the relay. Also, I introduced graphql 'fragment' to manage the state. Since this was a significant rewrite of code, I handled it as a separate issue.

shanthisa commented 7 months ago

@ala-sk98 - Can you please QA this? Thanks.

ala-sk98 commented 7 months ago

QA done. Test case MP-FilterByTags-015: Passed.

shanthisa commented 6 months ago

Test case ID updated MP-filterbytags-015

ala-sk98 commented 6 months ago

QA done. Test caseMP-FilterByTags-030 : Passed

shanthisa commented 5 months ago

@ala-sk98 Please provide test data and clear navigation steps

olamakhlouf commented 4 months ago

@shanthisa updated the test case