Repository navigation
Life: truthful year captions, variation chip anchor, hint evidence - #5179
Closed
tyler-dane wants to merge 49 commits into
Closed
tyler-dane wants to merge 49 commits into
tyler-dane wants to merge 49 commits into
Conversation
Add data-page-jump-chip anchors so hold-Mod hints sit next to Life controls. Expand shared caption picker year grid layout and affordance. Bump macOS year pages to 20 years with four columns for parity. Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Contributor
|
Boot bundle: 572.8 KB gzip (+0.0 KB vs main) |
Track react-datepicker year page end in state so Previous/Next years updates the range label, add caption-picker-year-page helpers, refresh Life mod-hint and datepicker artifact spec (dismiss intro, paging checks), and align macOS caption chrome plus year grid density. Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Replace mode-only edge focus status text with keycap hints for Shift+arrow nudges and Tab edge cycling; store all-day context for correct arrows. Add native EdgeFocusStatusLine and EdgeFocusHint parity, plus artifact e2e. Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Match react-datepicker twenty-year pages in captions and tests, anchor Mod+3 chips on the variation arrow cluster, and add native focus-hint regressions plus refreshed Playwright evidence. Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Import CompassKit in EdgeFocusHintTests, snap react year pages in SidebarMonthPicker navigation, and harden Life birth date UI walks. Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
…test Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Use outside-trailing chip placement on the arrow cluster, reserve gutter space before the title, assert non-overlap in Playwright, and restore macOS caption plus birth-field focus after picker dismiss. Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Route Shift+arrows through shared schedule nudge math for saved grid events and edge-focused drafts so sidebar hints match behavior. Add CompassKit edge nudge helpers and keyboard-router regression tests. Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Stop optional binding on non-optional draft.schedule. Pass pre-nudge event into replaceEvent so optimistic loadedEvents does not clear schedule on replace. Serialize async nudge persists and expand handler persistence tests. Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Unsigned fixtures upsert calendars before start(); switching EventsStore to .local must call reloadCalendars so writable metadata is on the model before shift nudge persistence runs. Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Capture the predecessor task before assigning focusedEventNudgePersistTask so rapid shift nudges chain replace calls instead of self-awaiting. Bound the test wait helper and add remote replace, undo-during-write, Life suppression, and router all-day coverage. Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Capture predecessor before assigning persist tasks; invalidate queued nudges on undo via serial/cancel. Validate undo against loadedEvents first so optimistic nudges are not compared to stale repository rows. Poll with a deadline in the test waiter instead of task-group join. Fix XCTest await autoclosure usage in tests and add router text-view suppression coverage. Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Replace cancel/serial undo invalidation with waiting for the focused nudge persist task and in-flight event mutations so inverse replaces run after the prior server round-trip. Scope loadedEvents consistency to pending nudge only; settled edits still compare against the repository. Repair remote hold test to gate only the first PUT, release while undo waits, then assert cache schedule and final replace payload. Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Skip the week-grid NSTextView guard while the event form is open so Cmd+Enter and other form shortcuts still route through handleEventFormKeys. Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
…tests Hard-ignore shift arrows in the event form, route focused saved nudges without shortcut dispatch fallthrough, and exercise the router through NSEvent like production. Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Treat NSEvent shift+arrow key codes as shift-edge nudges even when KeyEvent normalization omits modifiers, and ignore shift arrows while the event form is open. Align router test fixture ids with CompassData. Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Route shift+arrow only through nudge paths; do not fall back to placeTimedDraft on shift arrows or let legacy edit-move bindings return handled when nudge does not run. Revert speculative hardware shift detection. Pin welcome shortcuts e2e clock for October heading. Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
When a focused saved-event edge nudge fails, return false for read-only events instead of falling through to keyboard placement. Restore handleDraftKeys placement for unfocused shift+arrow. Remove redundant pre-dispatch guard. Add router placement regression test. Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Return false from welcome key handling unless a welcome action ran so grid shift-arrow routing reaches nudge and placement paths. Dismiss welcome in router integration fixtures and align draft creation guards with main. Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
markWelcomeSeen uses shared UserDefaults and was breaking OnboardingSurfaceTests run later in CompassKitTests. Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Day-jump handling claimed every shifted letter before the shortcut dispatcher, so create-allday never ran after the all-day slot teach path. Add grid pointer and router tests for click-then-shift+c. Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Call router.shiftC(), snapshot UserDefaults before markWelcomeSeen, restore welcomeExit on teardown, and assert local save after click then shift+c. Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Use testable CompassData for pointer draft field and try fetchAll with details title matching. Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Align draft placeholder foreground with contrastText on the card fill so Untitled event matches the time label on gray fills. Add web-parity 2500ms pulse auto-hide, @bindable dismiss binding, and hide hints when drafts start. Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Event jump swallowed bare w as Wednesday before nav-week-view ran. Fall through d/w/l like web view shortcuts, clear jump on view change, add NSEvent router regression. Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
This was referenced Nov 9, 2026
Contributor
Author
|
Closing as superseded during the stale-PR review. The web caption/date-picker work shipped in #5228/#5230, edge-focus hints in #5231 (which explicitly references #5179), and page-jump chip regression coverage in #5237. The remaining native changes target apps/calendar-macos, which was archived and removed from this repository (#5283). Merging this older mixed branch would reintroduce retired native files and conflict with the shipped web implementations. |
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.
Tyler all-day mouse path (6:19 PM MST clarification)
Designed path (same on web + macOS, including
main): empty all-day row click does not open a draft. It parkspointerDraftDateKeyand shows the pointer-hint pill (“Press {0} for an all-day event” →create-allday/ Shift+C). SeeNativeCalendarRootModel+GridPointerClick.swiftand pointer guidance.Reproducible break (shipped router shape):
NativeGridKeyboardRouter.handleNormalizedKeyDownranhandleShiftDayJumpfor everyShift+letterand always returned true beforeShortcutDispatcher, so Shift+C never reachedcreate-allday.Fix candidate:
claimsShiftDayJumpon branch headf2a480eab. Tests:GridPointerAllDayMousePathTests,AllDayMouseCreateKeyboardTests,FocusedEventShiftArrowKeyboardTests.Tyler macOS UI bugs (6:50 PM follow-ups)
1. Draft card text contrast
Root cause: AppKit placeholder for “Untitled event” used secondary label color while time used
contrastText.Fix (
8394b7300):applyReadableText+ placeholder attributed string.Tests:
EventCardDraftContrastTests.2. Pointer-hint toast stuck
Root cause: No 2500ms auto-hide (web
HINT_VISIBLE_MS), non-@BindableDismiss, quick-time commit omittedhide().Fix (
8394b7300): timer,@Bindable, hide on draft paths.Tests:
PointerHintStoreTests, extendedGridPointerAllDayMousePathTests.3. W shortcut stuck in Day view (Tyler 6:51 PM)
Root cause: With event jump mode active,
handleDraftKeysruns before the dispatcher.handleEventJumpKeystroke("w")selected Wednesday and returnedtrue, sonav-week-viewnever ran. Not pointer-hint/toast (those only buffer digits).Web contrast: View shortcuts (
D/W/L) use keyup globally; jump uses keydown.Fix (
584c119c4): Fall throughd/w/l; clear jump on view nav. Wednesday in jump mode: Shift+W.Tests:
NavViewKeyboardJumpModeTests(NSEvent →handleKeyDown, assertsviewStore.view == .week).Shipped vs candidate
f2a480eab8394b7300584c119c4