Reference in New Issue
Block a user
Delete Branch "feat/month-view-style"
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?
Adds a Month view style picker (Settings → Views) with four layouts, closing
Codeberg #38 (vertical scrolling) and #53 (month + agenda combined) as
one setting rather than a pile of independent toggles.
Styles
block under a sticky header (#38).
its month (#38).
Split pull-to-expand
Drag the compact grid down and the day pane gives way to the whole month
drawn the paged style's way — real event bars and pills. Drag up, tap the
handle, or press back to collapse. The dots don't cross-fade into bars, they
morph: each cell grows, its number rides along, and every dot travels out to
the bar it stood for.
silently changed.
you dip into, not a mode you get stranded in.
has a real partner — including an invisible bar-slice per covered day for
multi-day events, and an invisible stand-in for the selection outline.
Also here
month, week and day now answer a swipe the instant it clears 24dp instead of
waiting for the finger to lift (
beb8536). Extracted into one sharedrememberCalendarPageSwipe. This touches the week and day views and isarguably separable from #53 — happy to split it out if you'd prefer it land on
its own.
Notes
styles themselves still owe an on-device pass before this goes to
main.laneEvents, continuous indexing,clipWeekToMonth,the perf
DayIndex).test+lint+assembleDebug+ translations green.see if you like it) and whether the changelog entry folds into the 2.16.0
section or stays under Unreleased.
🤖 Generated with Claude Code
Introduces MonthViewStyle{Paged, Continuous, Split} and the setting that chooses it. Only Paged is wired up so far — the other two land next; this commit is the pref, the state plumbing and the chooser. One picker rather than two switches ("vertical scrolling" + "month with agenda"): independent toggles would multiply into four combinations, most of which nobody asked for. Split does not disable the Agenda view — that stays a forward multi-day window, while the split pane lists one selected day. The chooser lives on the Views settings screen (per-view layout belongs with the other view configuration) and is a hand-rolled FullScreenPicker rather than OptionPicker, which cannot render previews: the three options differ in shape, which a word like "Continuous" does not convey. Each card carries a schematic drawn from theme tokens, and selection reads three ways over — border weight, container tint and a check — so it never rests on colour alone. The cards are a selectableGroup with Role.RadioButton for screen readers. Folded into the ViewCustomization holder, which had spare arity; the outer settings combine is still at its five-flow limit. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>The chooser showed a per-style blurb on every row and a generic feature summary under the preview. Move the selected style's own blurb under its preview instead, drop the generic summary, and reduce the rows to a single line — the preview is now bigger (280dp, wider) in the space that frees up. The blurbs now stand alone: Dense's copy referenced Continuous ("the same endless scroll…"), which made no sense once each shows in isolation. Rename the two vertical styles to say what they do — Continuous → "Scrolling months", Dense → "Seamless weeks". Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>