You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 1b3b9b8
Browse filesBrowse the repository at this point in the historyBrowse files
- Preserve Monaco code editor and prompt editor focus during keystrokes by stabilizing callback references and decoupling editor lifecycle
- Isolate Mermaid syntax errors within preview cards to prevent document.body SVG pollution and layout distortion
- Resolve cross-platform path resolution in GUI test plan script
- Update package version, changelog, and release documentation for v0.9.7
-**Code Editor Focus Preservation on Text Entry**:
10
+
- Fixed a regression where typing into the Monaco code editor caused immediate loss of focus after entering the first character.
11
+
- Stabilized event and action callback references (`onManualSave`, `onSaveToFile`, `onChange`, `onScroll`, `onFocusChange`, `onSelectionChange`) via mutable refs in `CodeEditor`, `PromptEditor`, and `MonacoDiffEditor`.
12
+
- Decoupled Monaco editor mounting and shortcut registration dependencies to prevent the editor DOM container from detaching, tearing down, and recreating on keystrokes.
13
+
-**Mermaid Syntax Error DOM Pollution Fix**:
14
+
- Prevented Mermaid from injecting "Syntax error in text" bomb SVGs into `document.body` when diagram syntax is invalid.
15
+
- Enabled `suppressErrorRendering: true`, pre-validated syntax with `mermaid.parse()`, rendered into detached containers, and added active cleanup and CSS containment rules to isolate diagram errors cleanly within the preview pane error card without distorting the application layout.
16
+
-**Cross-Platform Test Runner**:
17
+
- Resolved Windows path prefix resolution in test plan validation script using `fileURLToPath`.
0 commit comments