mirror of
https://github.com/readest/readest.git
synced 2026-11-29 19:02:28 +00:00
* fix(windows): make Explorer thumbnails opt-in Add a Windows-only File Explorer thumbnail switch, disabled by default, with a per-user registry preference that survives installer updates. Remove legacy automatic thumbnail registrations on upgrade and preserve third-party handlers and the separate preview-pane integration. Reported by TOM-PIC on GitHub (#7206). Verification: 22 targeted UI/ACL tests and 201 application Rust tests passed. Six Windows registry tests and the actual NSIS hook regression harness passed under isolated Wine. pnpm lint, Rust fmt, application Clippy, and Windows backend Clippy passed. Browser interactions checked toggle behavior, light/dark, narrow layouts, RTL, and e-ink with simulated Windows IPC. Without the change, the UI regression cannot find the thumbnail switch and the NSIS regression fails '.epub: thumbnails must be off by default' with Readest's CLSID. Native Windows Explorer rendering was not run. Full JavaScript suite attempts hit timeouts in TTS, statistics, and native-service tests and were stopped without a passing result. Co-Authored-By: Claude Code <noreply@anthropic.com> * fix(windows): recover from thumbnail preference failures Restore earlier thumbnail handler values when an enable operation fails, including failures writing the preference. Preserve pre-existing empty values, provider casing, and unrelated metadata during rollback. Allow an explicit opt-in after the initial preference read fails. Extend the registry regression to assert restoration after a later invalid handler and add a UI regression for recovery after a failed initial read. Local tests and verification hooks were not run, as requested. The previous PR head passed CI; these follow-up changes await CI verification. Reported by TOM-PIC on GitHub (#7206). Co-Authored-By: Claude Code <noreply@anthropic.com> * fix(windows): restore handlers after a failed thumbnail disable Record removed handler values in the rollback list. Recreate deleted slots and restore their original raw values if a later mutation or preference write fails. Close deleted key handles before recreating their paths. Extend the existing registry failure regression to assert that a failed disable restores the removed azw slot with its original provider casing. Local tests and verification hooks were skipped as requested. Rust source was formatted; this commit awaits CI verification. Reported by TOM-PIC on GitHub (#7206). Co-Authored-By: Claude Code <noreply@anthropic.com> * fix(windows): preserve handler metadata during installer cleanup Delete only Readest's default handler value during upgrade and uninstall, leaving unrelated values and subkeys intact. Keep preview handler calls. Add actual-hook regression assertions for unrelated values and subkeys in merged and per-user thumbnail slots. Local tests and verification hooks were skipped as requested. These NSIS regressions have not been executed for this commit; prior head CI passed. Reported by TOM-PIC on GitHub (#7206). Co-Authored-By: Claude Code <noreply@anthropic.com> --------- Co-authored-by: Claude Code <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| default.json | ||
| desktop.json | ||
| webdriver-remote.json | ||