fix: emit initial status on init + remove duplicate home slot #102 - #103
Merged
Merged
Conversation
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.
Closes #102
Root Cause
After A2.1 event bus migration, the TUI showed a static pink dot with no text/version because
initVersionnever published an initial status event. The event bus replay mechanism had nothing to replay.Also the brain bar appeared twice on home because both
home_bottomandhome_footerrendered the same centered bar.Fix
initVersion()now callswrite({ phase: 'init', statusText: 'initializing ...' })— emits initial yellow-dot state to the event bus.home_footerslot — keep onlyhome_bottomfor home screen.Summary by cubic
Emit an initial "init" status in
initVersion()so the TUI shows the yellow dot and version instead of a static pink dot. Remove the duplicate brain bar on home by dropping thehome_footerslot and keepinghome_bottomonly.Written for commit 108e273. Summary will update on new commits.