Repository navigation
v1.7.1
What's New
- Error boundary — React crashes now show an error screen with stack trace and a recovery button, rather than a blank white window. Uncaught renderer exceptions are surfaced and logged instead of silently wrecking the app.
- Fewer ways to crash on close-all-tabs — Closing the last tab now fully resets edit state (
editMode,editContent,editDirty,editFilePath) so no orphaned draft data can trigger a subsequent render crash. - Cmd+W no longer closes the whole window —
preventDefault()now fires unconditionally on Cmd/Ctrl+W, ahead of the settings/editing guards, so Electron never falls through to native "Close Window". Cmd+W still closes the active tab while typing in the editor. - Print from edit mode works reliably — Replaced an inline
display: noneon the preview with a CSS class so the@media printoverride wins the cascade cleanly. Prints the rendered preview instead of the editor textarea. - 10 new close-all-tabs E2E tests — Covers collapsible mode, mixed fold states across files, links panel, mermaid diagrams, themes, rapid close, and edit-mode scenarios.
Reviews
Four rounds of multi-agent review (Gemini + Codex + Claude) with ship/no-ship verdict. Unanimous SHIP after addressing two findings:
- Codex caught that the original Cmd+W
preventDefault()was bypassed by thesettingsOpenandisEditingearly returns — fixed by hoisting it above the guards. - Gemini caught that hoisting it naively would silently discard unsaved drafts while editing — fixed by whitelisting the tab-close path in the
isEditingblock.
Downloads
| Platform | File | Notes |
|---|---|---|
| macOS (Apple Silicon) | .dmg / .zip |
Signed and notarised |
| macOS (Intel) | .dmg / .zip |
Signed and notarised |
| Linux | .AppImage / .deb |
— |
Windows
Windows build is not included. See v1.7.0 notes for details, or build from source:
```bash
git clone https://github.com/globalroo/markdown-viewer.git
cd markdown-viewer
npm install
npm run dist
```