Cockatrice/cockatrice/src/interface/widgets/tabs
Lukas Brübach a7b67919ab
[DeckShare] Browse and open public decks with loading, error and accessibility states
Add a public-decks tab that lists decks published by other users using the
server's deck visibility feature, previewing each deck's banner card, color
identity, tags and upload time without downloading the deck list until the
user opens it.

- Add a public-decks tab with a shared-settings widget and a remote model
  that fetches the target user's decks and refreshes both automatically and
  on user request, with a loading indicator and a server-error message
  instead of a blank tab when the fetch fails or the connection drops
- Render each deck as a focusable preview tile whose banner, color identity,
  tags and upload time follow the existing Preview settings, with the deck
  name announced as the tile's accessible name and Space/Enter opening the
  deck, mirroring the shared-deck preview tile
- Show a message box when opening a public deck fails or arrives corrupted
- Publish and unpublish decks from the server storage toolbar and context
  menu, toggling the deck's own visibility bit (what the server persists)
  rather than the inherited effective state, and batch the visibility
  refresh until the last in-flight change is acknowledged
- Add the Show Upload Time setting so the tile's upload stamp can be hidden
  like the other preview details
- Update the retranslateUi wiring for the new public-decks tab and rename
  the share action tooltip from "Deck share" to "Share link"
2026-09-06 16:14:55 +02:00
..
api [CardSearch] Add card completion popups to chats and search fields (#7089) 2026-08-11 18:50:30 +02:00
visual_deck_editor [Client] Expose custom zone management in the deck editor (#7205) 2026-09-05 22:00:21 +02:00
visual_deck_storage [DeckShare] Browse and open public decks with loading, error and accessibility states 2026-09-06 16:14:55 +02:00
abstract_tab_deck_editor.cpp [DeckShare] Browse and open public decks with loading, error and accessibility states 2026-09-06 16:14:55 +02:00
abstract_tab_deck_editor.h [DeckShare] Create temporary share links for local and server decks 2026-09-06 16:14:54 +02:00
public_decks_quick_settings_widget.cpp [DeckShare] Browse and open public decks with loading, error and accessibility states 2026-09-06 16:14:55 +02:00
public_decks_quick_settings_widget.h [DeckShare] Browse and open public decks with loading, error and accessibility states 2026-09-06 16:14:55 +02:00
tab.cpp [Move refactor] Move tabs to interface/widgets (#6235) 2025-10-09 14:51:47 +02:00
tab.h [Client] Route cockatrice:// link clicks from chat to the intent chain (#7136) 2026-08-17 01:03:37 +02:00
tab_account.cpp [Server/Client/Protocol] Reporting users + moderation queue functionality (#7091) 2026-08-21 15:00:13 +02:00
tab_account.h [Server/Client/Protocol] Reporting users + moderation queue functionality (#7091) 2026-08-21 15:00:13 +02:00
tab_admin.cpp Split trice_limits.h into dedicated headers (#7025) 2026-06-29 14:37:52 -07:00
tab_admin.h Standardize Doxygen documentation (#6885) 2026-05-21 22:58:07 +02:00
tab_card_art_rules.cpp [CardSearch] Add card completion popups to chats and search fields (#7089) 2026-08-11 18:50:30 +02:00
tab_card_art_rules.h [UserListDelegate] Consider providerId (#7018) 2026-06-27 11:23:55 -04:00
tab_deck_editor.cpp [Settings] Split cache_settings monolith into multiple SettingsManager sub-classes (#7050) 2026-07-27 11:25:39 +02:00
tab_deck_editor.h [TabDeckEditor] Refactor: pull up showPrintingSelector (#6964) 2026-06-03 09:35:48 -07:00
tab_deck_storage.cpp [DeckShare] Browse and open public decks with loading, error and accessibility states 2026-09-06 16:14:55 +02:00
tab_deck_storage.h [DeckShare] Browse and open public decks with loading, error and accessibility states 2026-09-06 16:14:55 +02:00
tab_game.cpp [Game] Playmats (#7101) 2026-08-21 10:40:49 +02:00
tab_game.h [Game] Add an invite button to non-started and not full games (#7143) 2026-08-17 21:37:15 +02:00
tab_home.cpp [Cleanup] Unused #includes (#6367) 2025-11-29 18:53:11 +01:00
tab_home.h Standardize Doxygen documentation (#6885) 2026-05-21 22:58:07 +02:00
tab_logs.cpp Split trice_limits.h into dedicated headers (#7025) 2026-06-29 14:37:52 -07:00
tab_logs.h Standardize Doxygen documentation (#6885) 2026-05-21 22:58:07 +02:00
tab_message.cpp [Game] Add an invite button to non-started and not full games (#7143) 2026-08-17 21:37:15 +02:00
tab_message.h [Game] Add an invite button to non-started and not full games (#7143) 2026-08-17 21:37:15 +02:00
tab_moderation.cpp [Server/Client/Protocol] Reporting users + moderation queue functionality (#7091) 2026-08-21 15:00:13 +02:00
tab_moderation.h [Server/Client/Protocol] Reporting users + moderation queue functionality (#7091) 2026-08-21 15:00:13 +02:00
tab_public_decks.cpp [DeckShare] Browse and open public decks with loading, error and accessibility states 2026-09-06 16:14:55 +02:00
tab_public_decks.h [DeckShare] Browse and open public decks with loading, error and accessibility states 2026-09-06 16:14:55 +02:00
tab_replays.cpp [Settings] Split cache_settings monolith into multiple SettingsManager sub-classes (#7050) 2026-07-27 11:25:39 +02:00
tab_replays.h Standardize Doxygen documentation (#6885) 2026-05-21 22:58:07 +02:00
tab_report.cpp [Server/Client/Protocol] Reporting users + moderation queue functionality (#7091) 2026-08-21 15:00:13 +02:00
tab_report.h [Server/Client/Protocol] Reporting users + moderation queue functionality (#7091) 2026-08-21 15:00:13 +02:00
tab_room.cpp [UserList] Context menu invite (#7138) 2026-08-17 10:49:19 +02:00
tab_room.h [UserList] Unify friends/online/ignored list with section dividers and add search bar. (#7119) 2026-08-15 22:53:13 +02:00
tab_server.cpp Define Cockatrice as an editor/handler for .cod files and cockatrice:// protocol on all platforms (#6775) 2026-08-08 19:02:19 +02:00
tab_server.h Define Cockatrice as an editor/handler for .cod files and cockatrice:// protocol on all platforms (#6775) 2026-08-08 19:02:19 +02:00
tab_supervisor.cpp [DeckShare] Browse and open public decks with loading, error and accessibility states 2026-09-06 16:14:55 +02:00
tab_supervisor.h [DeckShare] Browse and open public decks with loading, error and accessibility states 2026-09-06 16:14:55 +02:00
tab_visual_database_display.cpp [TabDeckEditor] Refactor card database view into own class (#6967) 2026-06-05 10:20:46 -07:00
tab_visual_database_display.h [TabDeckEditor] Refactor card database view into own class (#6967) 2026-06-05 10:20:46 -07:00