diff options
| author | Danilo M. <danix@danix.xyz> | 2026-08-29 12:45:39 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-08-29 12:45:39 +0200 |
| commit | ca8b140de023d47ff7b34261051749ed9b254d4d (patch) | |
| tree | 93e082d5991a7e5125fc5317a7d88536edd8b177 /CHANGELOG.md | |
| parent | 063be87405277aef3122c448b064241fd15f2a92 (diff) | |
| download | qtmaildir-ca8b140de023d47ff7b34261051749ed9b254d4d.tar.gz qtmaildir-ca8b140de023d47ff7b34261051749ed9b254d4d.zip | |
feat: give the trash its own actions on the message bar
The pane's bar offered Reply and Forward on a message the user had thrown
away, which are the two things a trashed message is least likely to want,
while Restore and the purges lived only in menus.
The bar now has a third branch, asked before the draft one: a deleted draft
must come out of the trash before it can be edited. It is keyed on the
SELECTION being in a trash folder, the same predicate the menu entries use,
rather than on the trash VIEW, which disagree on mail reached from a search.
It carries Restore, Delete permanently and Empty trash, and only Restore is
tinted: the two purges are one act at two scopes and need no colour to tell
them from each other, only from the one action that gives mail back.
Delete moves here from the main toolbar in the same change (item 186). It
acts on the displayed message, like Reply and Forward, so it belongs on the
pane's bar by the rule items 139 to 141 settled for those two. It stays in
the Message menu and the context menu.
Delete permanently is new. It is Empty trash scoped to the selection, the
same purgeMessages() call with the ids resolved from the selection rather
than from a query, so it inherits both of that action's safeguards: it
confirms, naming the count, and it carries no default shortcut. One combined
thread:/id: query resolves a mixed selection, so a conversation and a reply
selected together still ask once.
The bar is refilled when the conversation digest arrives as well as on
selection, since a conversation's trash-ness is not known until every path
has been reported.
Closes items 185 and 186.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NY6poqw199LfFaXe5BHKNe
Diffstat (limited to 'CHANGELOG.md')
| -rw-r--r-- | CHANGELOG.md | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 2040fba..df73931 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,15 @@ point at which they are stable. ### Added +- **The message pane's bar knows about the trash.** On a message that is + already in the trash it now carries Restore, Delete permanently and Empty + trash in place of Reply and Forward, which were the two least useful things + to offer on mail that was thrown away. Restore is tinted so the one action + that gives mail back is not the same shape as the two that destroy it. +- **Delete permanently.** The selection-scoped counterpart to Empty trash: + the same act, on the messages you picked rather than on the whole trash. Like + Empty trash it asks first, names the count, and carries no default shortcut, + because it cannot be undone. - **The sync script reports what it did.** `mailsync.sh` now writes a small status file at the end of every run, naming the channels it synced, whether each of mbsync and notmuch succeeded, and whether the run was skipped because @@ -20,6 +29,12 @@ point at which they are stable. outcome from a line in the log. Set `status` under `[sync]` to move the file; the default matches what the script writes and no config change is needed. +### Changed + +- **Delete moved from the main toolbar to the message pane's bar**, beside + Reply and Forward, where it belongs with the other actions that operate on + the message being read. It is still in the Message menu and the context menu. + ### Fixed - **A background sync now clears only the accounts it actually carried.** A |
