drop/desktop/main/components
wdunn001 e8d3df032c
Some checks failed
Server CI / Lint (push) Failing after 9m53s
Server CI / Typecheck (push) Successful in 11m40s
desktop: native News, Friends, and Alerts pages; retire the browser-linkout Community tab
The News page was a hardcoded "under construction" stub, and the Friends/
Alerts header icons did nothing -- both replaced with real Vue pages/
widgets backed by the server's existing news/notifications/community APIs,
reached through a generic authenticated REST bridge (community_api.rs:
api_get/api_post/api_delete) and a websocket bridge for live chat/presence
(community_ws.rs, mirrors the reqwest_websocket pattern remote.rs already
uses for the auth-code exchange).

- News: GET /api/v1/client/news, rendered with micromark, with real
  loading/empty/error states.
- Alerts: GET/POST /api/v1/notifications/*, polled (not the notifications
  websocket -- see notifications.ts for why), unread badge + mark
  one/all read.
- Friends: full friends composable (list/requests/search/presence) plus a
  header dropdown and a /community/friends management page.
- Chat: /community/chat, rooms (server/global/title/DM) over the live
  community websocket with a REST history/read-state load on room switch.
- Achievements: per-game card on the library detail page and a per-user
  summary on the new read-only profile page (/community/profile/:username).
- The Community tab's "opens in your system browser" page is gone;
  /community is now a real in-app hub (activity feed + server list) linking
  into friends/chat.

Also fixes a real auth gap found by actually running the built client
against the live server: notifications/community routes are gated by
aclManager.getUserIdACL, which only accepts a session cookie or an opaque
Bearer APIToken -- never the client's own short-lived signed JWT
(generate_authorization_header). The client already had a bridge for this
(POST /api/v1/client/user/webtoken, JWT-authenticated, mints an opaque
token), but CLIENT_WEBTOKEN_ACLS never granted it the notifications/
community scopes, so the exchange succeeded and the minted token still got
403'd on every one of these routes. Extended that ACL list
(04.auth-init.ts) and switched community_api.rs/community_ws.rs to mint and
use that webtoken instead of the JWT for these specific calls.

Client version bumped to 0.4.2 (tauri.conf.json).
2026-08-03 19:42:50 -04:00
..
GameOptions desktop: wire the orphaned cloud_saves crate to the server saves API + a Saves tab 2026-08-01 23:33:43 -04:00
ChatRoomGroup.vue desktop: native News, Friends, and Alerts pages; retire the browser-linkout Community tab 2026-08-03 19:42:50 -04:00
CommunityAvatar.vue desktop: native News, Friends, and Alerts pages; retire the browser-linkout Community tab 2026-08-03 19:42:50 -04:00
DefaultProtonButton.vue Async downloader, better Proton support (#183) 2026-02-06 23:24:14 +11:00
DependencyRequiredModal.vue Depot API & executor launch (#173) 2026-01-20 11:40:48 +11:00
GameOptionsModal.vue desktop: wire the orphaned cloud_saves crate to the server saves API + a Saves tab 2026-08-01 23:33:43 -04:00
GameStatusButton.vue Game updates (#187) 2026-02-25 23:27:30 +11:00
Header.vue desktop: native News, Friends, and Alerts pages; retire the browser-linkout Community tab 2026-08-03 19:42:50 -04:00
HeaderButton.vue Move frontend to main folder (#109) 2025-08-05 16:09:47 +10:00
HeaderFriendsWidget.vue desktop: native News, Friends, and Alerts pages; retire the browser-linkout Community tab 2026-08-03 19:42:50 -04:00
HeaderNotificationsWidget.vue desktop: native News, Friends, and Alerts pages; retire the browser-linkout Community tab 2026-08-03 19:42:50 -04:00
HeaderProtonSupportWidget.vue Game updates (#187) 2026-02-25 23:27:30 +11:00
HeaderQueueWidget.vue Async downloader, better Proton support (#183) 2026-02-06 23:24:14 +11:00
HeaderUserWidget.vue desktop: native News, Friends, and Alerts pages; retire the browser-linkout Community tab 2026-08-03 19:42:50 -04:00
HeaderWidget.vue Async downloader, better Proton support (#183) 2026-02-06 23:24:14 +11:00
InitiateAuthModule.vue Move frontend to main folder (#109) 2025-08-05 16:09:47 +10:00
InstallDirectorySelector.vue Depot API & executor launch (#173) 2026-01-20 11:40:48 +11:00
LibrarySearch.vue New v0.4.0 website 2026-04-03 01:25:10 +00:00
Logo.vue Move frontend to main folder (#109) 2025-08-05 16:09:47 +10:00
MiniHeader.vue Move frontend to main folder (#109) 2025-08-05 16:09:47 +10:00
OfflineHeaderWidget.vue Depot API & executor launch (#173) 2026-01-20 11:40:48 +11:00
PageWidget.vue Move frontend to main folder (#109) 2025-08-05 16:09:47 +10:00
WindowControl.vue Move frontend to main folder (#109) 2025-08-05 16:09:47 +10:00
Wordmark.vue Move frontend to main folder (#109) 2025-08-05 16:09:47 +10:00