Repository navigation
preflight: Lay out the bench like OBS's Stats window - #75
Draft
chriscoveries wants to merge 1 commit into
Draft
chriscoveries wants to merge 1 commit into
chriscoveries wants to merge 1 commit into
Conversation
Keep metric names, values and trends together and show all eight rows without scrolling. Values inside their limits get no status label, as in the Stats window, and congestion uses the same Warning and Danger words. The detail chart draws only render time, since the frame interval is the 100% line, and colours each threshold line with the theme's text-warning and text-danger colours. The sparkline uses the text colour so it stays visible on a selected row. Hide the destination line for recorded previews, shorten the bake-off note, size the loupe to its 400% crop, right-align Apply, and open the window at 1040x720.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Polish of the preflight window after the owner's review of the P6 renders ("nothing like the OBS interface"). These pictures are drawn off-screen by
test_preflight_ui_render, using OBS's own Yami theme and the recorded "congested uplink" trace. They aren't a live OBS run.What changed
Metric table
text-warningandtext-dangercolours. Congestion now uses the same two words instead of "Fair" and "Poor".Detail chart
Sparklines
Smaller fixes
preflight-bench-window.cpp:1754is fixed.Evidence
Local runs on an Apple Silicon Mac (macOS 27,
macos-cipreset, RelWithDebInfo), at this PR's head0716d0614:--dry-run --Werrorandgit diff --check: clean.obs-studioapp and all seventest_preflight_*targets build.ctest -R '^test_preflight_': 7 of 7 pass.test_preflight_ui_renderstill checks the verdict text, the tabs, the warning bands, zero-based round axes, the bake-off verdicts and the Apply diff.Not verified here: the window inside a running OBS, which the owner checks in the P7 app.
Thank you to the obs-rust maintainers and contributors for building this project in the open. In the American spirit of free expression and individual independence, and with the principle of judging contributions on their merit alone, this PR is a small piece of what independent people can build when they come together.