feat: allow full calendar view on small screens #81
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!81
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/calendar-view-toggle"
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?
Closes #50. Stacks on #80 (#48) → #79 (#60); merge those first.
The calendar dropped to an agenda list below the breakpoint (700px web / 900dp Android) with no way back to the month grid. This adds a per-member view toggle that pins the grid or the agenda at every width, synced across devices.
What changed
CalendarViewenum (UNSPECIFIED= responsive default,GRID,AGENDA) andcalendar_viewonUserSettings.UNSPECIFIEDkeeps today's behavior for old records.data-cal-viewon<html>drives override rules that outrank the width media query, so the pin holds on a phone.auto(default) leaves the responsive CSS untouched, then remembers the last-picked view. Rides the #60 sync.if (isWideScreen())switch is gated on the pref (GRID/AGENDApin,UNSPECIFIEDfollows the breakpoint). A grid/agenda toggle in the shared month nav writes through.frontend-plan.htmlrecords the toggle.Behavior
Default stays responsive. Once a member picks a view it is remembered and follows them across devices (their choice, per the design discussion). Grid and agenda always render from the same data, so the toggle only changes which one shows.
Surface parity (rule 1)
Web and Android both honor it. MCP and CLI render no calendar.
Verification
make checkgreen (Go + web build + web/android i18n).data-cal-viewoverride rules;calendar_viewround-trips through the live settings write.🤖 Generated with Claude Code
Test report
Coverage: 27.6%
Updated by the check workflow · commit
ea8ae4aabeAndroid test report
Updated by the android workflow · commit
ea8ae4aabe518654348aea8ae4aabe