From 33b191d315baee286cfd64f869425eda5cdf77a4 Mon Sep 17 00:00:00 2001 From: Willie Date: Mon, 21 Sep 2026 03:53:58 +0800 Subject: [PATCH] feat(ui): open the install dialog on the URL tab Installing from a known repo URL is the common path, so it now leads the tab list and is where the dialog lands by default. The ?install=search link still opens the search tab. --- ui/src/components/InstallDialog.tsx | 2 +- ui/src/pages/ResourcesPage.tsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ui/src/components/InstallDialog.tsx b/ui/src/components/InstallDialog.tsx index 9d47adfbd..fc667a6d6 100644 --- a/ui/src/components/InstallDialog.tsx +++ b/ui/src/components/InstallDialog.tsx @@ -362,7 +362,7 @@ export default function InstallDialog({ kind, initialTab, initialSource, onClose const tabs = !isAgent && (
- {(['search', 'url'] as const).map((k) => ( + {(['url', 'search'] as const).map((k) => ( diff --git a/ui/src/pages/ResourcesPage.tsx b/ui/src/pages/ResourcesPage.tsx index e3bae250a..74eaa3b14 100644 --- a/ui/src/pages/ResourcesPage.tsx +++ b/ui/src/pages/ResourcesPage.tsx @@ -678,7 +678,7 @@ export default function ResourcesPage({ kind }: { kind: Kind }) { icon={isAgent ? Bot : Puzzle} title={t(isAgent ? 'resources.agents.empty.title' : 'resources.skills.empty.title')} description={t(isAgent ? 'resources.agents.empty.description' : 'resources.skills.empty.description')} - action={} + action={} /> ) : ( )} -