refactor(docs): [SITE-03] migrate desktop editor and integrate typed generation

This commit is contained in:
Harvey Zhao committed 2026-09-14 09:25:46 +08:00
1 parent a468cb2c39
commit 2f130c58f1
37 files changed
+1921 -305

No files matched your search

+9
View File
@@ -168,3 +168,12 @@ environment used to locate the pinned Yarn executable. The Markdown test uses
the installed VitePress renderer to reproduce random code-group IDs and verify
stable IDs, uniqueness and label associations. Built-page browser checks live in
`test/browser/document-site.spec.js`; their editor destination is intercepted.
## Desktop editor regressions
`yarn test:site-editor` covers frozen old TS execution/file error behavior, latest-run
ordering, library/compiler failures, FileReader settlement and storage denial.
`test/browser/site-editor.spec.js` uses the actual Monaco 0.30.1 worker and original
vendor assets for typed Run, Ctrl-S, imports, preferences, declaration failure,
language readiness and model disposal. Console Error objects are inspected through
their arguments: Firefox may serialize their display text as only `Error`.