Cockatrice/cockatrice/src/interface/widgets/utility
BruebachL 18f9b26a3d
[Client] Report queue dashboard and status pills (#7515)
* [Client] Moderation and alts dashboards

Turn the two staff tables into dashboards without behavior changes: TabModeration gets an identity header (display-size name, status, registered/last-login subline), Reports/Warnings/Bans/Alts count cards with an Open-graph deep link, full-width admin notes, and Alts/Sessions/Staff tabbed sections with tab memory. TabAlts gets toggle chips with match counts, bold usernames, palette-token dimming of shared-IP rows, and a resizable side card for the selected-user timeline with selection restore. Row activation works via Enter as well as double-click; async responses are guarded against stale investigations and retranslation re-applies cached dashboard data.

* [Client] Report queue dashboard and status pills

TabReport becomes a dashboard: selected-report identity header (display-size user, bold status, category/time/room subline), Description/Chat/Comments/Reported-user tabbed sections with tab memory, always-visible user context with empty cues, and bold reported users. ReportStatusDelegate paints palette-tinted status pills with paint-through selection, translated status strings, and font/elision handling. report_utils gains formatReportStatus plus an opt-out status-color flag so the delegate owns color in the mod queue while the user dialog keeps its colors. Async responses stay guarded; retranslation re-applies header and comment states.

* Fix remaining review threads on the report queue dashboard

- Read the raw report status from Qt::UserRole in DlgMyReports, so regular
  users can comment on their own open reports again.
- Exclude the server's depth-0 seed row from the related-alt count.
- Dim only IP matches shared by more than the pair, not every IP match.
- Activate alts rows on double-click or Enter instead of `activated`, which
  fires on a single click on single-click platforms.
- Fold the reported-user bolding pass into the fill loop.

---------

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
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