Repository navigation
Replies: 1 comment
|
Thanks, this is a careful survey, and the mock-up made it easy to decide.
One detail on One small PR is perfect. Thank you for taking it on. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
On the bottle cards in list view, producer and vintage sit side by side with only a flex gap between them (gap: 0.5rem in .bottle-meta), so “Marcel Pierre NV” reads like a double space. Other places that show the same pair already use a middle dot:
Racks: producer · vintage (CellarRacks.js)
Room, the bottles in a rack: producer · vintage (CellarRoom.js)
Statistics/dashboard, drink-soon and top value lists: producer · vintage (UrgencyLadder.js, TopValueList.js)
And a few that differ:
Bottle card, list view: gap only, no dot
Bottle card, grid view: vintage and region side by side with a gap, no dot
Cellar chat: vintage · producer, the other way round
Restock: Wine name · Producer 2019, a dot before the producer but only a space before the vintage
Room, detail panel: type and vintage with a gap
I’d suggest using producer · vintage everywhere the two appear together. On the cards, I’d add the dot with ::before (about 0.35rem on each side) so screen readers skip it and it disappears when there is no vintage. “Wine name vintage” (e.g. “Barolo 2019” in the journal and the wine picker) would stay as it is, since that reads naturally without a dot.
Mock-up of the options (today / dot with 0.5rem / dot with 0.35rem / no dot, smaller gap). I prefer the third one.

Questions:
Are you happy with a middle dot as the standard separator here?
Should the grid view (vintage · region) and the room’s detail panel follow the same rule, or leave them for now?
If you agree, I’d do it in one small PR (4–5 files).
All reactions