feat: redesign the stock and shopping list screens #7
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/redesign"
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?
Summary
Redesign of the stock and shopping list screens, following the improved boards (V2-Zasoby, V2-Seznam) on the design canvas.
Left out on purpose:
They need data the app doesn't keep yet.
Testing
make cipasses: the backend, frontend unit tests, Playwright e2e and the commit checks.Brings the app to the design agreed on the design canvas: a calmer green palette, Inter with Bricolage Grotesque titles (bundled, the CSP only allows fonts from our origin), white cards and larger touch targets. Stock: a level bar against the minimum, "+ Na seznam" or "Na seznamu" for items running low and a − amount + stepper for the rest, a count summary under the title. Shopping list: the title switches between lists, a progress bar shows how much is in the basket, one input reads the amount and unit from the text ("mléko 2 l"), the basket folds away and "Dokončit nákup" stays pinned above the navigation. Navigation: a raised scan button between Zásoby and Seznamy; the household switcher and an account menu with the household settings and logging out move to the header. Categories and expiry dates from the design are left out, they need data the app doesn't keep.