Repository navigation
refactor: share form jump ids and drop unused palette item fields - #4543
Merged
Merged
Conversation
Co-authored-by: tyler <tyler@switchback.tech>
tyler-dane
marked this pull request as ready for review
October 18, 2026 01:22
tyler-dane
enabled auto-merge
October 18, 2026 01:22
Contributor
|
Boot bundle: 509.5 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
Nightly cleanup of merges after #4522, focused on #4540/#4541 (event form date/time), #4531 (command palette), #4523 (local recurring expansion), #4527 (recurrence end dates), and #4529 (offline calendar retention).
Date and time fields share
resolveFormControlJumpIds. TimePicker reaches the portaled menu through one combobox lookup. DeadopenMenuOnFocusprops on TimePickers are gone (TimePicker already forces the menu on focus). Date-field CSS targets the classed input only.Command palette items drop unused
sectionId/sectionHeadingcopies of the section. Overlay query changes schedule search and scroll in one observer. RecurrenceRule loses the unusedserialize()alias ofsummary(). Recurrence until dates callRecurrenceRuleLine.inclusiveEndDatedirectly. Local occurrence stamps reuseLocalOccurrenceKey. EventsStore shares one local-record builder. Calendar cache discard reads local-owned ids from one helper.Left alone: AuthStore success paths (trial vs reset-token stay distinct), Welcome Enter vs connect-prompt Enter, first-event celebration, TimePicker commit-draft event, TimePicker/TimePickers shortcut test harness, calendar notice stack (still two views), TimeGrid hit-test passes, ContactsAPI (now used), ShiftHintOverlay, TimePickers start/end menu booleans, NativeGridKeyboardRouter confirmation-dialog key handling, deploy yaml awk readers.
Verify
VERDICT: PASSChecks run:
test:web687/687,type-check,lint,knip,test:a11y65/65,test:e2e251/251.CI-only:
test:macos/test:macos:packages(no Xcode on this machine).Note
Low Risk
Refactors and API trims across web and macOS with tests passing; no auth, billing, or server contract changes.
Overview
Cross-platform cleanup after recent event-form and palette work: mostly deduplication and dead-code removal with no intended behavior changes.
Web event form: Date and time controls now share
resolveFormControlJumpIdsinform.utilso Mod+number field jumps use the visible wrapper id (not react-select’s tiny hidden input).TimePickercentralizes combobox lookup for portaled menus; redundantopenMenuOnFocuson start/end pickers is removed. Date-field CSS scopes chrome to.c-event-form-date-field__inputonly.macOS command palette:
CommandPaletteItemdrops redundantsectionId/sectionHeading(sections already own headings). Palette query changes schedule event search and scroll in oneonChangeon the results list.macOS data/recurrence: Local recurring expansion stamps dates via
LocalOccurrenceKeywith cached ISO8601 formatters. Calendar cache retention usescalendarIdsOwnedByLocalEvents();EventsStoreshares alocalRecordbuilder. Native recurrence form callsRecurrenceRuleLine.inclusiveEndDatedirectly; unusedRecurrenceRule.serialize()is removed.Reviewed by Cursor Bugbot for commit 2440595. Bugbot is set up for automated code reviews on this repo. Configure here.