Skip to content

fix(ui): the restart banner shows in a lane's views again - #423

Merged
p-i-p merged 1 commit into
mainfrom
fix/restart-banner-on-lanes
Nov 3, 2026
Merged

p-i-p merged 1 commit into
mainfrom
fix/restart-banner-on-lanes

Conversation

@p-i-p

@p-i-p p-i-p commented Nov 3, 2026

Copy link
Copy Markdown
Member

What

"The stack file changed since stack started. It applies after a restart." (and "another devstack is installed"), with its Restart stack button, moved to the stack's page with ADR-0081 and was gone from every lane's view, although the stack file gets edited in a lane's worktree.

RestartBanner is now the one banner both views show. The stack's page says it of the main tree's stack file (as before); a lane's view of the shown lane's own (as it was before ADR-0081). A read-only view (someone else's lane, a lane whose worktree is gone) shows no button.

Review card (ADR-0070)

Category Point Beats Reversing costs
contract The restart banner (changed stack file, another devstack installed), with its Restart stack button, stands above the stack's page and above every lane's views, main included The banner on the stack's page only (ADR-0081, point 3) UI only

Approved in the conversation on 2026-11-03: the point above, and to open and merge this pull request.

Decided without asking: the Restart stack button stays in the lane's banner, the one stack-level control a lane's view shows (the page header's stack actions stay on the page); a lane's banner follows the lane's own stack file, not the main tree's; ADR-0081 gets an addendum instead of a new ADR.

Checked

  • npm run typecheck and vitest run (141 tests, a new RestartBanner.test.ts among them)
  • The mock dashboard (?mock=configchanged): the banner shows on the stack's page, in the lane main and in agent-login-fix

🤖 Generated with Claude Code

ADR-0081 moved "the stack file changed since the stack started" and
"another devstack is installed", with their Restart stack button, to the
stack's page; every lane's view lost them, although the stack file gets
edited in a lane's worktree. RestartBanner is the one banner both pages
show: the page says it of the main tree's stack file, a lane's view of
the shown lane's own.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@p-i-p
p-i-p merged commit 442d3cd into main Nov 3, 2026
@p-i-p
p-i-p deleted the fix/restart-banner-on-lanes branch November 3, 2026 16:00
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