Cockatrice/cockatrice/src/interface
BruebachL fe53f9c3eb
[Chat] Render game link buttons (#7135)
* [Chat] Render cockatrice://joingame links in chat as clickable buttons

Words starting with cockatrice:// become button-style anchors labelled with
the game description, id and server (falling back to id + server for links
built without a description). The description is spliced via the multi-arg
arg() overloads so a title containing "%…" cannot corrupt the label.

Keyboard link access is enabled so the anchors are reachable without a mouse.

* [Chat] Fix percent-encoding and scheme gating in game-link chat labels

Game descriptions containing '%' were rendered as '%25' in the chat
button label because QUrlQuery's default decode leaves %25 untouched.
Use QUrl::FullyDecoded for the description item, and restrict the
invite-button treatment to cockatrice://joingame links; any other
cockatrice:// scheme now falls through to plain text.

---------

Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
2026-08-17 00:26:33 +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 [Tabs] Add a setting to define startup tab on application launch (#7121) 2026-08-15 22:16:37 +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 [Chat] Render game link buttons (#7135) 2026-08-17 00:26:33 +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 [Tabs] Add a setting to define startup tab on application launch (#7121) 2026-08-15 22:16:37 +02:00
window_main.h [Tabs] Add a setting to define startup tab on application launch (#7121) 2026-08-15 22:16:37 +02:00