Repository navigation
fix(macos): wire description link digit hints and caret open regression - #5181
Merged
Merged
Conversation
Restore link digit overlay when the description field blurs, route bare 1…9 to document-order hrefs while hints are visible, and add unit tests for caret Mod+Shift+Enter parity and hint activation. Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Expose DescriptionLinkKeyboard for Compass app routing, run bare 1-9 only after color and Mod+digit handlers and block title or other text fields. Add CompassNativeTests router cases with injectable openURL. Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
DescriptionTextView.findInKeyWindow and link digit hints require the compass-event-form-description identifier. Unit and router tests construct DescriptionEditorContainerView without SwiftUI makeNSView. Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
XCTest on CI does not make ad-hoc NSWindows key without activation and a short run-loop pump. Shared fixture keeps linkDigitHintsActiveInKeyWindow assertions and router positive path intact. Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
XCTest hosts on CI keep NSApp.keyWindow nil unless the window is explicitly keyable and the app is finishLaunched. Resolve description editors from isKeyWindow roots; use KeyableDescriptionHintTestWindow in fixtures without dropping activation assertions. Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Drop speculative isKeyWindow content-root fallback that disagreed with router NSApp.keyWindow guards. Fix compile error; fixture pumps until NSApp.keyWindow matches the keyable test window. Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Satisfies Swift 6 concurrency on configuredApplication while keeping strict NSApp.keyWindow fixture assertions for router proof. Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
…ctest When the XCTest bundle host keeps NSApp.keyWindow nil, tests may set a lookup window only after the editor and hint overlay are hosted there, matching the CommandPalette hostWindow pattern without weakening router focus guards. Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Avoid layout reentrancy when the XCTest host never keys the fixture window. Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Skip rebuilding keycap subviews when link count is unchanged so AppKit does not recurse layout on the fixture host window. Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Use orderedLinkAttributeEntries for chip layout and slot sync, and invalidate overlay layout when geometry changes so numbering matches keyboard destinations after reflow. Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
… test Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
…tests Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Include link ranges and glyph count in layout cache, invalidate on slot sync, and test reflow/prefix edits without toggling hint visibility. Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Notify the text layout manager when the editor scroll width changes and tighten the reflow test with diagnostic snapshots and wrap-forcing widths. Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
This was referenced Nov 9, 2026
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.
CI exact head (
c7f8ee811)VERDICT: macOS workflow green (34 checks, run 42432934921):
swift-packages,macos-build, and UI shards passed.Overlay reflow fix:
textContainerChangedGeometryon editor width change; reflow test uses wrap-forcing widths + diagnostic snapshot.Ready for independent review. Do not merge until review sign-off (per parent bar).