[MeshCentral - 4]. Session end & error states. Remote desktop: visible connection lifecycle states - #250
Open
romanivan-flamingo wants to merge 1 commit into
Open
[MeshCentral - 4]. Session end & error states. Remote desktop: visible connection lifecycle states#250romanivan-flamingo wants to merge 1 commit into
romanivan-flamingo wants to merge 1 commit into
Conversation
Connection state is now reflected on the page itself instead of toast-only feedback: a reconnect shows a translucent "Connection lost - attempting to reconnect" overlay above the last frame, and a failed or never-established session shows a terminal "Connection lost" screen with Back and Retry buttons (Retry fully re-initializes the control client and tunnel). Previously a failed session left a dead black canvas behind a transient toast, and an initial connect failure was silent. The "Session ended by user" screen is intentionally not included - it needs the REMOTE_SESSION_ENDED backend event from the session lifecycle spec. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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
Part of the Remote Access Approval Flow epic (ClickUp 86agfp8w9), subtask [Admin FE] Session end & error states (86ajx04dg) - the BE-independent scope.
connectionStatus(connecting | connected | reconnecting | failed) driven by tunnel state changes; toasts stay, but the page now shows the state itself:tunnel.start()failure used to leave a silent dead canvas;connectedis now set on any state-3 transition, not only after a reconnect.Out of scope (blocked on BE session lifecycle spec): the "Session ended by user" screen - needs the
REMOTE_SESSION_ENDEDevent.Test plan (verified live on localhost against real agents)
🤖 Generated with Claude Code