feat: add instance list component and integrate into workspace
- Create InstanceList component with create/start/stop/restart/delete - Add tool instance icons (external, play, stop) - Integrate InstanceList into RepoWorkspace sidebar - Load tool types for instance creation - Add instance-specific CSS styles Quality gates: typecheck ✓, lint ✓, build ✓
This commit is contained in:
@@ -29,6 +29,9 @@ import {
|
||||
Image,
|
||||
Binary,
|
||||
Code,
|
||||
ArrowSquareOut,
|
||||
Play,
|
||||
Stop,
|
||||
} from "@phosphor-icons/react";
|
||||
|
||||
export type IconName =
|
||||
@@ -65,7 +68,10 @@ export type IconName =
|
||||
| "code"
|
||||
| "document"
|
||||
| "image"
|
||||
| "binary";
|
||||
| "binary"
|
||||
| "external"
|
||||
| "play"
|
||||
| "stop";
|
||||
|
||||
const iconMap: Record<IconName, React.ComponentType<{ size?: number | string; weight?: "thin" | "light" | "regular" | "bold" | "fill" | "duotone" }>> = {
|
||||
dashboard: House,
|
||||
@@ -102,6 +108,9 @@ const iconMap: Record<IconName, React.ComponentType<{ size?: number | string; we
|
||||
document: FileText,
|
||||
image: Image,
|
||||
binary: Binary,
|
||||
external: ArrowSquareOut,
|
||||
play: Play,
|
||||
stop: Stop,
|
||||
};
|
||||
|
||||
export interface IconProps {
|
||||
|
||||
Reference in New Issue
Block a user