diff --git a/orchestrator/src/client/pages/SettingsPage.tsx b/orchestrator/src/client/pages/SettingsPage.tsx index 5dab71a..858ff9a 100644 --- a/orchestrator/src/client/pages/SettingsPage.tsx +++ b/orchestrator/src/client/pages/SettingsPage.tsx @@ -3,9 +3,10 @@ */ import React, { useEffect, useMemo, useState } from "react" -import { Trash2 } from "lucide-react" +import { AlertTriangle, ArrowLeft, Settings, Trash2 } from "lucide-react" import { toast } from "sonner" +import { PageHeader } from "../components/layout" import { AlertDialog, AlertDialogAction, @@ -354,14 +355,17 @@ export const SettingsPage: React.FC = () => { } return ( -
-
-

Settings

-

Configure runtime behavior for this app.

-
+ <> + - - +
+ + Model @@ -896,15 +900,18 @@ export const SettingsPage: React.FC = () => { - + - Danger Zone +
+ + Danger Zone +
-
-
+
+
-
Clear Discovered Jobs
+
Clear Discovered Jobs
Delete all jobs with the status "discovered". Ready, applied, and skipped jobs are kept.
@@ -925,7 +932,7 @@ export const SettingsPage: React.FC = () => { Cancel - + Clear discovered @@ -933,11 +940,9 @@ export const SettingsPage: React.FC = () => {
- - -
+
-
Clear Database
+
Clear Database
Delete all jobs and pipeline runs from the database.
@@ -958,7 +963,7 @@ export const SettingsPage: React.FC = () => { Cancel - + Clear database @@ -979,5 +984,6 @@ export const SettingsPage: React.FC = () => {
+ ) } diff --git a/orchestrator/src/components/ui/button.tsx b/orchestrator/src/components/ui/button.tsx index 65d4fcd..c28a1f1 100644 --- a/orchestrator/src/components/ui/button.tsx +++ b/orchestrator/src/components/ui/button.tsx @@ -12,7 +12,7 @@ const buttonVariants = cva( default: "bg-primary text-primary-foreground shadow hover:bg-primary/90", destructive: - "bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90", + "bg-red-900 text-red-200 shadow-sm hover:bg-red-600/90", outline: "border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground", secondary: