Cockatrice/cockatrice/src/interface/widgets/utility
BruebachL 2fba13753b
[Client] Alt badges, breadcrumb trail, investigate button (#7516)
* [Client] Alt badges, breadcrumb trail, investigate button

AltTableDelegate paints palette-tinted match badges with paint-through selection, style warning/critical icons on nonzero counts, and font/elision handling. TabAlts gains a clickable breadcrumb trail, an Investigate-this-user button, and bold usernames. Async alts responses are guarded against stale investigations.

* [Client] Fix alt badge and trail review findings

- Drop the dead VPN warning branch: rowVisible() already hides IP rows
  above the threshold, so setVpnThreshold(), its member and the spin-box
  connect never took effect.
- Dim IP rows at shared_count > 2 instead of > 1: the count already
  includes the investigated account, so every IP row was dimmed.
- Truncate backStack when a breadcrumb is clicked instead of pushing the
  current user again, so the trail keeps a single path and Back works.
- Word-wrap the trail label so a long chain cannot widen the tab.
- Extract the status/match pill painting into widgets/utility/pill_painter
  and use it from both delegates instead of duplicating it.

* [Client] Route investigate() through the trail helper

---------

Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
2026-11-08 08:59:50 +01:00
..
card_completer_delegate.cpp [Fonts] Migrate CardText surfaces to theme font role (#7538) 2026-11-04 07:57:54 +01:00
card_completer_delegate.h [Completer] Minimum size popup, fall back to compact design if not possible. (#7111) 2026-10-15 18:10:07 +02:00
card_completer_styler.cpp [Fonts] Restore DeckList Serif default and live-update all role readers (#7541) 2026-11-04 07:57:55 +01:00
card_completer_styler.h [Completer] Highlight popup rows without rewriting the line edit (#7502) 2026-10-16 19:01:38 +02:00
compact_push_button.cpp [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
compact_push_button.h [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
completer_utils.cpp [UI] Fix auto-completion acceptance on Space/Tab/Enter (#7466) 2026-10-10 09:45:42 +02:00
completer_utils.h [CardSearch] Add card completion popups to chats and search fields (#7089) 2026-08-11 18:50:30 +02:00
custom_line_edit.cpp [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
custom_line_edit.h [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
epoch_format.h [Client] Transient User Alts investigation tab (#7511) 2026-11-08 08:15:12 +01:00
get_text_with_max.cpp [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
get_text_with_max.h [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
line_edit_completer.cpp [Chat] Fix card completion after an @ mention (#7469) 2026-10-11 15:35:10 +02:00
line_edit_completer.h [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
pill_painter.cpp [Client] Alt badges, breadcrumb trail, investigate button (#7516) 2026-11-08 08:59:50 +01:00
pill_painter.h [Client] Alt badges, breadcrumb trail, investigate button (#7516) 2026-11-08 08:59:50 +01:00
report_utils.cpp [Client] Report queue dashboard and status pills (#7515) 2026-11-08 08:59:50 +01:00
report_utils.h [Client] Report queue dashboard and status pills (#7515) 2026-11-08 08:59:50 +01:00
reversed_completer_model.cpp [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
reversed_completer_model.h [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
sequence_edit.cpp [Icons] Migrate UI glyphs to palette-token SVGs (#7595) 2026-11-04 18:39:41 +01:00
sequence_edit.h [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
table_activation.cpp [Client] Report queue dashboard and status pills (#7515) 2026-11-08 08:59:50 +01:00
table_activation.h [Client] Report queue dashboard and status pills (#7515) 2026-11-08 08:59:50 +01:00
visibility_change_listener.cpp [TabDeckEditor] Generalize visibility filter and extract it to a separate file (#6526) 2026-01-16 10:12:46 -05:00
visibility_change_listener.h [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00