Mermaid reference plugin #78
Labels
No Label
area:auth
area:docs
area:export
area:ops
area:storage
area:supply-chain
auth
backend
blocked
collab
deployment
docs
effort:L
effort:M
effort:S
frontend
plugins
qa
vs-nfd
vs-nfd:blocker
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: stwaidele/dorfteich#78
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
The end-to-end proof of the code-block path: source-edited diagrams rendered safely in the sandbox.
Scope
Build
packages/plugins/mermaid: block plugin bundling the mermaid library inside the sandbox (no network), edit mode with source textarea + live preview + error display, render mode producing the SVG, block data = source text, export fallback = rendered SVG snapshot stored in block data on save (used by PDF/Word export).Acceptance criteria
Technical notes
Dependencies
Depends on #76.
Size: ~1 day
Conventions: English code/comments, clear human-readable code, no hard-coded UI strings (ADR 0012, add
deanden), permission checks only via the shared guard (docs/architecture/permissions.md). Read the referenced ADRs before starting.Umgesetzt in
ef1c31d(CI grün, inkl. neuem mermaid-e2e-Pack).Akzeptanzkriterien:
{source, svg}, bei jedem erfolgreichen Preview persistiert) — PDF/Word-Verdrahtung folgt in #79Falle dokumentiert:
mermaid.renderlässt sein Scratch-Element und bei Parse-Fehlern ein eigenes Error-SVG indocument.bodyzurück — das Plugin räumt beide imfinallyab, sonst erscheinen Geister-SVGs in der Oberfläche.