aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-20 03:34:57 -0400
committerCraig Jennings <c@cjennings.net>2026-06-20 03:34:57 -0400
commit33c679a4c0f8dfda03e20b4eea97807e9b23a2f1 (patch)
treecd15f589901fec3bd4e9d3fa951fb878966b844c /tests
parent6cf7f27b282d6a51101dfa9b1577f090647775a2 (diff)
downloaddotemacs-33c679a4c0f8dfda03e20b4eea97807e9b23a2f1.tar.gz
dotemacs-33c679a4c0f8dfda03e20b4eea97807e9b23a2f1.zip
feat(theme-studio): export through the save-file picker to overwrite in place
Re-exporting a theme used to land a "name (1).json" duplicate. The export built a blob and clicked a download link, which routes through the browser's downloads folder, and the browser uniquifies a re-save rather than replacing the file. I switched export to the File System Access API (showSaveFilePicker): it writes straight to the file you pick, so re-exporting the same WIP.json overwrites it. Where the API is absent the old blob download still runs, mirroring importTheme's picker-with-fallback shape. A new #savetest browser gate stubs the picker and checks the written content and the close.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions