openculinary / frontend

The RecipeRadar Frontend is a recipe search and meal planning application
GNU Affero General Public License v3.0
13 stars 2 forks source link

bug: chiclet counters are not updating correctly #244

Closed jayaddison closed 1 year ago

jayaddison commented 1 year ago

Describe the bug The navigation bar at the top of the visual display in the app contains chiclets that are intended to display counts of the number of starred recipes, planned recipes, and shopping list ingredients.

The problem here is that all of them seem to be working incorrectly, most likely due to a change that has affected all three:

To Reproduce Steps to reproduce the behavior:

  1. Go to the homepage and perform a search.
  2. Star a recipe from the results.
  3. Add one of the recipe results' ingredients to the meal planner.
  4. Switch to the meal planner tab, and drag the planned meal onto the calendar for a future date.
  5. Switch to the shopping list tab, and check off a few items from the shopping list.
  6. Observe that there is no chiclet on the Starred navigation item, a chiclet with 0 on the Meal Planner navigation item, and a chiclet with 0/x on the Shopping List navigation item.

Expected behavior

Screenshots image image image

jayaddison commented 1 year ago

Ok; three separate causes after all: