Skip to content

Enhance game hub with media captures and session metadata#197

Draft
Jayian1890 wants to merge 2 commits intoOpenCloudGaming:devfrom
Jayian1890:game-hub
Draft

Enhance game hub with media captures and session metadata#197
Jayian1890 wants to merge 2 commits intoOpenCloudGaming:devfrom
Jayian1890:game-hub

Conversation

@Jayian1890
Copy link
Copy Markdown
Contributor

@Jayian1890 Jayian1890 commented Apr 6, 2026

This pull request introduces a new "Game Hub" detail panel to the controller library, surfacing game-specific information and recent captures (screenshots and videos) for selected games. It also improves the controller UI by making button hints context-aware and enhances settings propagation for microphone device selection. Several UI and style updates support the new Game Hub and improve the overall XMB interface.

Game Hub and Media Integration:

  • Added a "Game Hub" panel in ControllerLibraryPage that displays the selected game's description, session state, favorite status, and up to two recent captures (videos or screenshots), including loading and empty states. Thumbnails are fetched and displayed for each media item. [1] [2] [3] [4] [5] [6]
  • Introduced a new media category in the XMB navigation and supporting logic for media display.

UI/UX Improvements:

  • Refactored controller button hints to be context-aware, using a new renderFaceButton helper. Button labels now reflect "Play", "Switch", "Favorite", or "Unfavorite" as appropriate, and only show "Variant" if multiple game variants exist. [1] [2]
  • Updated the detail panel to be visible for both the current game and the selected game in the Game Hub.

State and Prop Handling:

  • Enhanced state management for pending game switches by tracking game description and ID, ensuring accurate display in the loading overlay. [1] [2] [3] [4]

Settings and Device Support:

  • Added support for propagating the selected microphone device ID through settings and into relevant components. [1] [2] [3]

Styling Updates:

  • Introduced extensive new CSS for the Game Hub panel, media grid, and meta chips, including responsive adjustments for various screen sizes. [1] [2]

@Jayian1890 Jayian1890 changed the title Enhance game hub with media captures and session metadata (fork:game-hub) Enhance game hub with media captures and session metadata Apr 6, 2026
@Jayian1890 Jayian1890 marked this pull request as ready for review April 6, 2026 15:09
@Jayian1890 Jayian1890 marked this pull request as draft April 6, 2026 15:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant