feat(viewer): Split hover preview from selected details#42
Merged
Conversation
Hover interactions now use a lightweight popover and subtle 1-hop preview, while click promotes a node into fixed selection and opens the detail drawer. The viewer keeps selected state authoritative so hover preview is fully suppressed until the selection is cleared. Update the embedded HTML/CSS and TypeScript highlight flow, regenerate the committed viewer bundle, refresh the fixture render audit snapshots, and document the new hover-versus-selected behavior in the renderer architecture notes.
Code Metrics Report
Details | | main (cebe8c4) | #42 (e53c85f) | +/- |
|---------------------|----------------|---------------|-------|
+ | Coverage | 93.7% | 93.7% | +0.0% |
| Files | 71 | 71 | 0 |
| Lines | 28584 | 28751 | +167 |
+ | Covered | 26789 | 26956 | +167 |
+ | Test Execution Time | 1m36s | 1m32s | -4s |Code coverage of files in pull request scope (99.9% → 99.9%)
Reported by octocov |
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
(kind, name, column/edge counts, issue badges) on hover
directional inbound/outbound styling
renderInteractionloop that coordinates hover preview andselected state without conflicts
Changes
metrics, and severity-colored issue badges
hover-inbound/hover-outboundvariants, distinct from the stronger selection highlight
hoveredNodetoHighlightState, split neighborhoodcomputation, unify rendering via
setSelectedNode+renderInteraction, and clear hover onviewport/filter/state changes