Repository navigation
Conversation
The rig screens said too little about what was confirmed. A tap on HIDE or
Move stream showed a toast and nothing else, a failed join was one red
line, and a phone removed from the rig fell back to the empty panel without
saying why.
- One status with a headline and a line under it, drawn as a shape, a word
and a colour together. "Live" is only said for the hub's output; nothing
reads "not live" while it is live. Only what the hub reported is listed.
- Connect and Disconnect, Move stream to phone, HIDE and Show the picture
each show what was asked for until the hub's state confirms it ("Hide
requested, not confirmed yet"), and give up after 12 seconds without
assuming anything.
- The join sheet ends in "Joined your streaming setup" with what the rig
set and one button. An expired code, an unreachable hub and a wrong hub
each say what happened and what to do. A phone that was removed keeps a
note on the panel until it joins again.
- The decision waiting on a screen is its only filled button. HIDE is a
heavy outline in the text colour and sits above Disconnect.
- With the OSB_BRAND build condition (MOBLIN_FORK_FEATURES in
Config/Fork.xcconfig) the screens use paper and forest ink and the
latch-case mark, in light and dark. Without it they use system colours.
- Text styles scale with Dynamic Type, and each status and control has a
VoiceOver label and hint.
Debug builds can show every state without a hub (-HubShowcase <name>) and
run the panel's actions from system notifications, for screenshots and
Simulator runs. Fork/README.md describes both.
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.
I noticed the rig screens said too little about what was actually confirmed. A tap on HIDE or Move stream showed a toast and nothing else, a failed join was one red line, and a phone that was removed from the rig fell back to the empty panel without saying why.
What it adds
How
The wording and the rules for what each control shows are plain functions in
Moblin/Hub/HubProtocol.swift, with tests. The views inMoblin/View/Hub/only draw them. Colours, shapes and sizes are inHubLook.swift. WithOSB_BRAND(set throughMOBLIN_FORK_FEATURESinConfig/Fork.xcconfig) they use paper and forest ink and the latch-case mark. Without it they use the system's colours, so the default build is unchanged. "Live" is only said for the hub's output to the platform, and nothing reads "not live" while it is live.Sits on #1.
Details
-HubShowcase <name>), and run the panel's actions from system notifications on a Simulator.Fork/README.mddescribes both.tests/osb-hub, and a run on a Simulator against a local hub (join, Connect, Move stream to phone, HIDE, Show the picture). The Simulator has no camera, so a test picture stood in for the phone's feed in that run.