Skip to content

feat(deck): polish Deck UI and capture harness#84

Merged
papi-ux merged 4 commits into
masterfrom
nova/deck-ui-harness-pr-a
Jun 17, 2026
Merged

feat(deck): polish Deck UI and capture harness#84
papi-ux merged 4 commits into
masterfrom
nova/deck-ui-harness-pr-a

Conversation

@papi-ux

@papi-ux papi-ux commented Jun 17, 2026

Copy link
Copy Markdown
Owner

Summary

Polish the Steam Deck preview shell and add a repeatable Game Mode capture harness for validating the 1280×800 Deck experience.

This PR focuses on the Deck UI/harness slice after the no-network stream/media groundwork landed separately. It keeps the review surface to Deck preview UI, layout/focus polish, capture tooling, and focused tests.

Scope included

  • clients/deck/qml/Main.qml: preview UI polish, clearer non-executable copy, focus/readability improvements, and 1280×800 Deck-oriented layout adjustments.
  • clients/deck/src/deck_layout.cpp: layout model updates for Deck preview affordances.
  • clients/deck/tests/deck_layout_test.cpp: coverage for the refreshed layout/copy contract.
  • clients/deck/scripts/deck_gamemode_capture.py: Game Mode capture helper that selects the real 1280×800 Deck window and fails closed on ambiguous/helper windows.
  • clients/deck/tests/deck_gamemode_capture_test.py: harness behavior tests.
  • clients/deck/CMakeLists.txt: registers the capture harness test alongside the existing Deck CTest suite.

Explicitly not included

  • New stream-core/media-adapter work beyond the merged base.
  • Live Moonlight/Sunshine invocation or live streaming.
  • Host discovery/pairing or HostStore persistence.
  • Credentials, certificates, or session-token writes.
  • Deploy, release, or runtime host launch behavior.

Validation

  • git diff --check origin/master...HEAD -- clients/deck
  • python3 clients/deck/tests/deck_gamemode_capture_test.py
  • python3 clients/deck/scripts/deck_gamemode_capture.py --self-test
  • cmake -S clients/deck -B build/deck-qt-smoke-pr-a-refresh -DNOVA_DECK_BUILD_QT_SHELL=ON -DCMAKE_BUILD_TYPE=Debug
  • cmake --build build/deck-qt-smoke-pr-a-refresh
  • ctest --test-dir build/deck-qt-smoke-pr-a-refresh --output-on-failure

Safety notes

The capture helper is local validation tooling. It uses desktop/window inspection and screenshot commands only for proof capture, hides the cursor, and fails closed when the target window is missing or ambiguous. It does not start streaming, pair hosts, or launch games.

@papi-ux papi-ux merged commit ccb65dd into master Jun 17, 2026
6 checks passed
@papi-ux papi-ux deleted the nova/deck-ui-harness-pr-a branch June 17, 2026 19:41
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