mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-02-01 20:23:36 +00:00
- Extract board-view into organized subfolders following new pattern: - components/: kanban-card, kanban-column - dialogs/: all dialog and modal components (8 files) - hooks/: all board-specific hooks (10 files) - shared/: reusable components between dialogs (model-selector, etc.) - Rename all files to kebab-case convention - Add barrel exports (index.ts) for clean imports - Add docs/folder-pattern.md documenting the folder structure - Reduce board-view.tsx from ~3600 lines to ~490 lines 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
50 lines
1.1 KiB
TypeScript
50 lines
1.1 KiB
TypeScript
import {
|
|
Brain,
|
|
Zap,
|
|
Scale,
|
|
Cpu,
|
|
Rocket,
|
|
Sparkles,
|
|
} from "lucide-react";
|
|
import type { AgentModel, ThinkingLevel } from "@/store/app-store";
|
|
|
|
// Icon mapping for profiles
|
|
export const PROFILE_ICONS: Record<
|
|
string,
|
|
React.ComponentType<{ className?: string }>
|
|
> = {
|
|
Brain,
|
|
Zap,
|
|
Scale,
|
|
Cpu,
|
|
Rocket,
|
|
Sparkles,
|
|
};
|
|
|
|
// Available icons for selection
|
|
export const ICON_OPTIONS = [
|
|
{ name: "Brain", icon: Brain },
|
|
{ name: "Zap", icon: Zap },
|
|
{ name: "Scale", icon: Scale },
|
|
{ name: "Cpu", icon: Cpu },
|
|
{ name: "Rocket", icon: Rocket },
|
|
{ name: "Sparkles", icon: Sparkles },
|
|
];
|
|
|
|
// Model options for the form
|
|
export const CLAUDE_MODELS: { id: AgentModel; label: string }[] = [
|
|
{ id: "haiku", label: "Claude Haiku" },
|
|
{ id: "sonnet", label: "Claude Sonnet" },
|
|
{ id: "opus", label: "Claude Opus" },
|
|
];
|
|
|
|
export const THINKING_LEVELS: { id: ThinkingLevel; label: string }[] = [
|
|
{ id: "none", label: "None" },
|
|
{ id: "low", label: "Low" },
|
|
{ id: "medium", label: "Medium" },
|
|
{ id: "high", label: "High" },
|
|
{ id: "ultrathink", label: "Ultrathink" },
|
|
];
|
|
|
|
|