Repository navigation
fix(web): land bare typed times on the likely half of the day - #5440
Merged
Merged
Conversation
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
enabled auto-merge
December 5, 2026 14:56
Contributor
|
Boot bundle: 608.7 KB gzip (+0.0 KB vs main) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What and why
Typing a time on a focused day should land a draft where people mean it, from the keyboard alone.
245is 2:45 PM,2is 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.fwith hints f1..f6), typing245used 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, ora/p). A single digit still picks an event, as before.Verify
VERDICT: PASSfrombun run verify --strict(test:web, type-check, lint, knip, test:a11y, test:e2e). New regression tests cover the AM/PM rule andfthen245on a day with events.Generated by Claude Code