mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-24 17:56:50 -06:00
Follow-ups to the review of the exporter plug-ins PR (#3171): - Export As opens its format's options once the save panel has picked the file. The Enter that closed the panel, still held, confirmed them at once: Save As marks such a dialog (dialogs::AFTER_PANEL) so it waits for Enter to be let go, Export As didn't. Every options dialog it opens after the panel is marked now, an exporter plug-in's included, through one helper (dialogs::opened_by_panel) that Save As uses too. - io::export with options that aren't a JSON object dropped the path and format it adds for the encoder: an exporter plug-in was told the document's name and its first extension instead of the file it writes. Such options now count as none. - The exporter UI tests remove the plug-ins they install, so no other test's Export As lists them. tests_export.rs reproduces the held Enter for every options dialog (PNG, SVG, Save PDF, Text, DXF, EPS and an exporter's), and tests_plugin_export.rs the options that aren't an object; both failed before the fix. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HhvnnnD5fTFupK8WWq35un