Skip to content

Two-column Standard HUD when Diagnostics is on#77

Closed
oliversluke wants to merge 1 commit into
owenselles:mainfrom
oliversluke:feature/stats-hud-two-column
Closed

Two-column Standard HUD when Diagnostics is on#77
oliversluke wants to merge 1 commit into
owenselles:mainfrom
oliversluke:feature/stats-hud-two-column

Conversation

@oliversluke

Copy link
Copy Markdown
Contributor

Problem

The Standard statistics HUD fits the screen comfortably on its own (~18 rows), but enabling Diagnostics appends the entire Debug section — ~15–25 extra lines, several of them full-width wrapping sentences (decoded-video status, color-diagnostic status, display-layer metrics). That roughly doubles the panel height, so the lower rows run off the bottom of the screen and can't be read.

Change

When Diagnostics is on, lay the Standard HUD out in two columns — core stats (Network / Video / Audio / Session) on the left, Debug on the right — which roughly halves the height so everything stays visible. Compact and Standard-without-Diagnostics are unchanged (single column).

Small refactor of the layout helpers: the fixed 380 pt width moves from the whole panel onto a new column helper, and panel now just applies the font, padding, and background. Each column is 380 pt, so the two-column panel is wider (top-trailing anchored, as before).

Relationship to #76

#76 stops a tall HUD from zooming the video (moves the HUD into an .overlay). This PR is the complement: it keeps the extra Diagnostics rows on screen instead of overflowing. They're independent (different files) and can merge in either order; together you get no zoom and all rows visible.

Testing

Simulator build + SwiftFormat + SwiftLint (strict) pass. Worth a device check with Standard + Diagnostics enabled to confirm the two columns fit and read well.

🤖 Generated with Claude Code

@oliversluke oliversluke marked this pull request as draft July 11, 2026 11:05
The Standard statistics HUD fits the screen comfortably on its own, but
enabling Diagnostics appends the whole Debug section (~15-25 extra lines,
several of them wrapping sentences), roughly doubling the panel height so
the lower rows run off the bottom of the screen.

When Diagnostics is on, lay the Standard HUD out in two columns — core
stats (Network/Video/Audio/Session) on the left, Debug on the right —
which roughly halves the height so everything stays visible. Compact and
Standard-without-Diagnostics are unchanged (single column). Splits the
panel/column layout helpers so the fixed 380pt width now lives on each
column rather than the whole panel.

Complements owenselles#76 (which stops the tall HUD from zooming the video); this
keeps the extra Diagnostics rows on screen.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@oliversluke

Copy link
Copy Markdown
Contributor Author

Folded into #76, which now covers the video-zoom fix, the two-column Standard HUD, and the removal of the redundant Debug lines together (they're all the same 'tall Standard + Diagnostics HUD' concern, and testing them separately was causing confusion about which build had what). Closing this in favor of #76.

@oliversluke oliversluke deleted the feature/stats-hud-two-column branch July 11, 2026 11:52
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