Skip to content

Model view dialog - #41

Merged
raylrui merged 1 commit into
mainfrom
feat/add-model-schema
Aug 5, 2026
Merged

raylrui merged 1 commit into
mainfrom
feat/add-model-schema

Conversation

@raylrui

@raylrui raylrui commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds a shared ModelViewDialog for previewing backend entity-relationship diagrams directly in the UI, and wires it into the Lab, Cases, Sequence Runs, and Workflow Runs info drawers.

Previously these schemas were only discoverable by finding the right service repo on GitHub. Each domain's info drawer now carries a "Model View" action that opens the current diagram in place, with a link out to the source SVG.

Changes

New component — src/components/modals/ModelViewDialog.tsx

  • Renders the schema SVG via ImageWithFallback, with a header bar (preview summary + "Open source" link) and a footer notice.
  • Two view modes: fit to window (default) and actual size, toggled from the header bar. Zoom resets when the dialog closes.

@raylrui raylrui self-assigned this Aug 5, 2026
@raylrui raylrui added the enhancement New feature or request label Aug 5, 2026
@raylrui
raylrui merged commit 04e81e3 into main Aug 5, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant