Skip to content

feat(inference-ui): inferred-relationships suggestions panel#445

Open
seonghobae wants to merge 1 commit into
feat/relationship-inferencefrom
feat/relationship-inference-ui
Open

feat(inference-ui): inferred-relationships suggestions panel#445
seonghobae wants to merge 1 commit into
feat/relationship-inferencefrom
feat/relationship-inference-ui

Conversation

@seonghobae

Copy link
Copy Markdown
Collaborator

Stacked on feat/relationship-inference (PR #444). Frontend for the inference feature.

Surfaces detected relationships

Read-only modal (toolbar 🔗) listing GET /api/snapshots/{uuid}/inferred-relationships: child.column → parent.column with a high/medium confidence badge and the reason as a tooltip. This makes the reverse-engineering value visible in the product ("here are the FKs your DB never declared").

Deliberately read-only: adding a suggestion as a dashed edge on the canvas needs node-id mapping I'll verify in a follow-up rather than guess.

Verification

tsc --noEmit clean, frontend vitest 24 files / 140 tests (+4 RTL).

🤖 Generated with Claude Code

Read-only modal surfacing GET /inferred-relationships: child.col -> parent.col with high/medium confidence badge and reason tooltip. Toolbar '🔗' button (enabled with a snapshot); api fetchInferredRelationships + demo. tsc clean, frontend 24 files / 140 tests (+4 RTL). Add-to-canvas (dashed edge) is a deliberate follow-up.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AxU2xaupAjp912oDNFuWyd
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