fix(app): keep pinned workspace labels aligned

Reserve the leading status slot for idle pinned rows so labels do not shift when workspace status changes.
This commit is contained in:
Mohamed Boudra
2026-07-21 15:32:22 +02:00
parent 6755341fbb
commit d6dc309408
2 changed files with 0 additions and 2 deletions

View File

@@ -2303,7 +2303,6 @@ function ProjectModeList({
canCopyBranchName={workspace.projectKind === "git"} canCopyBranchName={workspace.projectKind === "git"}
canPin={supportsPinningByServerId.get(workspace.serverId) === true} canPin={supportsPinningByServerId.get(workspace.serverId) === true}
onToggleWorkspacePin={onToggleWorkspacePin} onToggleWorkspacePin={onToggleWorkspacePin}
reserveIdleStatusIndicatorSpace={false}
isCreating={creatingWorkspaceIds.has(workspace.workspaceId)} isCreating={creatingWorkspaceIds.has(workspace.workspaceId)}
selectionEnabled={selectionEnabled} selectionEnabled={selectionEnabled}
activeWorkspaceSelection={activeWorkspaceSelection} activeWorkspaceSelection={activeWorkspaceSelection}

View File

@@ -116,7 +116,6 @@ export function SidebarStatusWorkspaceList({
showShortcutBadge={showShortcutBadges} showShortcutBadge={showShortcutBadges}
canPin={supportsPinningByServerId.get(workspace.serverId) === true} canPin={supportsPinningByServerId.get(workspace.serverId) === true}
onToggleWorkspacePin={onToggleWorkspacePin} onToggleWorkspacePin={onToggleWorkspacePin}
reserveIdleStatusIndicatorSpace={false}
onWorkspacePress={onWorkspacePress} onWorkspacePress={onWorkspacePress}
/> />
))} ))}