Skip to content

Graphs that teach > graphs that impress. Turn any code into an interactive knowledge graph you can explore, search, and ask questions about. Works with Claude Code, Codex, Cursor, Copilot, Gemini CLI, and more.

fix(dashboard): suppress TourFitView overlay flicker after fallback

Lum110461356da3dc28
diff --git a/understand-anything-plugin/packages/dashboard/src/components/GraphView.tsx b/understand-anything-plugin/packages/dashboard/src/components/GraphView.tsx
index a4a3989b..891d9971 100644
--- a/understand-anything-plugin/packages/dashboard/src/components/GraphView.tsx
+++ b/understand-anything-plugin/packages/dashboard/src/components/GraphView.tsx
@@ -123,7 +123,11 @@ function TourFitView() {
let frame = 0;
let cancelled = false;
let rafId = 0;
- setTourFitPending(true);
+ // After we've already shown the fallback for this step, suppress the
+ // "Locating tour highlight…" overlay on subsequent re-fires (each
+ // `nodes` change re-enters the effect, but the user has already given
+ // up waiting). The retry still runs silently in case Stage 2 lands.
+ if (fallbackKeyRef.current !== targetKey) setTourFitPending(true);
const tick = () => {
if (cancelled) return;