Skip to content

feat(gcal): the adaptive week view - #91

Merged
ldelvoye merged 2 commits into
mainfrom
feat/gcal-week-view
Sep 19, 2026
Merged

ldelvoye merged 2 commits into
mainfrom
feat/gcal-week-view

Conversation

@ldelvoye

Copy link
Copy Markdown
Owner

Adds the week view to the Google Calendar tab: several day columns on one scrolling 15-minute ruler, 7/5/3/1 columns by terminal width, the focused column tinted off the terminal's own background, the selected chip breathing on the landing's wave, and the now-line drawn over the current slot rather than inserted as a row.

Live replication, per the standing rule for this feature: the real week (38 items) was rendered through the real client at 160, 120, 100, and 80 columns with every line inside the body width; the brackets moved the focus by a week and back; the tint span started at the focused column's first cell at each width; the pulse ran peak, midpoint, base colour with the clock stopped; and the overlaid now-line sat on the 16:45 row at 16:51 with the neighbouring chip untouched.

The selected event keeps its calendar colour and lifts up to a third of
the way toward white, settling back on the same 1.6-second wave as the
landing's dots. The text colour comes from the base colour so it never
flips between black and white mid-pulse. The rhythm constants move to
the palette so the dots and the chip share them.
Several day columns share one scrolling 15-minute ruler: 7, 5, 3, or 1
columns at 140, 110, 90, and fewer terminal columns. Five-column weeks
slide so a focused weekend day still has a column, and a hidden weekend
shows as +N in the header. The focused column is tinted one lift step
off the terminal's real background, lighter on dark and darker on light.
Left and right change the day, the brackets change the week, and the
paired bindings share a description so the help overlay merges each
pair onto one row.

The now-line is drawn over the slot row that contains the current time
instead of being inserted as an extra row, so it no longer lands on the
next slot's boundary or cuts a chip in another column. The ruler body,
lane rows, and gutter are lifted out of the day view for the week view
to reuse, each view runs its own frame clock for the pulsing chip, and
the gutter's selection mark is gone now that the pulse marks it.
@ldelvoye
ldelvoye merged commit e1ac94b into main Sep 19, 2026
1 check passed
@ldelvoye
ldelvoye deleted the feat/gcal-week-view branch September 19, 2026 00:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant