From 23c19d79c8840b0648daa6ec8fb8718a037fb38a Mon Sep 17 00:00:00 2001 From: Jinjing <6427696+AmethystLiang@users.noreply.github.com> Date: Sat, 11 Jul 2026 16:47:41 -0700 Subject: [PATCH] Simplify GitHub issue dialog workspace section to a status label (#8327) Remove the duplicated open/start workspace buttons and dropdown from GHEditSection now that the primary CTA lives in the issue header; show the attached workspace or "None yet" as plain metadata instead. --- .../src/components/GitHubItemDialog.tsx | 60 ++----------------- 1 file changed, 6 insertions(+), 54 deletions(-) diff --git a/src/renderer/src/components/GitHubItemDialog.tsx b/src/renderer/src/components/GitHubItemDialog.tsx index fec1c28dab6..5de98f93ebf 100644 --- a/src/renderer/src/components/GitHubItemDialog.tsx +++ b/src/renderer/src/components/GitHubItemDialog.tsx @@ -6338,68 +6338,20 @@ function GHEditSection({
+ {/* Why: primary open/start CTA lives only in the issue header — property + columns are metadata (status, assignees, labels, attached workspace). */}
{translate('auto.components.GitHubItemDialog.2e4d806c92', 'Workspace')}
{attachedWorkspaceLabel ? ( -
+
{attachedWorkspaceLabel}
- ) : null} - {hasAttachedWorkspace ? ( - - - - - - - - - onUse(item)}> - - {translate('auto.components.GitHubItemDialog.36182aa57f', 'Start new workspace')} - - - ) : ( - +
+ {translate('auto.components.GitHubItemDialog.886a64b081', 'None yet')} +
)}