Render the build graph with the Fallout graph control instead of Mermaid#30
Draft
ChrisonSimtian wants to merge 1 commit into
Draft
Render the build graph with the Fallout graph control instead of Mermaid#30ChrisonSimtian wants to merge 1 commit into
ChrisonSimtian wants to merge 1 commit into
Conversation
Swaps the webview's Mermaid renderer for @fallout/graph-control (PR Fallout-build#526) — the Fallout-branded, GitHub-Actions-style graph. The panel now posts the raw BuildGraph to FalloutGraph.mount instead of a Mermaid string; re-posting on a file change reconciles in place, so the live refresh is unchanged. - graphPanel loads the control's self-contained IIFE from media/, vendored at build time by scripts/copy-control.mjs (which builds the sibling graph-control package) — the same pattern that vendored mermaid.min.js. - Drops the mermaid dependency and toMermaid(); the control owns layout now. - CSP keeps style-src 'unsafe-inline' for the control's runtime <style> injection. Depends on Fallout-build#526 (the graph-control package). The vendored bundle is gitignored; `npm run compile` rebuilds and copies it. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.
Stacked on
feature/vscode-extension-poc; depends on Fallout-build#526 (the@fallout/graph-controlpackage). Diff here is the one swap commit.Replaces the webview's Mermaid renderer with the Fallout-branded graph control.
graphPanelposts the rawBuildGraphtoFalloutGraph.mountinstead of a Mermaid string; re-posting on a file change reconciles in place, so the live refresh is unchanged.media/at build time byscripts/copy-control.mjs(builds the siblinggraph-controlpackage) — same pattern that vendoredmermaid.min.js. Bundle is gitignored.mermaiddependency andtoMermaid(); the control owns layout.style-src 'unsafe-inline'for the control's runtime<style>injection.Verified: extension type-checks clean; the message-driven mount path renders end-to-end in a webview simulation (all edge types, unlisted/default styling, null descriptions, live-status-ready).
Once the extension track and Fallout-build#526 land on core, this re-targets
main.