Skip to content

fix(macos): match web's Life quote and date of birth format - #4658

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

tyler-dane merged 1 commit into
mainfrom
fix/macos-life-parity

Conversation

@tyler-dane

Copy link
Copy Markdown
Contributor

Refs #4215

What and why

Two differences in the macOS Life sidebar versus web LifeSidebarContent and LifeQuote:

  • Quote. macOS always showed the Franklin line. Web shows one random quote from its 50-quote list (LIFE_QUOTES). LifeQuotes mirrors that list (generated from life-quotes.ts, not retyped) and the sidebar picks one per visit.
  • Date of birth. Web's picker displays MMM d, yyyy. The field now reads "Jun 10, 2026", and typing accepts that (comma optional, month case-insensitive) or yyyy-mm-dd. The stored value stays yyyy-mm-dd, and the 1900-through-today validation is unchanged. Invalid input such as "Feb 31, 2026" shows the existing error.

Not included: web's calendar popup with a year picker for the date of birth. That is a larger piece of work.

Verify

CompassKit has three new tests: the quote list matches web (50, each attributed), display formatting, and typed parsing of both formats. CompassUI builds. The existing Life snapshot UI test, which types dates into this field, still passes.

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 Life sidebar shows one random quote from web's 50 quotes (it was
always the Franklin line), and the date of birth reads Jun 10, 2026
like web's picker. Typing accepts that or yyyy-mm-dd.

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:11
@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:11
@tyler-dane
tyler-dane added this pull request to the merge queue Oct 21, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to no response for status checks Oct 21, 2026
@tyler-dane
tyler-dane added this pull request to the merge queue Oct 21, 2026
Merged via the queue into main with commit 34030e9 Oct 21, 2026
29 of 30 checks passed
@tyler-dane
tyler-dane deleted the fix/macos-life-parity branch October 21, 2026 03:32
tyler-dane added a commit that referenced this pull request Oct 21, 2026
…cker

Resolves conflicts after #4658 merged: keeps the date of birth picker
state and the stored(from:) helper on top of that PR's date format.

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