Skip to content

fix(web): keep narrow week windows aligned to sunday - #5437

Merged
tyler-dane merged 2 commits into
mainfrom
claude/brave-faraday-obkter
Dec 4, 2026
Merged

tyler-dane merged 2 commits into
mainfrom
claude/brave-faraday-obkter

Conversation

@tyler-dane

Copy link
Copy Markdown
Contributor

What and why

When the window is too narrow for all seven days, the week view centered the window on today, and J/K paged by the visible column count, so the first column drifted (a 6-column window could start on Friday). Narrow windows now stay inside the calendar week: they start on Sunday whenever the target day fits, otherwise the window ends on Saturday. J/K step through the week's pages and snap to the next or previous Sunday. A window shifted by hand with Shift+J/K keeps its alignment and pages by the visible day count. Full-width behavior is unchanged.

Verify

VERDICT: PASS from bun run verify --strict. Checks run: test:web, type-check, lint, knip, test:a11y, test:e2e (baseline: no new failures).

FLAKY, passed on rerun (1):

  • test:e2e: [chromium-desktop] › e2e/accessibility/focus-visible.spec.ts › the 'i' shortcut moves focus to a visibly-focused sidebar day

Generated by Claude Code

@tyler-dane
tyler-dane enabled auto-merge December 4, 2026 13:29
@github-actions

github-actions Bot commented Dec 4, 2026

Copy link
Copy Markdown
Contributor

Boot bundle: 608.7 KB gzip (-0.0 KB vs main)

@tyler-dane
tyler-dane added this pull request to the merge queue Dec 4, 2026
Merged via the queue into main with commit 0b7db42 Dec 4, 2026
23 checks passed
@tyler-dane
tyler-dane deleted the claude/brave-faraday-obkter branch December 4, 2026 13:45
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.

2 participants