feat: compact month grid on narrow screens #84
No reviewers
Labels
No labels
adr
android
area/calendar
area/design-system
area/i18n
area/jobs
area/offline
area/server
area/testing
bug
ci
duplicate
enhancement
help wanted
invalid
notifications
question
reliability
security
severity/low
severity/medium
tracking
web
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
eagraiclainne/app!84
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/compact-month-grid"
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?
Makes the pinned month grid (#50) usable on a phone.
The problem
The calendar view toggle lets a member pin the month grid at any width. On a phone that means seven columns in ~360px, so each chip collapsed to an icon and an ellipsis — the grid lost the very thing it is for.
The change
Below 700px (web) / the 900dp wide breakpoint (Android), the pinned grid goes compact: each day's chips become textless colour bars — the owner's mark symbol then the entry's type glyph on the mark-colour edge. Colour is never the only signal (rule 2): the symbol and glyph carry when the name is gone. Cells hold at most three rows — two bars and a +n when a day has more. The calendar also breaks out past the reading-width column and trims its gutters/gaps so the cells stay roomy. Tapping a day still opens the full day sheet, so no detail is lost. Wide screens and the agenda are unchanged.
The look was settled by prototyping variants in
docs/frontend-plan.html; the final behaviour is now folded into the Calendar page description.Surfaces
Calendar.tsxrender change (owner symbol + hideable text); wider Calendar column via a route data attribute.CalChip/grid inMore.kt.Stacking
Stacked for fast-forward on
feat/calendar-view-toggle(#81). Merge after the rest of the chain: #82 → #79 → #80 → #81 → this.Verified with
make checkand by hand against the local deploy.🤖 Generated with Claude Code
Test report
Coverage: 27.6%
Updated by the check workflow · commit
81e1b2adecAndroid test report
Updated by the android workflow · commit
81e1b2adec