mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-02-03 08:53:36 +00:00
refactor: remove ultrathink toast notifications and clean up component structure in BoardView and WelcomeStep
This commit is contained in:
@@ -2246,13 +2246,6 @@ export function BoardView() {
|
|||||||
model: profile.model,
|
model: profile.model,
|
||||||
thinkingLevel: profile.thinkingLevel,
|
thinkingLevel: profile.thinkingLevel,
|
||||||
});
|
});
|
||||||
if (profile.thinkingLevel === "ultrathink") {
|
|
||||||
toast.warning("Ultrathink Selected", {
|
|
||||||
description:
|
|
||||||
"Ultrathink uses extensive reasoning (45-180s, ~$0.48/task).",
|
|
||||||
duration: 4000,
|
|
||||||
});
|
|
||||||
}
|
|
||||||
}}
|
}}
|
||||||
className={cn(
|
className={cn(
|
||||||
"flex items-center gap-2 p-2 rounded-lg border text-left transition-all",
|
"flex items-center gap-2 p-2 rounded-lg border text-left transition-all",
|
||||||
@@ -2262,9 +2255,7 @@ export function BoardView() {
|
|||||||
)}
|
)}
|
||||||
data-testid={`profile-quick-select-${profile.id}`}
|
data-testid={`profile-quick-select-${profile.id}`}
|
||||||
>
|
>
|
||||||
<div
|
<div className="w-7 h-7 rounded flex items-center justify-center flex-shrink-0 bg-primary/10">
|
||||||
className="w-7 h-7 rounded flex items-center justify-center flex-shrink-0 bg-primary/10"
|
|
||||||
>
|
|
||||||
{IconComponent && (
|
{IconComponent && (
|
||||||
<IconComponent className="w-4 h-4 text-primary" />
|
<IconComponent className="w-4 h-4 text-primary" />
|
||||||
)}
|
)}
|
||||||
@@ -2355,13 +2346,6 @@ export function BoardView() {
|
|||||||
...newFeature,
|
...newFeature,
|
||||||
thinkingLevel: level,
|
thinkingLevel: level,
|
||||||
});
|
});
|
||||||
if (level === "ultrathink") {
|
|
||||||
toast.warning("Ultrathink Selected", {
|
|
||||||
description:
|
|
||||||
"Ultrathink uses extensive reasoning (45-180s, ~$0.48/task). Best for complex architecture, migrations, or debugging.",
|
|
||||||
duration: 5000,
|
|
||||||
});
|
|
||||||
}
|
|
||||||
}}
|
}}
|
||||||
className={cn(
|
className={cn(
|
||||||
"flex-1 px-3 py-2 rounded-md border text-sm font-medium transition-colors min-w-[60px]",
|
"flex-1 px-3 py-2 rounded-md border text-sm font-medium transition-colors min-w-[60px]",
|
||||||
@@ -2387,7 +2371,6 @@ export function BoardView() {
|
|||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
</TabsContent>
|
</TabsContent>
|
||||||
|
|
||||||
{/* Testing Tab */}
|
{/* Testing Tab */}
|
||||||
@@ -2627,13 +2610,6 @@ export function BoardView() {
|
|||||||
model: profile.model,
|
model: profile.model,
|
||||||
thinkingLevel: profile.thinkingLevel,
|
thinkingLevel: profile.thinkingLevel,
|
||||||
});
|
});
|
||||||
if (profile.thinkingLevel === "ultrathink") {
|
|
||||||
toast.warning("Ultrathink Selected", {
|
|
||||||
description:
|
|
||||||
"Ultrathink uses extensive reasoning (45-180s, ~$0.48/task).",
|
|
||||||
duration: 4000,
|
|
||||||
});
|
|
||||||
}
|
|
||||||
}}
|
}}
|
||||||
className={cn(
|
className={cn(
|
||||||
"flex items-center gap-2 p-2 rounded-lg border text-left transition-all",
|
"flex items-center gap-2 p-2 rounded-lg border text-left transition-all",
|
||||||
@@ -2643,9 +2619,7 @@ export function BoardView() {
|
|||||||
)}
|
)}
|
||||||
data-testid={`edit-profile-quick-select-${profile.id}`}
|
data-testid={`edit-profile-quick-select-${profile.id}`}
|
||||||
>
|
>
|
||||||
<div
|
<div className="w-7 h-7 rounded flex items-center justify-center flex-shrink-0 bg-primary/10">
|
||||||
className="w-7 h-7 rounded flex items-center justify-center flex-shrink-0 bg-primary/10"
|
|
||||||
>
|
|
||||||
{IconComponent && (
|
{IconComponent && (
|
||||||
<IconComponent className="w-4 h-4 text-primary" />
|
<IconComponent className="w-4 h-4 text-primary" />
|
||||||
)}
|
)}
|
||||||
@@ -2727,13 +2701,6 @@ export function BoardView() {
|
|||||||
...editingFeature,
|
...editingFeature,
|
||||||
thinkingLevel: level,
|
thinkingLevel: level,
|
||||||
});
|
});
|
||||||
if (level === "ultrathink") {
|
|
||||||
toast.warning("Ultrathink Selected", {
|
|
||||||
description:
|
|
||||||
"Ultrathink uses extensive reasoning (45-180s, ~$0.48/task). Best for complex architecture, migrations, or debugging.",
|
|
||||||
duration: 5000,
|
|
||||||
});
|
|
||||||
}
|
|
||||||
}}
|
}}
|
||||||
className={cn(
|
className={cn(
|
||||||
"flex-1 px-3 py-2 rounded-md border text-sm font-medium transition-colors min-w-[60px]",
|
"flex-1 px-3 py-2 rounded-md border text-sm font-medium transition-colors min-w-[60px]",
|
||||||
@@ -2760,7 +2727,6 @@ export function BoardView() {
|
|||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
</TabsContent>
|
</TabsContent>
|
||||||
|
|
||||||
{/* Testing Tab */}
|
{/* Testing Tab */}
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ export function WelcomeStep({ onNext }: WelcomeStepProps) {
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="grid grid-cols-1 md:grid-cols-2 gap-4 max-w-2xl mx-auto">
|
<div className="grid grid-cols-1 gap-4 max-w-md mx-auto place-items-center">
|
||||||
<Card className="bg-card/50 border-border hover:border-brand-500/50 transition-colors">
|
<Card className="bg-card/50 border-border hover:border-brand-500/50 transition-colors">
|
||||||
<CardHeader className="pb-3">
|
<CardHeader className="pb-3">
|
||||||
<CardTitle className="text-base flex items-center gap-2">
|
<CardTitle className="text-base flex items-center gap-2">
|
||||||
|
|||||||
Reference in New Issue
Block a user