feat(desktop): add workspace status bar items#4253
Open
lizhengwu wants to merge 1 commit into
Open
Conversation
esengine
pushed a commit
that referenced
this pull request
Jun 14, 2026
Add a General settings layout-style option (classic default + Codex-inspired workbench sidebar with compact project grouping, project/session quick actions, pinned grouping, archive behavior). Persist project/topic pinned state across desktop config (backward-compatible, dedupes, drops stale pins). layout_style is UI-only and defaults to classic. Integrates #4253 by @lizhengwu. Co-authored-by: SivanCola <32437197+SivanCola@users.noreply.github.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.
Summary
Fixes #4063.
This PR adds workspace context to the desktop status bar by
integrating workspace and Git branch as configurable status
bar items.
workspaceandgit_branchto the existingconfigurable status bar item framework.
status bar.
the existing status bar settings.
workspace context, since it is not confirmed to be the tab-
effective sandbox path.
Why
The desktop status bar was missing stable workspace context,
making it harder to identify which workspace/session is
currently active. This is especially noticeable when multiple
tabs or projects are open.
Test Plan
npm testgo test . -run 'TestMetaForTabIncludesWorkspaceContext| TestListTabsDoesNotExposeConfiguredSandboxPath| TestMetaForTabLeavesGitBranchEmptyOutsideGit| TestWorkspaceGitBranch|TestWorkspaceGitDisablesDaemonSpawns' -count=1git diff --check