Skip to content

Add ingredient substitutions management and shopping list home widget - #601

Merged
anton-gustafsson merged 2 commits into
mainfrom
feature/ingredient-substitutions-shopping-widget
Jul 31, 2026
Merged

Add ingredient substitutions management and shopping list home widget#601
anton-gustafsson merged 2 commits into
mainfrom
feature/ingredient-substitutions-shopping-widget

Conversation

@anton-gustafsson

Copy link
Copy Markdown
Member

Summary

  • New "My Substitutions" page: add/edit/delete custom ingredient substitutions, browse built-in substitutions
  • Cocktail dialog: long-press an ingredient row to open substitutes/storage actions; substitutes navigation moved off the tappable row label to avoid accidental navigation, and is only offered when substitutes exist
  • New shopping list widget on the home screen; fixed it rendering wider than the viewport
  • Substitutions list: bigger edit button, delete moved into the edit dialog (was a separate row action)
  • Fixed a layout bug where the (invisible) toast container could intercept clicks on fixed bottom-sheet dialogs

Test plan

  • npx tsc --noEmit
  • npx jest (54/54 passing)
  • npx cypress run --spec cypress/e2e/ingredient-substitutions.cy.ts (4/4 passing)
  • Manual smoke test in browser

🤖 Generated with Claude Code

Adds a "My Substitutions" page for creating/editing/deleting custom
ingredient substitutions, links to it from the cocktail dialog's
long-press ingredient menu, and surfaces the user's shopping lists as
a widget on the home screen.
An earlier all-ingredients/search-ingredients wrapper div (.ingredient-group-list)
made the generic div count always off-by-one, failing in CI.
@anton-gustafsson
anton-gustafsson merged commit 30feff9 into main Jul 31, 2026
1 check passed
@anton-gustafsson
anton-gustafsson deleted the feature/ingredient-substitutions-shopping-widget branch July 31, 2026 08:27
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