feat(webui): render Mermaid diagrams with Pele (#6302)
* feat(webui): render Mermaid diagrams with Pele * fix(webui): reserve diagram replacement capacity * fix(webui): prebundle lazy diagram worker dependencies * fix(webui): account diagram capacity by encoded size * fix(webui): use shared hover hints for diagram actions * docs(webui): focus diagram guide on usage
This commit is contained in:
1 parent
0f3b47bc3a
commit
f57018aa7f
40 files changed
+2335
-1458
No files matched your search
@@ -2410,6 +2410,25 @@
|
||||
"dismiss": "Dismiss",
|
||||
"continue": "Continue"
|
||||
},
|
||||
"diagram": {
|
||||
"graph": "Diagram",
|
||||
"source": "Source",
|
||||
"copy": "Copy source",
|
||||
"enlarge": "Enlarge diagram",
|
||||
"title": "Mermaid diagram",
|
||||
"preparing": "Preparing diagram…",
|
||||
"errors": {
|
||||
"syntax": "Check the diagram syntax in the source.",
|
||||
"unsupported": "This diagram type is not supported. View the source.",
|
||||
"policy": "This diagram uses unsupported styling or resources. View the source.",
|
||||
"limit": "This diagram exceeds the rendering limit. View the source.",
|
||||
"load": "Couldn't load the diagram renderer. Try again.",
|
||||
"deadline": "The diagram took too long to render. Simplify the source or try again.",
|
||||
"worker": "Couldn't render the diagram. Try again.",
|
||||
"image": "Couldn't display the diagram. Try again.",
|
||||
"capability": "Diagram rendering is unavailable in this browser. View the source."
|
||||
}
|
||||
},
|
||||
"lightbox": {
|
||||
"viewAll": "View all {{count}} images",
|
||||
"zoomIn": "Zoom in",
|
||||
|
||||
Reference in new issue
Block a user