Skip to content

fix(macos): use web's month grid for the form date picker - #4656

Merged
tyler-dane merged 1 commit into
mainfrom
fix/macos-form-pickers
Oct 21, 2026
Merged

tyler-dane merged 1 commit into
mainfrom
fix/macos-form-pickers

Conversation

@tyler-dane

Copy link
Copy Markdown
Contributor

Refs #4215

What and why

Pickers in the macOS event form differed from web:

  • Date popover. It was the system graphical DatePicker. It now reuses the sidebar month picker, the same web-styled grid (Rubik, ink circle on the selected day, Go to this month, Sunday first). SidebarMonthPicker gains an opt-in daysAreClickable (sidebar days stay keyboard-only, as on web) and a header-less initializer. Picking a day changes the calendar day only and keeps the time of day.
  • Time field. The up/down caret is removed, since web's field has none. The quarter-hour list already matched web.

The popover opens as before (double-click on the date field), so typing a date is unaffected. The CI parity capture cannot show macOS popovers (separate windows), so this was compared from source.

Verify

CompassUI has two new unit tests for the keep-the-time rule (34 tests pass). The app target builds.

bun run verify --strict: VERDICT: FAIL. Checks run: test:macos:packages, type-check, lint, knip, test:macos. The only failure is NativeLaunchTests.testEventClickShowsPointerHintWithoutOpening, which also fails on a clean origin/main checkout on this machine and passed in CI on the earlier merged parity PRs (local state, unrelated). All other macOS tests pass.

🤖 Generated with Claude Code

The event form date popover was the system graphical DatePicker. It now
reuses the sidebar month picker (Rubik, ink circle on the selection,
Go to this month, Sunday first), with clickable days, and picking a day
keeps the time of day. The time field drops its up/down caret, which
web's field does not have.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@tyler-dane
tyler-dane marked this pull request as ready for review October 21, 2026 01:03
@tyler-dane tyler-dane added the agent-automerge Agent-loop finished; merge-guard may squash-merge label Oct 21, 2026
@tyler-dane
tyler-dane enabled auto-merge October 21, 2026 01:03
@tyler-dane
tyler-dane added this pull request to the merge queue Oct 21, 2026
Merged via the queue into main with commit 872dbce Oct 21, 2026
29 of 30 checks passed
@tyler-dane
tyler-dane deleted the fix/macos-form-pickers branch October 21, 2026 01:50
tyler-dane added a commit that referenced this pull request Oct 21, 2026
…cker

Resolves the SidebarMonthPicker conflict after #4656 merged: keeps this
branch's caption picker and range properties on top of that PR's
clickable days.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agent-automerge Agent-loop finished; merge-guard may squash-merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant