Repository navigation
fix(native): align minimap tooltip timing and dismissal - #177
Merged
Merged
Conversation
rynfar
force-pushed
the
nw/70-minimap-motion
branch
from
November 3, 2026 22:04
fc869bd to
0c38744
Compare
rynfar
force-pushed
the
nw/70-minimap-motion
branch
from
November 3, 2026 22:58
cf034c0 to
949faa8
Compare
Open
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.
Minimap navigation labels can remain visible after a press, and pending hover opens can survive scrolling. This slice of #70 ports their timing and dismissal state into core while keeping TV-MINIMAP partial.
The port follows
TimelineMinimap.tsx,ui/tooltip.tsx, and the installed Base UI 1.9.0 hover/focus/dismiss and delay-group rules:Focus is sampled from the window using GPUI's keyboard modality, so opening does not depend on focus-event delivery. Repeated samples preserve dismissal. A reference press latches its acquired focus before dismissing. Both navigation focus states are synchronized before painting either tooltip.
Shared tooltip primitives and their existing callers are unchanged. Snapshot-only
--gesture-wait,--pause, and held--pressmake short interaction sequences reviewable with--motion-frames.Remaining gaps in #70: smooth jumps through unmeasured rows; one selection spanning both preview paragraphs; arbitration with tooltips elsewhere in the app; dismissal on actual scrolling of descendant scrollers (the transcript list offset is observed, but GPUI has no DOM-like captured scroll event); the safe-polygon trigger-to-popup corridor; exact popup slide/scale transitions. The pinned GPUI exposes no subtree scale transform. Corridor behavior is deliberately left for follow-up.
Validation: failing-first core regressions for cold/warm rest, focused re-arming, pending-only Escape and instant transitions; a failing-first GPUI boundary-wheel regression; GPUI keyboard/pointer focus, held Left/Right/Middle press/capture wiring, retained-hover blur blocking, independent close fades, overlapping transitions, reduced-motion cleanup and actual list-offset observer checks. Native workspace Clippy with warnings denied, all 1,239 workspace tests, snapshot build, theme/parity/conformance checks, and
vp run check:changed fork/nativepass. Rebased onto nativea0a68b0f52, which includes the SSH fixture fix in #181.Local evidence (factory policy: no uploads), using the copied smoke home and existing thread on 14658:
/private/tmp/native-factory-2f5f764a/evidence-70-motion/.--motion-framessequences:/private/tmp/native-factory-2f5f764a/evidence-70-motion/review1/.review1/tooltip-review.mp4(four one-second frame sequences at 8 fps; core tests assert the timing). Left/right: before/after focus, before/after press, rest/grace, hover close/Escape.review1/after-focus/00.png,review1/after-held-press/00.pngand07.png, andreview1/after-escape/00.png.review1/warmup/,review1/grace/,review1/hover-close/, andreview1/focused-rearm/.review1/after-scroll.png,review1/focused-scroll.png, andreview1/selection-gap.png.boundary-wheel.pngrecords wheel input without a scroll offset change.blur-and-right.mp4:/private/tmp/native-factory-2f5f764a/evidence-70-motion/review2/. Left/right video columns are before/after; the first second shows blur with retained hover, the second shows Right press.after-blur-reentry.pngshows a new entry opening again.review2/clippy.log,tests.log,build.log,theme.log,parity.log,conformance.log,check-changed.log,failing-first.log, andnonleft-failing-first.log. Middle held press is verified through the GPUI harness.cross-trigger.mp4:/private/tmp/native-factory-2f5f764a/evidence-70-motion/review3/. Left is before, right is after: focus Previous, hover/leave Next, Tab to the rail, then re-enter Next during its close fade.review3/(clippy.log,tests.log,build.log,theme.log,parity.log,conformance.log,check-changed.log, andfailing-first-audit.log).review1/core-reviewed-failures.logandreview1/wheel-failing-first.log, andreview1/press-order-failing-first.log.The prior idle comparison recorded 12 minimap and 12 transcript renders in both this branch and unchanged
d7026d2e09; existing owner notifications prevent a whole-window zero-idle measurement. The preceding head’s settled capture records 20 row-owner notifications, 20 minimap renders and 20 transcript renders (review1/settled-counts.json), with no extra minimap-only redraws. Repeated offscreen readback sometimes omits cached transcript glyphs on both builds; minimap labels remain readable.Unverified: OS reduced motion in a real window, clipboard writes, new streaming turns, actual embedded MCP resize/close, and the nonpersistent side-chat gutter. No turns were sent. No server, contract, provider, web/mobile, or shared tooltip primitive changes.
Built with GPT-6.1 Sol in Codex