Repository navigation
fix(grid): visible start/end focus on default-color event cards - #5192
Merged
Merged
Conversation
Start/end edge focus, sidebar-editing rings, and macOS card chrome now pick a calendar color only when it meets a 3:1 contrast floor on the fill; otherwise they reuse the same contrast token as title/time text. Native cards render edge focus bars and wire focusStore.edge through TimeGridState. Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Contributor
|
Boot bundle: 574.2 KB gzip (+0.0 KB vs main) |
Move EventEdge into CompassKit so TimeGridState does not reference CompassData types. Share GridEventFocusChrome with web parity math, named focus layers, and paper gutter on edge bars. Strengthen CompassKit and CompassUI tests for default fill, dark theme, slots, drafts, and endDate focus. 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>
github-merge-queue
Bot
removed this pull request from the merge queue due to no response for status checks
Nov 9, 2026
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
Nov 9, 2026
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.
Summary
Event focus chrome (sidebar editing ring, Tab edge focus) now derives indicator color from card fill, not page paper, matching web
resolveEventFocusIndicatorColor.macOS layering:
EventEdgelives in CompassKit (Calendar/EventEdge.swift).TimeGridState.focusedEdgeno longer references CompassData types.macOS chrome:
GridEventFocusChromeshares contrast math with web;EventCardViewuses named layers (compass-event-focus-ring,compass-event-edge-focus,compass-event-edge-gutter) and a 1px paper gutter on edge bars.Tests: Kit tests pin
#616161on#454442; UI tests coverstartDate/endDate, darkAbyss, drafts, provider hex, and named layers (not sublayer heuristics).bun run verify --strict: VERDICT: PASSHEAD:
d747d992ce6e678fb4c56e6209147f84da26c153— required checks terminal green at this SHA.Fixes #5191