Skip to content

feat(web): ask for a birth date in the life view intro - #5391

Merged
tyler-dane merged 2 commits into
mainfrom
claude/awesome-johnson-4dc5ko
Nov 29, 2026
Merged

tyler-dane merged 2 commits into
mainfrom
claude/awesome-johnson-4dc5ko

Conversation

@tyler-dane

Copy link
Copy Markdown
Contributor

Fixes #

What and why

Life view polish from user feedback. The grid never shows without a birth date now.

  • Birth date in the intro dialog. When no birth date is saved, the intro dialog asks for one: type a date and press Enter, or Tab to "Use a random birth date". Escape without a date returns to the calendar instead of leaving an empty grid. The "Set birth date to explore weeks" link and the sidebar's clear (x) button are removed.
  • Dialog backdrop and copy. The backdrop is lighter and unblurred so the grid of dots shows through. New copy: "Your life as a grid of weeks. Each dot represents one week of your life, and each row represents one year. Seeing your time in one place may help you decide what to spend it on."
  • Open week on every week. Weeks older than synced history now show Open week too. Previously only recent weeks did. The button's tooltip shows its Enter shortcut.
  • Alt+Arrow scrolls week events, as on the calendar grid. The shortcut is in the ? legend and in the status bar hints.
  • Sidebar. Removed the years from the summary ("1,732 weeks lived - 42%") and the "This is your life if you live to X / Each dot..." description. The summary is no longer bold. The quote is a card in the same style as the week sidebar notices, with the author in lighter, regular-weight text. Added top padding so the variation arrows' focus ring isn't clipped.
  • Pirate quote tooltip in the intro dialog uses regular weight instead of bold.

Verify

bun run verify: VERDICT: FAIL. Checks run: test:core, test:web, type-check, lint, knip, test:a11y, test:e2e.

The verdict listed 5 NEW failures. Four came from Life e2e specs that visited /life without a birth date; those specs are updated in this PR and pass locally. The fifth is week sidebar fits a 360px viewport: it fails locally on origin/main code too, so it is pre-existing. test:core failed on packages/core/src/server/http-server.test.ts (does not reject a request that exceeds maxHeadersCount), a file this PR does not touch.

PRE-EXISTING (also fails on origin/main locally):

  • test:a11y: [chromium-desktop] › e2e/accessibility/narrow-sidebar-layout.spec.ts › week sidebar fits a 360px viewport without horizontal overflow
  • test:core: packages/core/src/server/http-server.test.ts › configureHttpServer › does not reject a request that exceeds maxHeadersCount (file untouched by this PR)

FLAKY, passed on rerun (2):

  • test:e2e: [chromium-desktop] › e2e/accessibility/narrow-sidebar-layout.spec.ts › week sidebar fits a 360px viewport without horizontal overflow
  • test:e2e: [chromium-desktop] › e2e/accessibility/ui-focus-u-i.spec.ts › u returns focus from the month picker to the grid

Generated by Claude Code

The Life view never shows an empty grid now. New users enter a birth date,
or pick a random one, in the intro dialog, which also lets the grid show
through behind it. Every week can open in the calendar, the Open week
button shows its Enter shortcut, and Alt+Arrow scrolls the week events.
The sidebar drops the age, the long description, and the clear button,
and shows quotes as a card.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HmwVQGzrYJJnjajkVih2DN
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HmwVQGzrYJJnjajkVih2DN
@tyler-dane
tyler-dane enabled auto-merge November 29, 2026 17:45
@github-actions

Copy link
Copy Markdown
Contributor

Boot bundle: 605.6 KB gzip (+0.0 KB vs main)

@tyler-dane
tyler-dane added this pull request to the merge queue Nov 29, 2026
Merged via the queue into main with commit adeb776 Nov 29, 2026
23 checks passed
@tyler-dane
tyler-dane deleted the claude/awesome-johnson-4dc5ko branch November 29, 2026 18:00

Copy link
Copy Markdown
Contributor Author

Deployed to production.


Generated by Claude Code

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