Repository navigation
fix(ui): the restart banner shows in a lane's views again - #423
Merged
Merged
Conversation
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>
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.
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.
RestartBanneris 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)
mainincludedApproved 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 typecheckandvitest run(141 tests, a newRestartBanner.test.tsamong them)?mock=configchanged): the banner shows on the stack's page, in the lanemainand inagent-login-fix🤖 Generated with Claude Code