Uh oh!
There was an error while loading. Please reload this page.
fix(shell): unmount the workbar toggle where no workbar exists - #1186
Merged
Conversation
Module pages (MCP / 技能 / 每日回顾 / 定时任务) rendered the right-panel collapse button disabled — a dead control in the topbar. The toggle now renders only when a session workbar is actually available; the now-unused workbarUnavailable copy is removed from the catalog and the chrome contract is re-pinned from the disabled-pattern to the hidden-pattern invariant. CDP: module-skills shows 4 topbar actions (no toggle), turn-narrative keeps 5 with 收起会话工作栏.
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 freeto 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.
User-reported (MCP page screenshot): the rightmost topbar button does nothing there.
The right-panel (workbar) collapse toggle rendered on every surface and was merely
disabledon module pages (MCP / 技能 / 每日回顾 / 定时任务) where no workbar exists — a dead control. It now unmounts entirely whenworkbarAvailableis false: chat sessions keep the working toggle, module pages drop it.Gates: desktop 2693/2693 · ui 183/183 · typecheck · check-dead-css · knip ×2 = 0. CDP: module-skills topbar = 4 actions (toggle gone), turn-narrative = 5 with 收起会话工作栏, zero disabled buttons on either.