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
* Bump version to v0.8.0 and fix KaTeX/mermaid/Ollama issues
Version bump:
- 0.7.1 → 0.8.0 in package.json, tauri.conf.json, Cargo.toml
KaTeX block math fixes:
- Fix native DOM selection highlight bleed when navigating to or
clicking block math nodes (ProseMirror plugin clears DOM selection)
- Add Enter/Space keyboard shortcut to open editor on selected block
- Move cursor after node on submit/cancel to avoid re-triggering highlight
- Add ProseMirror-selectednode outline style for visual feedback
Mermaid fixes:
- Start in edit mode when switching empty code block to mermaid
- Show "Empty mermaid diagram" placeholder instead of collapsing
Ollama error handling:
- Strip ANSI escape codes from CLI stdout/stderr
- Detect model-not-found errors and show actionable message
Co-Authored-By: Claude Opus 4.6 <[email protected]>
* fix: align mermaid edit button with language dropdown
Co-Authored-By: Claude Opus 4.6 <[email protected]>
* refactor: simplify CodeBlockView toolbar
Co-Authored-By: Claude Opus 4.6 <[email protected]>
* Codeblock dropdown styling adjustment.
* fix: don't trim stdout in AI CLI, narrow Ollama error matching
- Stop trimming stdout in execute_ai_cli (callers trim as needed,
and trimming here could strip meaningful whitespace)
- Replace broad "not found" check with specific "model not found"
and "model does not exist" patterns
Co-Authored-By: Claude Opus 4.6 <[email protected]>
---------
Co-authored-by: Claude Opus 4.6 <[email protected]>
0 commit comments