aboutsummaryrefslogtreecommitdiffstats
path: root/src/messageview.h
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-08-14 17:41:56 +0200
committerDanilo M. <danix@danix.xyz>2026-08-14 17:41:56 +0200
commit22467bf5dfdff58850f4f705b36c464c68bc56e2 (patch)
treec349a881fc414e58f9f0e21e555d2912d82c2553 /src/messageview.h
parent9fd9f06a2e9aa1e9f9a12e82cd8bf727d5f7b968 (diff)
downloadqtmaildir-22467bf5dfdff58850f4f705b36c464c68bc56e2.tar.gz
qtmaildir-22467bf5dfdff58850f4f705b36c464c68bc56e2.zip
docs(spec): design for excluding a value from a search, item 86
Two decisions the user made, both recorded with their rejected alternatives so they are not revisited. Excluding from an empty query would mean the whole Maildir minus one value. The menu entry is greyed rather than hidden when the query bar is empty, so the feature stays visible to someone exploring a fresh window, and SearchTerm::exclude returns empty for that case as a second layer against a caller that forgets the guard. The menus cannot see the query bar, so MainWindow pushes the fact down through MessageView::setHasQuery from the textChanged lambda it already runs for the Save button. A callback was rejected as an indirection with one implementation; silently doing nothing was rejected because a live menu entry that does nothing is worse than a greyed one. The backlog entry loses its inline approach and points at the spec, carrying the three constraints that decide whether it can be picked up. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Diffstat (limited to 'src/messageview.h')
0 files changed, 0 insertions, 0 deletions