aboutsummaryrefslogtreecommitdiffstats
path: root/CHANGELOG.md
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-08-13 19:29:18 +0200
committerDanilo M. <danix@danix.xyz>2026-08-13 19:29:18 +0200
commit14842cd136e45c551dde4f276af1176bfdf22023 (patch)
tree77c7d5a14884a4a9f59585930c136cfae54dedf7 /CHANGELOG.md
parent0c5eea8f0d0ccc5b8eb6220814c9e212d6c1ccc2 (diff)
downloadqtmaildir-14842cd136e45c551dde4f276af1176bfdf22023.tar.gz
qtmaildir-14842cd136e45c551dde4f276af1176bfdf22023.zip
fix(queries): put the Save query button beside the query bar
The spec asked for "a Save query button beside the search bar" and what shipped was a menu entry and Ctrl+S. The user went looking for the button where the design said it would be and did not find it. Saving is a thing you decide on while looking at the results, so it belongs where the results came from rather than behind a menu or a remembered chord. The button takes the action through setDefaultAction rather than a second connect, so it inherits the text, icon, tooltip and enabled state and cannot end up offering to save an empty query while the menu entry correctly refuses. The mutation that replaces it with a plain clicked() connection fails the test. Also records item 82: a saved query cannot be edited, unpinned or deleted from the UI. Item 23 specified saving and nothing else, and that is exactly what was built, so the only way to unpin a query is a text editor or retyping it in full under the same name. An action that creates something the UI cannot then change or remove is incomplete, and this was found within minutes of the first hand test. It is filed as a defect rather than an enhancement, and the spec now says so where a reader would otherwise take the design for complete. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r--CHANGELOG.md9
1 files changed, 5 insertions, 4 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 2d264e2..428e3e5 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -13,10 +13,11 @@ point at which they are stable.
### Added
-- A **Save query** action (`Ctrl+S`) keeps the query in the bar as a saved
- query, naming it, optionally scoping it to one account, and choosing whether
- it appears as a button or in a menu. Saved queries no longer have to be added
- by hand-editing the config file (item 23).
+- A **Save query** button beside the query bar, also on the Edit menu and bound
+ to `Ctrl+S`, keeps the query in the bar as a saved query: naming it,
+ optionally scoping it to one account, and choosing whether it appears as a
+ button or in a menu. Saved queries no longer have to be added by
+ hand-editing the config file (item 23).
- Saved queries live in `~/.config/qtmaildir/queries.json`, which carries their
**order**, a `pinned` flag and an optional account scope. The order in the
file is the order the buttons appear in, so rearranging them is a matter of