openpencil/desktop
Danila Poyarkov f2485d6926
fix(desktop): allow reading recent .fig files for thumbnails (#872)
* fix(desktop): allow reading recent .fig files for thumbnails

The recent-files thumbnail loader stats a .fig file, opens it, and seeks
and reads its thumbnail entry, but the desktop capability granted none of
those fs commands, so the WebView rejected the first call ("fs.stat not
allowed") and no thumbnail ever loaded. Grant stat and open with the same
path scope as read-file, plus the handle commands they lead to.

A native spec runs the loader's command sequence on a real .fig file.

* test(desktop): check the bytes the recent-file thumbnail read returns

The native spec discarded the read result, so a read returning nothing would pass. Assert the zip signature and the byte count the fs plugin appends, through a bytes variant of the native invoke helper.
2026-10-04 13:03:20 +00:00
..
capabilities fix(desktop): allow reading recent .fig files for thumbnails (#872) 2026-10-04 13:03:20 +00:00
generated feat: check designs live with a Lint panel, canvas markers, and fixes (#804) 2026-10-04 10:08:39 +00:00
linux feat: open documents and layers from openpencil:// and web links (#708) 2026-09-18 14:45:49 +03:00
src refactor(tauri): discover system fonts with fontique (#782) 2026-09-26 11:49:03 +04:00
.gitignore feat(ai): add HarnessAgent sidecar foundation (#560) 2026-08-19 17:41:10 +03:00
AGENTS.md docs: route contributors through per-domain guides and ship npm license text (#785) 2026-09-29 01:02:06 +04:00
build.rs Rename src-tauri → desktop, symlink for CLI compat 2026-02-28 08:10:09 +03:00
Cargo.lock build: update dependencies (#873) 2026-10-04 12:48:24 +00:00
Cargo.toml refactor(tauri): discover system fonts with fontique (#782) 2026-09-26 11:49:03 +04:00
Info.plist fix(tauri): correctly configure NSAllowsLocalNetworking 2026-04-22 13:01:38 +03:00
tauri.conf.json build: update dependencies (#873) 2026-10-04 12:48:24 +00:00
tauri.native-test.conf.json fix: prevent repeated Keychain prompts and isolate native tests (#664) 2026-09-09 13:41:55 +03:00
updater.key.pub feat(tauri): add signed updater 2026-05-01 13:00:50 +03:00