Skip to content

fix(session): show Stop as a stop button in the background work panel - #296

Closed
Tarquinen wants to merge 1 commit into
devfrom
subagent-stop-control
Closed

Tarquinen wants to merge 1 commit into
devfrom
subagent-stop-control

Conversation

@Tarquinen

Copy link
Copy Markdown
Member

In the background work panel, a row's Stop was a bare X next to a chevron, which read as "dismiss this row". It is now the stop square the app already uses for stopping, in a small outlined button. Rows also lose their trailing chevron; tapping a row still opens it. The touch target stays 48 dp and TalkBack is unchanged.

No motion added.

Before and after, light and dark

Subagents, scripts and shells together (script rows faked for the picture):

All row kinds, light and dark

Verified with scripts/check.sh :feature:session and the emulator screenshots above.

A row's Stop was a bare X beside a chevron, which read as dismissing the row.
It is now the stop square the app uses elsewhere, in a small outlined button,
and rows no longer end in a chevron: a tap on the row still opens it.

Verified: scripts/check.sh :feature:session on the Android VM, and light and
dark emulator screenshots of subagent, script and shell rows.
@Tarquinen Tarquinen closed this Nov 27, 2026
technicalheist pushed a commit to technicalheist/opencode-android that referenced this pull request Nov 28, 2026
…co#235)

* perf(drawer): stop caption deltas rebuilding the voice board

During a call Home rebuilt the voice session board twice on every action,
including each caption delta (20-30 a second): it filtered unread sessions,
worked out busy and attention directories and built a new board, only to
find it equal to the last one.

Now Home compares a cheap VoiceSessionBoardInput (status without busy,
sessions, active IDs, parent sources, pinned keys, the open session and the
Developer Mode home state) and builds and publishes the board only when that
changes. Ports iOS anomalyco#296 (8162a47d).

Verified: vm.sh check (full) passes. Ported captionDeltasNeverRebuildTheBoard:
200 deltas publish nothing, attention refreshes publish once each, and every
field the board reads changes the input too. On the VM JVM the per-action
cost dropped from about 11/33/170 us (50/200/1000 sessions) to about 0.4 us.

* fix(drawer): publish the voice board after Catch Up reconciles

The voice board watcher sat on the detail reducer, which runs before Catch Up
reconciles. After the current card was deleted from another device, the board
was published before Catch Up opened the next card, so the next card's
directory could be missing. The watcher now sits in fullBody() beside the
streamFocusSessionIDs watcher. This hole was there on dev too.

The ported voice board test now also varies manually unread keys, the open
session, family sessions, connection state, the server and Developer Mode.
The drawer parity row names voiceSessionBoardInput.

Verified on the Android VM: full scripts/check.sh passes.
CatchUpTests.theCardCatchUpOpensAfterADeletionIsStreamFocused fails without
the move and passes with it.
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.

1 participant