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:
chengyongru authored and GitHub committed 2026-10-19 17:16:20 +08:00
1 parent 0f3b47bc3a
commit f57018aa7f
40 files changed
+2335 -1458

No files matched your search

+19
View File
@@ -2210,6 +2210,25 @@
"dismiss": "닫기",
"continue": "계속"
},
"diagram": {
"graph": "다이어그램",
"source": "소스",
"copy": "소스 복사",
"enlarge": "다이어그램 확대",
"title": "Mermaid 다이어그램",
"preparing": "다이어그램 준비 중…",
"errors": {
"syntax": "소스의 다이어그램 문법을 확인하세요.",
"unsupported": "지원하지 않는 다이어그램 유형입니다. 소스를 확인하세요.",
"policy": "지원하지 않는 스타일이나 리소스가 있습니다. 소스를 확인하세요.",
"limit": "다이어그램이 렌더링 제한을 초과했습니다. 소스를 확인하세요.",
"load": "다이어그램 렌더러를 불러오지 못했습니다. 다시 시도하세요.",
"deadline": "다이어그램 렌더링 시간이 초과되었습니다. 소스를 단순화하거나 다시 시도하세요.",
"worker": "다이어그램을 렌더링하지 못했습니다. 다시 시도하세요.",
"image": "다이어그램을 표시하지 못했습니다. 다시 시도하세요.",
"capability": "이 브라우저에서는 다이어그램을 렌더링할 수 없습니다. 소스를 확인하세요."
}
},
"lightbox": {
"viewAll": "이미지 {{count}}개 모두 보기",
"zoomIn": "확대",