diff --git a/src/renderer/components/skills/SkillImportModal.tsx b/src/renderer/components/skills/SkillImportModal.tsx index 07c4f6cd..41593ca8 100644 --- a/src/renderer/components/skills/SkillImportModal.tsx +++ b/src/renderer/components/skills/SkillImportModal.tsx @@ -5,7 +5,7 @@ import { Globe, Link, } from "@phosphor-icons/react"; -import { Modal, ActionButton } from "../ui"; +import { Modal, ActionButton, Input } from "../ui"; import { useAppStore } from "../../state/store"; type TabId = "github" | "local" | "url" | "skills_sh"; @@ -143,21 +143,13 @@ export function SkillImportModal({
{activeTab === "local" ? (
- setSource(e.target.value)} - placeholder={placeholder.local} - /> +
+ +
void handleBrowse()} />
) : ( - setSource(e.target.value)} - placeholder={placeholder[activeTab]} - /> + )} {activeTab === "skills_sh" && ( diff --git a/src/renderer/components/skills/SkillsSection.tsx b/src/renderer/components/skills/SkillsSection.tsx index 40c3f741..f9f80d23 100644 --- a/src/renderer/components/skills/SkillsSection.tsx +++ b/src/renderer/components/skills/SkillsSection.tsx @@ -5,7 +5,7 @@ import { } from "@phosphor-icons/react"; import type { AgentRecord } from "@shared/types"; import { useAppStore } from "../../state/store"; -import { EmptyState } from "../ui"; +import { ActionButton, EmptyState } from "../ui"; import { SkillList } from "./SkillList"; import { SkillImportModal } from "./SkillImportModal"; import { SkillDetail } from "./SkillDetail"; @@ -106,14 +106,12 @@ export function SkillsSection({ title="No skills imported" detail="Import skills from GitHub, a local path, or skills.sh to get started." action={ - + /> } /> ) : (