Skip to content

Conversation

@dasarisaichandana
Copy link

@dasarisaichandana dasarisaichandana commented Jul 5, 2025

Describe the technical changes contained in this PR
This PR updates the shopping list page to display unique ingredients with their total quantities grouped by unit. It introduces a separate column to show recipes that use each ingredient, with optional substitute details. Suggested products (if any) are also shown. The list is now sorted alphabetically by ingredient only, per design expectations.

Previous behaviour
The shopping list displayed multiple rows for the same ingredient if used in different meals. This resulted in a cluttered view with duplicated ingredient entries and scattered quantities, making it difficult for users to quickly assess total purchase needs.

New behaviour
Each ingredient now appears only once, with:

  • The sum of quantities per unit
  • A list of meals/recipes that use the ingredient
  • Any substitute and reason, if applicable
  • A maximum of 3 suggested products
  • Alphabetical sorting by ingredient name

Related issues addressed by this PR
List issue numbers using the "Feature #725" syntax

Snapshots attached
updated-shopping-list

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