diff --git a/src/routes/settings.workflows.tsx b/src/routes/settings.workflows.tsx index 3fa0073..5269c4f 100644 --- a/src/routes/settings.workflows.tsx +++ b/src/routes/settings.workflows.tsx @@ -1,8 +1,7 @@ -import { createFileRoute, Link } from "@tanstack/react-router"; +import { createFileRoute } from "@tanstack/react-router"; import { useEffect, useState, useCallback } from "react"; import { supabase } from "@/integrations/supabase/client"; import { useAuth } from "@/lib/auth"; -import { AppShell, PageContainer, PageHeader } from "@/components/app-shell"; import { Button } from "@/components/ui/button"; import { Input } from "@/components/ui/input"; import { Textarea } from "@/components/ui/textarea"; @@ -21,7 +20,7 @@ import { SelectTrigger, SelectValue, } from "@/components/ui/select"; -import { Plus, Trash2, ArrowLeft, Loader2 } from "lucide-react"; +import { Plus, Trash2 } from "lucide-react"; import { toast } from "sonner"; export const Route = createFileRoute("/settings/workflows")({ @@ -141,24 +140,20 @@ function WorkflowsPage() { }; return ( - - -
- - Settings - +
+
+
+

Workflow Templates

+

+ Reusable task lists. Apply one to a case to spawn the tasks with computed due dates. +

- setNewOpen(true)}> - New template - - } - /> + +
-
+
{templates.length === 0 && ( @@ -294,8 +289,7 @@ function WorkflowsPage() { - - - + +
); }