Cockatrice/cockatrice/src/interface
BruebachL 8a5723c0b5
[Client] Show latency in status bar and server tab indicator (#7154)
* [Client] Show live connection latency in the status bar

Add a permanent status-bar label fed by ConnectionController's
pingStatsUpdated: shows the latest round-trip time, hides while
disconnected or without samples, and carries a tooltip with
Last/Median/95th percentile/Maximum over the rolling sample window
(mirrored into the accessible description). The server tab gets the
same stats as its tooltip.

Took 2 minutes

Took 2 minutes

Took 1 minute

Took 48 seconds

Took 25 seconds

Took 4 minutes

* [Client] Graph connection latency history in the status bar

Add LatencyGraphWidget, a size-agnostic bar sparkline over the rolling
sample window: heights scale to the window's own range while colors map
onto an absolute quality ramp, so a steady good ping stays green. Embed
it in the new LatencyStatusWidget together with the textual ping
readout and feed both through ConnectionController's forwarded signals;
the whole area hides while disconnected or without samples.

Took 9 minutes

Took 14 seconds

* [Client] Show latency details when clicking the ping display

Clicking the status bar ping area opens a popup with a larger instance
of the latency graph plus the numeric statistics, selectable and
mirrored into the accessible name. Qt::Popup closes it on any outside
click; contents refresh live while open.


Took 33 seconds

* Fixup from core commit

Took 6 minutes

Took 5 seconds

Took 5 minutes

* Lint.

Took 12 minutes

* Consolidate.

Took 6 minutes

---------

Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
2026-08-23 02:25:04 +02:00
..
card_picture_loader [PictureLoader] Schedule exponential backoff on 429 - Too many request handler and call failed on fail (#7053) 2026-08-08 22:55:27 +02:00
deck_loader Fix #6952: prevent deck loss when saving to a full disk (#6978) 2026-06-09 07:54:01 +02:00
intents [Server/Client/Protocol] Reporting users + moderation queue functionality (#7091) 2026-08-21 15:00:13 +02:00
layouts Run formatter on all our files (#6942) 2026-05-26 15:11:38 -07:00
palette_editor Fix up a small rebase/merge conflict (#7061) 2026-07-27 03:59:57 -07:00
widgets [Client] Show latency in status bar and server tab indicator (#7154) 2026-08-23 02:25:04 +02:00
key_signals.cpp style: Add braces to all control flow statements (#6887) 2026-05-16 19:19:53 +02:00
key_signals.h Standardize Doxygen documentation (#6885) 2026-05-21 22:58:07 +02:00
logger.cpp style: Add braces to all control flow statements (#6887) 2026-05-16 19:19:53 +02:00
logger.h Standardize Doxygen documentation (#6885) 2026-05-21 22:58:07 +02:00
pixel_map_generator.cpp style: Add braces to all control flow statements (#6887) 2026-05-16 19:19:53 +02:00
pixel_map_generator.h Standardize Doxygen documentation (#6885) 2026-05-21 22:58:07 +02:00
theme_config.cpp [PaletteEditor] Ensure directory is writeable, don't fall back to alternate palette (#7048) 2026-07-27 11:23:41 +02:00
theme_config.h [App/Theme] Palette Editor (#6877) 2026-05-17 10:08:00 +02:00
theme_manager.cpp [UserList] Unify friends/online/ignored list with section dividers and add search bar. (#7119) 2026-08-15 22:53:13 +02:00
theme_manager.h [UserList] Unify friends/online/ignored list with section dividers and add search bar. (#7119) 2026-08-15 22:53:13 +02:00
window_main.cpp [Client] Show latency in status bar and server tab indicator (#7154) 2026-08-23 02:25:04 +02:00
window_main.h [Client] Show latency in status bar and server tab indicator (#7154) 2026-08-23 02:25:04 +02:00