Skip to content

Remote: the header bar shows the connection, not the agent's status - #548

Open
MopigamesYT wants to merge 1 commit into
devfrom
fix/546-remote-header-status
Open

MopigamesYT wants to merge 1 commit into
devfrom
fix/546-remote-header-status

Conversation

@MopigamesYT

Copy link
Copy Markdown
Member

Closes #546

What changed

  • show() no longer appends the running chat's label ("Running export PATH=…") to "Connected to ".
  • The label is written only when the connection line changes, so notices and errors written there (a failed send's, "Files are still being uploaded", downloads, server updates) stay readable instead of being replaced at every refresh. A failed refresh clears it, and the next answer writes "Connected to …" again.

Screenshots

Visible change: before/after screenshots still have to be attached (they couldn't be taken here, no desktop build).

Checked here: GOOS=js go vet ./internal/ui (tests compiled), cmd/1loop-web wasm build, go test ./internal/server. Not run here: the internal/ui tests and the desktop build (no C compiler or X11/GL headers in this environment); CI runs them.

Assisted-by: Claude Opus 5.5 medium

🤖 Generated with Claude Code

…546)

show() appended the running chat's label ("Running export PATH=…") to
"Connected to <server>" and rewrote the label at every refresh, which
also erased, within a second, the notices and errors written there: a
failed send's error among them.

The bar now shows "Connected to <server>" only, written when it
changes; a failed refresh clears it so the next answer writes it again.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants