Skip to content

Fix #30: node type change updates the card in graph view#73

Merged
mvalancy merged 1 commit into
developfrom
fix/issue-30-node-type-update
Jun 16, 2026
Merged

Fix #30: node type change updates the card in graph view#73
mvalancy merged 1 commit into
developfrom
fix/issue-30-node-type-update

Conversation

@mvalancy

Copy link
Copy Markdown
Member

Closes #30.

Bug: changing a node's type (e.g. from the dashboard/editor) updated the
type badge text in the graph but left the card's type-derived color, border
and icon
stale.

Root cause: a type change keeps node count + edge signature the same, so the
reinit gatekeeper ran the selective updateVisualizationData() path — which
refreshes title/badge/description text but not the type visuals.

Fix: add a per-node id:type signature to the gatekeeper (mirroring the
existing edge type/flip signature). When it changes, force a full reinit so the
card re-renders with the new type's color/border/icon.

Verification note: validated by root-cause analysis; the local dev box is at load
~27 (shared LLM services), so CI's clean runners are authoritative here.

…order/icon)

Changing a node's type elsewhere (dashboard/editor) updated the badge text in the
graph but not the type-derived card color/border/icon — the selective update path
(updateVisualizationData) refreshes text but not type visuals, and the reinit
gatekeeper only watched edge signatures + node COUNT (a type change keeps count
the same). Add a per-node id+type signature: when it changes, force a full
reinitialization (same approach already used for edge type/flip), so the card
re-renders with the new type's color, border and icon.

Fixes #30.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

🧪 Comprehensive Test Suite

  • Unit suites (Node 18.x & 20.x) — core, web, server, mcp-server: ✅ passed
  • Installer & deploy config: ✅ passed

Full-stack smoke gate runs in the CI workflow.

@mvalancy mvalancy merged commit 0cd009e into develop Jun 16, 2026
16 checks passed
@mvalancy mvalancy deleted the fix/issue-30-node-type-update branch June 16, 2026 04:35
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