thepopebot 1.2.75-beta.15 → 1.2.75-beta.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -293,7 +293,6 @@ function WorkspaceCommandButton({ workspaceId, diffStats, onDiffStatsRefresh, on
|
|
|
293
293
|
onClick: onShowDiff,
|
|
294
294
|
className: "text-xs leading-4 px-2.5 h-[28px] flex items-center gap-1.5 font-medium border border-border rounded-md whitespace-nowrap hover:bg-accent transition-colors cursor-pointer",
|
|
295
295
|
children: [
|
|
296
|
-
diffStats?.currentBranch && /* @__PURE__ */ jsx("span", { className: "text-muted-foreground truncate max-w-[120px]", title: diffStats.currentBranch, children: diffStats.currentBranch }),
|
|
297
296
|
/* @__PURE__ */ jsxs("span", { className: "text-green-500", children: [
|
|
298
297
|
"+",
|
|
299
298
|
diffStats?.insertions ?? 0
|
|
@@ -341,9 +341,6 @@ function WorkspaceCommandButton({ workspaceId, diffStats, onDiffStatsRefresh, on
|
|
|
341
341
|
onClick={onShowDiff}
|
|
342
342
|
className="text-xs leading-4 px-2.5 h-[28px] flex items-center gap-1.5 font-medium border border-border rounded-md whitespace-nowrap hover:bg-accent transition-colors cursor-pointer"
|
|
343
343
|
>
|
|
344
|
-
{diffStats?.currentBranch && (
|
|
345
|
-
<span className="text-muted-foreground truncate max-w-[120px]" title={diffStats.currentBranch}>{diffStats.currentBranch}</span>
|
|
346
|
-
)}
|
|
347
344
|
<span className="text-green-500">+{diffStats?.insertions ?? 0}</span>
|
|
348
345
|
<span className="text-destructive">-{diffStats?.deletions ?? 0}</span>
|
|
349
346
|
</button>
|
|
@@ -675,6 +675,15 @@ function TerminalView({ codeWorkspaceId, wsPath, isActive = true, showToolbar =
|
|
|
675
675
|
] })
|
|
676
676
|
] })
|
|
677
677
|
] }),
|
|
678
|
+
diffStats?.currentBranch && /* @__PURE__ */ jsx(
|
|
679
|
+
"button",
|
|
680
|
+
{
|
|
681
|
+
className: "code-toolbar-btn",
|
|
682
|
+
style: { cursor: "default", opacity: 0.7, maxWidth: 140, overflow: "hidden", textOverflow: "ellipsis", whiteSpace: "nowrap" },
|
|
683
|
+
title: diffStats.currentBranch,
|
|
684
|
+
children: diffStats.currentBranch
|
|
685
|
+
}
|
|
686
|
+
),
|
|
678
687
|
/* @__PURE__ */ jsx(
|
|
679
688
|
ToolbarCommandButton,
|
|
680
689
|
{
|
|
@@ -741,6 +741,15 @@ export default function TerminalView({ codeWorkspaceId, wsPath, isActive = true,
|
|
|
741
741
|
)}
|
|
742
742
|
</div>
|
|
743
743
|
)}
|
|
744
|
+
{diffStats?.currentBranch && (
|
|
745
|
+
<button
|
|
746
|
+
className="code-toolbar-btn"
|
|
747
|
+
style={{ cursor: 'default', opacity: 0.7, maxWidth: 140, overflow: 'hidden', textOverflow: 'ellipsis', whiteSpace: 'nowrap' }}
|
|
748
|
+
title={diffStats.currentBranch}
|
|
749
|
+
>
|
|
750
|
+
{diffStats.currentBranch}
|
|
751
|
+
</button>
|
|
752
|
+
)}
|
|
744
753
|
<ToolbarCommandButton
|
|
745
754
|
codeWorkspaceId={codeWorkspaceId}
|
|
746
755
|
diffStats={diffStats}
|