Add Mermaid diagrams, telemetry, trace, and artifact registry refinements to enterprise showcase#70
Merged
ProfRandom92 merged 1 commit intoMay 13, 2026
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
✅ Deploy Preview for comptext-v7 ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Contributor
There was a problem hiding this comment.
Code Review
This pull request integrates the mermaid library into the showcase application to render visual diagrams for the deterministic replay pipeline and CI validation flows. It also expands the dashboard with additional KPIs, detailed artifact registry metadata, and a guided reviewer walkthrough. Feedback was provided regarding the MermaidDiagram component, specifically suggesting that mermaid.initialize be moved outside the useEffect hook or guarded to prevent inefficient re-initialization on every render.
Comment on lines
+196
to
+212
| import('mermaid').then(({ default: mermaid }) => { | ||
| mermaid.initialize({ | ||
| startOnLoad: false, | ||
| securityLevel: 'strict', | ||
| theme: 'dark', | ||
| themeVariables: { | ||
| background: '#080d14', | ||
| primaryColor: '#0f1724', | ||
| primaryTextColor: '#e5edf7', | ||
| primaryBorderColor: '#3b82f6', | ||
| lineColor: '#60a5fa', | ||
| secondaryColor: '#111827', | ||
| tertiaryColor: '#0b1220', | ||
| fontFamily: 'Inter, ui-sans-serif, system-ui, sans-serif' | ||
| } | ||
| }); | ||
| return mermaid.render(`diagram-${id}`, chart); |
Contributor
There was a problem hiding this comment.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
Description
MermaidDiagramrenderer that keeps the source visible for reviewer inspection (showcase/app/src/main.tsx).showcase/app/src/main.tsx).showcase/app/src/main.tsx).showcase/app/src/main.tsx).mermaidruntime dependency and updated styles to include Mermaid panels, responsive grids, trace-tree styles, denser tables, and walkthrough index markers (showcase/app/package.json,showcase/app/package-lock.json,showcase/app/src/styles.css).Testing
npm run validatewhich passed the showcase copy/content validation.npm run buildwhich completed successfully; Vite emitted a large-chunk advisory because Mermaid’s runtime bundle is sizable (informational only).playwright, so browser capture did not run; the dev server itself started successfully during verification.Codex Task