Repository navigation
K2GO-553 feat(boot): show a "Preparing system" screen while the box makes its values - #745
Merged
Merged
Conversation
…akes its values The boot gate and Finishing setup show it when the box prints "[k2go-box-identity] begin" and keep it until the server answers. Light and dark animation variants.
…strings PreparingSystemScreen owns show-while-preparing and hide-on-answer for both entry points. The reconciler ends the "this launch printed begin" latch when the box answers, so a later services stop in the same launch is not a preparing boot. Headline and words added to strings.xml in all locales.
… system After an install with no content the box boots with the Library already on screen, so the screen showed only over the boot gate or Finishing setup. The Library now covers whenever it is not closing, and the feedback FAB hides while the screen is up.
Collaborator
Author
Update (8a63804)
|
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.
What changes
boxidentity/presentation/PreparingSystemScreen): text-free Lottie (light inres/raw, dark inres/raw-night), a fixed headline, and a random word that slides in every 2.5 s. Reduce Motion: first frame and one word, no slide.LibraryActivity) and Finishing setup (SetupProgressActivity) when the box prints[k2go-box-identity] begin, and hides when the server answers. Then the normal flow continues (OPEN flip, or the content downloads).EnvironmentProgress.preparingLaunch(): in-memory latch "this launch printed begin and has not answered yet". The reconciler can boot the box during the splash, before any screen listens.Why
EnvironmentProgressis the one owner of the environment's progress facts, and no other code holds this fact. Lifecycle: the begin line sets it; the first answer (reconciler), a new launch, a stop, or process death clears it.Verifications
BoxIdentityLine,WordCycle; env tests green. Lint: 0 errors, no MissingTranslation.Notes