feat: redesign the stock and shopping list screens #7

Merged
tomas merged 1 commit from feat/redesign into master 2026-11-11 18:38:22 +00:00
Owner

Summary

Redesign of the stock and shopping list screens, following the improved boards (V2-Zasoby, V2-Seznam) on the design canvas.

  • Look: calmer green palette, Inter for text and Bricolage Grotesque for titles, white cards, 48 px inputs. The fonts are bundled through @fontsource because the CSP only allows fonts from our origin.
  • Stock: each item has a level bar where the minimum sits at the middle. Items running low get "+ Na seznam" or "✓ Na seznamu"; the rest get a − amount + stepper. A summary under the title shows the item count and how many are running low.
  • Shopping list:
    • the title switches between lists;
    • a progress bar shows "3 z 7 v košíku";
    • one input reads the amount and unit from the text ("mléko 2 l", "2 l mléko", "rohlíky 10"), takes the unit from the stock when the text gives none, and previews what it will add;
    • the "Dochází" chips show the missing amount;
    • the basket folds away;
    • "Dokončit nákup" is pinned above the navigation.
  • Navigation: a raised scan button sits between Zásoby and Seznamy. The household switcher and an account menu (household settings, logging out) move to the header.

Left out on purpose:

  • expiry dates;
  • stock categories and list groups;
  • the reason line "Přidáno, protože došlo doma";
  • scanning straight onto a list.

They need data the app doesn't keep yet.

Testing

  • make ci passes: the backend, frontend unit tests, Playwright e2e and the commit checks.
  • New unit tests cover the free-text parser and the Czech plurals.
  • The e2e tests now go through the account menu, the folded basket and adding with free text.
  • I looked at headless screenshots at 390 px and 820 px of the stock, the editor, the account menu, the list with the basket folded and open, the lists overview and the scanner.
## Summary Redesign of the stock and shopping list screens, following the improved boards (V2-Zasoby, V2-Seznam) on the design canvas. - **Look:** calmer green palette, Inter for text and Bricolage Grotesque for titles, white cards, 48 px inputs. The fonts are bundled through @fontsource because the CSP only allows fonts from our origin. - **Stock:** each item has a level bar where the minimum sits at the middle. Items running low get "+ Na seznam" or "✓ Na seznamu"; the rest get a − amount + stepper. A summary under the title shows the item count and how many are running low. - **Shopping list:** - the title switches between lists; - a progress bar shows "3 z 7 v košíku"; - one input reads the amount and unit from the text ("mléko 2 l", "2 l mléko", "rohlíky 10"), takes the unit from the stock when the text gives none, and previews what it will add; - the "Dochází" chips show the missing amount; - the basket folds away; - "Dokončit nákup" is pinned above the navigation. - **Navigation:** a raised scan button sits between Zásoby and Seznamy. The household switcher and an account menu (household settings, logging out) move to the header. Left out on purpose: - expiry dates; - stock categories and list groups; - the reason line "Přidáno, protože došlo doma"; - scanning straight onto a list. They need data the app doesn't keep yet. ## Testing - `make ci` passes: the backend, frontend unit tests, Playwright e2e and the commit checks. - New unit tests cover the free-text parser and the Czech plurals. - The e2e tests now go through the account menu, the folded basket and adding with free text. - I looked at headless screenshots at 390 px and 820 px of the stock, the editor, the account menu, the list with the basket folded and open, the lists overview and the scanner.
feat: redesign the stock and shopping list screens
All checks were successful
CI / backend (pull_request) Successful in 1m26s
CI / commits (pull_request) Successful in 36s
CI / frontend (pull_request) Successful in 2m50s
CI / release (pull_request) Has been skipped
CI / images (pull_request) Has been skipped
CI / commits (push) Successful in 35s
CI / release (push) Successful in 38s
CI / backend (push) Successful in 1m24s
CI / frontend (push) Successful in 2m53s
CI / images (push) Successful in 1m31s
1664fbe8b4
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.
tomas merged commit 1664fbe8b4 into master 2026-11-11 18:38:22 +00:00
tomas deleted branch feat/redesign 2026-11-11 18:38:22 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
tomas/household!7
No description provided.