diff options
| author | Craig Jennings <c@cjennings.net> | 2026-06-20 03:34:57 -0400 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-06-20 03:34:57 -0400 |
| commit | 66f02002115c6c9c049686ebc866ad6f1ac83672 (patch) | |
| tree | 7d19614611cfd66c70731fb0b3ef0eb89412f7ad /docs/python-treesit-predicate-mismatch.txt | |
| parent | 86d70b76efbf805fa947ed857f7ea5f40e3a60a2 (diff) | |
| download | dotemacs-66f02002115c6c9c049686ebc866ad6f1ac83672.tar.gz dotemacs-66f02002115c6c9c049686ebc866ad6f1ac83672.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 'docs/python-treesit-predicate-mismatch.txt')
0 files changed, 0 insertions, 0 deletions
