diff options
| author | Danilo M. <danix@danix.xyz> | 2026-08-14 11:17:59 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-08-14 11:17:59 +0200 |
| commit | 847f3051b0918efc315321d4b65ad0109ea7979d (patch) | |
| tree | caac031fe5ff750b7323a5ec71d1c24d17f9604d /src/completionentry.h | |
| parent | b08923df88de7ba03135234aaf3c602f23e49e03 (diff) | |
| download | qtmaildir-847f3051b0918efc315321d4b65ad0109ea7979d.tar.gz qtmaildir-847f3051b0918efc315321d4b65ad0109ea7979d.zip | |
docs: spec turning a saved query into a tagging rule
Item 81. A context-menu action on a stored saved query, seeding the rules
dialog with the query and a sanitised id, tags left empty and focused.
Three decisions worth the record. The backlog's own proposal, a checkbox
in the Save query dialog, is rejected: it would make one dialog write both
queries.json and the shared rules.json, and SaveQueryDialog is
deliberately pure UI that writes nothing. Generated entries are excluded,
since their query is composed from the accounts at runtime and a rule made
from one would freeze a snapshot that goes stale when an account is added.
And the empty tags are load-bearing rather than an omission: validate()
refuses a rule that tags nothing, so the one field the user must supply is
the one the dialog opens on.
This also turns out to be a single-repo change. The rule it creates is an
ordinary one, so mailrules.py is untouched; the backlog's note that item
81 spans two repos was about the file it lands in, not the work.
Item 78 becomes a second caller of the same seeded-dialog path.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Diffstat (limited to 'src/completionentry.h')
0 files changed, 0 insertions, 0 deletions
