diff options
| author | Danilo M. <danix@danix.xyz> | 2026-08-03 15:41:16 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-08-03 15:41:16 +0200 |
| commit | cd0be6dc5e4741c2ad180d6bf6a275f000ab943a (patch) | |
| tree | c2c704065c398ba33d9549bfb025d30dbb0a46c4 /src/mailsync.cpp | |
| parent | ab16342f6181f69e5cb1ef528f1dd0eb433bb74b (diff) | |
| download | qtmaildir-cd0be6dc5e4741c2ad180d6bf6a275f000ab943a.tar.gz qtmaildir-cd0be6dc5e4741c2ad180d6bf6a275f000ab943a.zip | |
feat: render tags as chips instead of a text column
Spelled out per row, tags ran to 500 pixels of largely repeated text and
took most of the thread list's width. The column is gone; tags render as
coloured chips split by what they actually mean.
An account tag says which mailbox a thread arrived in, and draws as a
chip in front of the subject. A functional tag says what state a thread
is in, and those fill one row under the message pane. One row keeps the
message area from shifting between threads with different tag counts, so
whatever does not fit collapses into a +N chip that names the rest in its
tooltip.
TagColors resolves a colour by exact tag first, then by top-level prefix,
so a single "shopping" entry covers shopping/amazon and shopping/nike
while shopping/amazon can still override its own. That matters at 96
tags. Built-in defaults cover the usual state tags, and anything left
unconfigured falls back to a hash of the name, stable so a chip does not
change colour as the list scrolls.
Diffstat (limited to 'src/mailsync.cpp')
0 files changed, 0 insertions, 0 deletions
