Repository navigation
refactor(desktop): move session health feedback into the conversation flow - #1035
Merged
Merged
Conversation
… flow Remove the chat header status cluster and routine Running / event-stream recovery badges. Surface only hard-block connection health problems as a composer-adjacent notice with recovery actions, and fold the fake-backend banner into the same hard-only matrix. Closes #1032
Satisfy the #499 state-token governance contract for the composer-adjacent health notice recovery button.
Gate the composer-adjacent notice on navSelection.section === 'sessions' so Skills / Automations / Daily Review do not show chat connection health.
This was referenced Jul 15, 2026
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.
Summary
Closes #1032.
The chat surface no longer mounts a header status cluster that mixed routine lifecycle badges (
Running), transient event-stream recovery, and actionable connection problems. Only hard-block health conditions now appear as a composer-adjacent notice with a recovery action; soft rebind heads-ups, session lifecycle badges, event-stream recovery badges, and the always-on fake-backend banner are gone.Placement deliberately sits above the composer (outside the message scroll area, beside the existing interaction-slot seam) rather than end-of-list inline, so the recovery path stays visible before send. Durable failed/blocked turn outcomes stay on the turn; sidebar session status icons are unchanged.
Verification
npm --workspace @maka/ui run buildapps/desktop:npm run typechecknode --test dist/main/__tests__/session-health-notice.test.jsnode --test dist/main/__tests__/session-health-notice-layout-contract.test.jsnode --test dist/main/__tests__/task-ledger-desktop-contract.test.js dist/main/__tests__/chat-header-actions-inset-contract.test.js dist/main/__tests__/visible-copy-hygiene-contract.test.jsReview focus
deriveSessionHealthNotice(soft rebind → silent)maka-composer-interaction-slot/Composer