diff --git a/CHANGELOG.md b/CHANGELOG.md index bd83745..c4d7c96 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,17 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/), and this project adheres to [Semantic Versioning](https://semver.org/). +## [0.11.1](https://github.com/ekino/MarkdownViewer/releases/tag/v0.11.1) - 2026-08-13 + +### Added + +- General preference for what opening a document from Finder does when a document is already open: hand it to a new window (default, matching macOS document viewers) or replace the current window's content. A window still on the welcome screen is reused either way, so choosing "new window" never leaves an empty window behind (FR + EN) + +### Fixed + +- Open documents from folders outside the home directory. Since 0.11.0 the sidebar listed files under `/tmp`, `/Volumes` or a repo cloned outside home, but selecting one did nothing: the listing and the read did not share the same access rule. Reads are now confined to the folder you opened — the access you actually granted — which also stops a crafted relative link from escaping it +- Show a message when a document cannot be opened. The failure was logged to the console only, so an unopenable file looked like an unresponsive click (FR + EN) + ## [0.11.0](https://github.com/ekino/MarkdownViewer/releases/tag/v0.11.0) - 2026-08-13 ### Added diff --git a/index.html b/index.html index 8c1065f..60dd87d 100644 --- a/index.html +++ b/index.html @@ -1902,6 +1902,22 @@ line-height: 1.45; } #slow-read-notice[hidden] { display: none; } + + /* Same shape as the slow-read notice, in an error tone. */ + #load-error { + display: flex; + align-items: flex-start; + gap: 10px; + margin: 0 0 24px; + padding: 10px 14px; + border: 1px solid var(--border); + border-left: 3px solid #dc2626; + border-radius: 6px; + color: var(--text); + font-size: 13px; + line-height: 1.45; + } + #load-error[hidden] { display: none; } #slow-read-notice .srn-text { flex: 1; } #slow-read-notice .srn-close { flex: none; @@ -2049,6 +2065,9 @@