mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-10-25 10:39:01 -06:00
#167: browser file requests are bound to the document active when the picker opened (id + edit generation), the same check desktop picks use, now shared from files.rs. A request that arrives after a switch or an edit is refused with a notice. Replace keeps that target through its dialog, so OK never replaces pages in a document opened meanwhile (desktop too). Browser picks wake the UI once queued, and run under the last-resort guard. #170: on wasm, Save as PDF downloads "<name> (print).pdf" as Save does, instead of returning false silently; it never takes the file-system path. The Print dialog stays open when printing or saving fails. Co-authored-by: Hal Goff <hal@hg.studio> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Brandon Thomas <echelon@gmail.com>