Feature request: shopping list overview as a dashboard with item previews #32
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Idea
Turn the shopping list overview from a list of titles into a dashboard of cards that also show what's on each list, similar to note-keeping apps (e.g. Google Keep).
Each card:
Layout: one column on phones, two or three columns on wider screens. On desktop this also puts the width to use that the centred list column (recipe-app#47) leaves empty.
Why it needs a contract change
GET /shopping-list/allreturns only id, name, owner, effective permission and version per list (CompactShoppingListDtoinapi-contract/src/shopping-lists.ts), no items. Two ways to get them:GET /shopping-list/:idper card). No contract change, but one extra request per list, each carrying the full list including ticked items and shares, only to show a few names. It gets slower with every list, and the overview would need its own refresh logic. Not recommended.CompactShoppingListDtogains e.g.previewItems(the first N open items in list order: name, amount, unit) andopenItemCount. Still one request; an additive change.Notes
openItemson GET.Raised during manual testing of spec 001 (recipe-app#47); postponed to a follow-up.
🤖 Generated with Claude Code
Done with PR 43