fix(shopping-list) Use icon buttons for the item actions in the detail panel #58
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "shopping-list-item-icon-actions"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The detail panel of a shopping list item showed "Bearbeiten", "Verschieben" and "Entfernen" as three full text buttons. On a narrow screen they wrapped below each other instead of becoming icon buttons, unlike the rest of the app.
Change
ShoppingListItemRow: the three actions are icon-onlyIconButtons (pencil, arrows, bin) with the 44 px touch target and the same icon size as the list actions on the overview. They sit to the right of the "why is this here" text, in one row at every width. "Entfernen" uses the danger variant.docs/architecture.md: the component description says "icon-only actions".Behaviour is unchanged: the same actions, the same conditions (no edit on ticked items), the same dialogs.
Verification
stage(with spec 002 and its contract pin) is merged into this branch; the numbers below are from after that merge.npm run lintMealPlanDayProvider.tsxthat are not from this branchnpm run testnpm run build/verify-ui, asuser)🤖 Generated with Claude Code