From 6b5ff248c9f4f619d9144da3397da8b7b33fd686 Mon Sep 17 00:00:00 2001 From: Chen <99816898+donteatfriedrice@users.noreply.github.com> Date: Tue, 14 Apr 2026 11:56:16 +0800 Subject: [PATCH 1/2] fix: compact Available Connectors row layout MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Render the package label and sub-connectors on a single line with a comma-joined faint meta, matching the installed Data Sources rows. The previous multi-line `· Stars` / `· Notifications` layout left the leading dot visually unaligned. Co-Authored-By: Claude Opus 4.6 (1M context) --- .../src/renderer/components/SettingsPanel.tsx | 64 ++++++++----------- 1 file changed, 28 insertions(+), 36 deletions(-) diff --git a/packages/app/src/renderer/components/SettingsPanel.tsx b/packages/app/src/renderer/components/SettingsPanel.tsx index 87579f5..3cf6e2d 100644 --- a/packages/app/src/renderer/components/SettingsPanel.tsx +++ b/packages/app/src/renderer/components/SettingsPanel.tsx @@ -729,43 +729,35 @@ function ConnectorsTab({ claudeCount, codexCount, geminiCount }: { claudeCount: {!registryLoading && !registryError && discoverPackages.length === 0 && (

All connectors installed

)} - {!registryLoading && !registryError && discoverPackages.map(pkg => ( -
- -
- {pkg.label} - {pkg.subs.length > 1 ? ( -
- {pkg.subs.map((sub, i) => ( -
- · - {stripLabelPrefix(sub.label, pkg.label)} - {sub.description} -
- ))} -
- ) : ( - {pkg.description} - )} - {installErrors[pkg.name] && installingPackage !== pkg.name && ( -
{installErrors[pkg.name]}
- )} + {!registryLoading && !registryError && discoverPackages.map(pkg => { + const meta = pkg.subs.length > 1 + ? pkg.subs.map(s => stripLabelPrefix(s.label, pkg.label)).join(', ') + : pkg.description + return ( +
+ +
+ {pkg.label} + {meta && ( + {meta} + )} + {installErrors[pkg.name] && installingPackage !== pkg.name && ( +
{installErrors[pkg.name]}
+ )} +
+
- -
- ))} + ) + })} {syncError && ( From 5c92facd8dba40d4d44d7b60bd4d4ae5bab4f7ef Mon Sep 17 00:00:00 2001 From: Chen <99816898+donteatfriedrice@users.noreply.github.com> Date: Tue, 14 Apr 2026 11:59:35 +0800 Subject: [PATCH 2/2] fix: truncate long Available Connectors meta to single line Keep the package label always visible and clip the meta with ellipsis so long descriptions or many sub-connectors don't wrap and push the Install button. Co-Authored-By: Claude Opus 4.6 (1M context) --- packages/app/src/renderer/components/SettingsPanel.tsx | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/packages/app/src/renderer/components/SettingsPanel.tsx b/packages/app/src/renderer/components/SettingsPanel.tsx index 3cf6e2d..de1c8c1 100644 --- a/packages/app/src/renderer/components/SettingsPanel.tsx +++ b/packages/app/src/renderer/components/SettingsPanel.tsx @@ -740,10 +740,12 @@ function ConnectorsTab({ claudeCount, codexCount, geminiCount }: { claudeCount: style={{ background: pkg.color }} />
- {pkg.label} - {meta && ( - {meta} - )} +
+ {pkg.label} + {meta && ( + {meta} + )} +
{installErrors[pkg.name] && installingPackage !== pkg.name && (
{installErrors[pkg.name]}
)}