feat(editor): add modal prompts for file/folder creation, improve Monaco editor reactivity and add TypeScript IntelliSense support

This commit is contained in:
2025-12-30 16:17:08 +00:00
parent 339b0e784d
commit ad8a9513d9
7 changed files with 467 additions and 7 deletions

View File

@@ -1,5 +1,14 @@
# Changelog
## 2025-12-30 - 3.14.0 - feat(editor)
add modal prompts for file/folder creation, improve Monaco editor reactivity and add TypeScript IntelliSense support
- Replace window.prompt for new file/folder with DeesModal + DeesInputText (showInputModal) to provide a focused modal input UX.
- Monaco editor: add language property, handle external content updates without emitting change events (isUpdatingFromExternal), dispatch 'content-change' events, and apply language changes at runtime.
- Add TypeScriptIntelliSenseManager to load .d.ts/type packages from the virtual filesystem (/node_modules), parse imports, load @types fallbacks, and add file models to Monaco for cross-file IntelliSense.
- Workspace demo now mounts an initial TypeScript project and exposes initializationPromise to wait for external setup; workspace initializes IntelliSense and processes content changes to keep types up to date.
- Export typescript-intellisense from workspace index so the manager is available to consumers.
## 2025-12-30 - 3.13.1 - fix(webcontainer)
prevent double initialization and race conditions when booting WebContainer and loading editor workspace/file tree