Commit Graph
9 Commits
Author SHA1 Message Date
Tomás Romero a6a30c6286 chore: merge main 2026-11-02 15:33:20 +01:00
Tomás Romero 1b73fa004e fix: upload files under the picked name 2026-10-30 22:59:30 +01:00
Tomás Romero ffac45df8f feat: format dates with translated patterns 2026-10-24 15:58:54 +02:00
neomodeandClaude Opus 5 15c6c0c256 feat: add a setting for the default download location
Attachment and file downloads always opened the folder the platform
suggests, with no way to change it (#71). The save dialog is built in a
single place, `DocumentDialog::file_dialog`, which never called
`set_directory`.

Settings → General now carries a Download location card to pick a folder
or reset to the platform default. The stored path is resolved when a
download is saved, not when the path is stored: a location can become
unavailable later, such as an unmounted network share, so a download
falls back to the platform default instead of failing.

The setting covers mail attachments and the Files view, which share
`DocumentProvider::export`. Import dialogs keep the platform default,
since a download location does not describe where files are read from.

Tests cover path resolution (empty, missing, a file instead of a
directory, and a usable directory), the dialog built from the setting,
and that settings blobs written before this field still load.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-10-21 20:28:24 +02:00
Tomás Romero b28091e488 chore: route platform code through capability aliases 2026-10-16 16:04:13 +02:00
Tomás Romero 0877eed9ed chore: polish workspace motion 2026-09-20 21:19:51 +00:00
Tomás Romero 341f4ccd6c fix: stabilize mail ui 2026-09-14 14:52:54 +00:00
Tomás Romero dff8a9ade8 chore: reduce idle memory 2026-09-13 19:21:49 +00:00
Tomás Romero d0abbaaa4f chore: improve files and account controls 2026-09-10 18:58:14 +00:00