Repository navigation
Render Mermaid diagrams in Markdown containers (1.7.5) - #183
Merged
Merged
Conversation
Bump the version to 1.7.5 and describe Mermaid diagrams in the changelog, README, site guide, FAQ, privacy page, and internal docs, without the prototype wording. Rename the design doc to docs/mermaid.md and record the WebView2 dependency as decision 34. Check for the WebView2 Runtime before starting the diagram browser, so a PC without it gets a message that names the runtime and points to the FAQ. The winget workflow now adds Microsoft.EdgeWebView2Runtime as a package dependency to every submission. Fix the catalogue test that compared PowerPoint notes against a first line ending in a carriage return, and keep the pictures when the exact export comparison fails. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The test pointed WEBVIEW2_BROWSER_EXECUTABLE_FOLDER at an empty folder, which the GitHub runner did not treat as a missing runtime, so the renderer found the installed runtime and failed with the generic message. The renderer now takes an optional runtime check, and the test passes one that reports none. Co-Authored-By: Claude Opus 5.5 <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.
Summary
Render fenced Mermaid diagrams inside Markdown containers, so an explanation copied from a chat keeps its diagrams and can be annotated on the board. This releases the feature as 1.7.5.
Microsoft.EdgeWebView2Runtimeas a package dependency to every winget submission. The workflow now runswingetcreate update --out, thenscripts/winget-dependencies.ps1, thenwingetcreate submit, becauseupdatecannot add a dependency.Release and documentation
VersionPrefixis 1.7.5, with a single changelog entry.%LOCALAPPDATA%\SQLBI\Whiteboard\Mermaid.docs/mermaid-prototype.mdbecomesdocs/mermaid.md, and the basic sample becomesdocs/samples/mermaid-diagrams.md.Validation
SQLBI_WHITEBOARD_MERMAID_BROWSER=1: all 32 families, C4 and railroad variants, label bounds and styles, cache reuse, invalid-syntax recovery, safe shutdown, offline restoration, and PowerPoint/PDF exports.scripts/release-notes.ps1 -Version 1.7.5.wingetcreate update --outwithout a token, the dependency script twice, thenwinget validate --manifest.The catalogue test compared PowerPoint notes against a first line that still ended in a carriage return, so the XY chart, Sankey, and event modeling export checks always failed. That is fixed. Fixing it exposed one failure of the exact-pixel comparison for the Sankey editable deck, which did not recur in about 100 repeats, including with forced garbage collection. The check now keeps both pictures and reports the difference if it fails again.
Limits
🤖 Generated with Claude Code