Skip to content

fix(web): land bare typed times on the likely half of the day - #5440

Merged
tyler-dane merged 1 commit into
mainfrom
claude/admiring-brown-zoc5ds
Dec 5, 2026
Merged

tyler-dane merged 1 commit into
mainfrom
claude/admiring-brown-zoc5ds

Conversation

@tyler-dane

Copy link
Copy Markdown
Contributor

What and why

Typing a time on a focused day should land a draft where people mean it, from the keyboard alone.

  • Bare hours 1 to 6 now read as afternoon: 245 is 2:45 PM, 2 is 2 PM. 7 to 11 stay morning, 12 is noon, 13 to 23 are 24-hour. 245a, 245p, or a leading zero (0245) still force the half.
  • On a jump-selected day (f with hints f1..f6), typing 245 used to step focus across events f2, f4, f5 and never create anything. Now a second digit that indexes no event is treated as a time and commits after a short pause (or Enter, or a/p). A single digit still picks an event, as before.

Verify

VERDICT: PASS from bun run verify --strict (test:web, type-check, lint, knip, test:a11y, test:e2e). New regression tests cover the AM/PM rule and f then 245 on a day with events.


Generated by Claude Code

Bare hours 1 to 6 now read as afternoon (245 is 2:45 PM); a, p, or a
leading zero still force the half. On a jump-selected day, a second
digit that indexes no event is a time and commits after a pause
instead of focusing events one digit at a time.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HmwVQF2vWJB2bw9vv27LeP
@tyler-dane
tyler-dane enabled auto-merge December 5, 2026 14:56
@github-actions

github-actions Bot commented Dec 5, 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 5, 2026
Merged via the queue into main with commit b63100f Dec 5, 2026
23 checks passed
@tyler-dane
tyler-dane deleted the claude/admiring-brown-zoc5ds branch December 5, 2026 15:11
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