Skip to content

Make the insight graph clearer and fix drag interactions - #41

Merged
emilwareus merged 1 commit into
mainfrom
declutter-insights-graph
Sep 5, 2026
Merged

emilwareus merged 1 commit into
mainfrom
declutter-insights-graph

Conversation

@emilwareus

Copy link
Copy Markdown
Owner

The insight graph had overlapping nodes and labels that made its connections hard to read. This change keeps every note on one canvas, with smaller nodes, clear topic spacing, full names beside hovered or focused nodes, and links between topics.

Adds zoom, drag, fit, topic highlighting, a stable note detail panel, mobile note controls, and subtle motion with pause and reduced-motion support. Filters now sit behind a compact control.

Fixes the drag crash caused by queued React updates reading a cleared drag ref. Updates use saved coordinates, track pointer ownership, and stop on release, cancellation, or capture loss.

Validation:

  • 52 Playwright runs pass across Chromium, Firefox, desktop WebKit, and mobile WebKit.
  • Tests cover all note names and graph links, zoom, pointer races, capture loss, competing pointers, keyboard and touch selection, navigation, filters, and reduced motion.
  • The drag regression test reproduced the original originX crash before the fix.
  • Production build, lint, TypeScript, formatting, and whitespace checks pass.

Run the suite with pnpm test:e2e. The suite builds and serves the production app on port 49300. Generated test reports are excluded from version control.

@github-actions

github-actions Bot commented Sep 5, 2026

Copy link
Copy Markdown

🚀 Preview deployed: https://addcommitpush-2qkw4z806-yield-compiler.vercel.app

@emilwareus
emilwareus merged commit 046c6d0 into main Sep 5, 2026
1 check passed
@emilwareus
emilwareus deleted the declutter-insights-graph branch September 5, 2026 15:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant