diff --git a/app/(dashboard)/task/component/HomeTask.tsx b/app/(dashboard)/task/component/HomeTask.tsx index ea7be72..f77d796 100644 --- a/app/(dashboard)/task/component/HomeTask.tsx +++ b/app/(dashboard)/task/component/HomeTask.tsx @@ -31,19 +31,19 @@ export default function HomeTask({ clients = [] }: HomeTaskProps) { trend: null, }, { - title: 'Active Projects', + title: 'Projects', value: stats.activeProjects, icon: FolderGit2, trend: stats.projectsTrend, }, { - title: 'Active Internal Memos', + title: 'Internal Memos', value: stats.activeInternalMemos, icon: ClipboardClock, trend: stats.personnelTrend, }, { - title: 'Active Work Orders', + title: 'Work Orders', value: stats.activeWorkOrders, icon: FileText, trend: stats.workOrdersTrend, @@ -91,7 +91,7 @@ export default function HomeTask({ clients = [] }: HomeTaskProps) { {card.value} - {card.trend && ( + {/* {card.trend && (
↑ {card.trend} @@ -100,7 +100,7 @@ export default function HomeTask({ clients = [] }: HomeTaskProps) { vs last month
- )} + )} */} diff --git a/app/(dashboard)/task/component/client/ClientGrid.tsx b/app/(dashboard)/task/component/client/ClientGrid.tsx index 9fd7f9d..54279a8 100644 --- a/app/(dashboard)/task/component/client/ClientGrid.tsx +++ b/app/(dashboard)/task/component/client/ClientGrid.tsx @@ -2,7 +2,7 @@ import { motion } from 'motion/react'; import Link from 'next/link'; -import { ExternalLink, MoreHorizontal, FileText, Users, ClipboardList } from 'lucide-react'; +import { ExternalLink, MoreHorizontal, FileText, Users, ClipboardList, PencilLine, Trash } from 'lucide-react'; import { Card900 } from '@/components/ui/card'; import { Button } from '@/components/ui/button'; import { LazyImage } from '@/components/ui/lazy-image'; @@ -122,33 +122,6 @@ export default function ClientGrid({ clients, onEdit, onDelete }: ClientGridProp - {/* Dropdown Action Menu */} - - - - - - - View Client Detail - - onEdit(client)}> - Edit Client - - onDelete(client)} - className="text-destructive focus:text-destructive" - > - Delete Client - - - {/* Client Brand Logo & Corporate Name */} @@ -271,16 +244,35 @@ export default function ClientGrid({ clients, onEdit, onDelete }: ClientGridProp )} - - + + - + + + diff --git a/app/(dashboard)/task/component/client/ClientList.tsx b/app/(dashboard)/task/component/client/ClientList.tsx index 1993a34..6b8ea54 100644 --- a/app/(dashboard)/task/component/client/ClientList.tsx +++ b/app/(dashboard)/task/component/client/ClientList.tsx @@ -2,7 +2,7 @@ import { motion } from 'motion/react'; import Link from 'next/link'; -import { FileText, Users, ClipboardList, MoreHorizontal, ExternalLink } from 'lucide-react'; +import { FileText, Users, ClipboardList, MoreHorizontal, ExternalLink, Trash, PencilLine } from 'lucide-react'; import { Card900 } from '@/components/ui/card'; import { LazyImage } from '@/components/ui/lazy-image'; import { Button } from '@/components/ui/button'; @@ -21,19 +21,16 @@ import { IClient, CLIENT_FALLBACK_IMAGE } from '../../types'; import { getProjectStatusBreakdown } from '../../utils/client-overview-helpers'; import dynamic from 'next/dynamic'; -const ClientMilestoneTimeline = dynamic( - () => import('./ClientMilestoneTimeline'), - { - ssr: false, - loading: () => ( -
-
-
-
-
- ), - } -); +const ClientMilestoneTimeline = dynamic(() => import('./ClientMilestoneTimeline'), { + ssr: false, + loading: () => ( +
+
+
+
+
+ ), +}); interface ClientListProps { clients: IClient[]; @@ -240,7 +237,7 @@ export default function ClientList({ clients, onEdit, onDelete }: ClientListProp
- Active Work Orders + Work Orders
{activeWorkOrders}
@@ -250,41 +247,32 @@ export default function ClientList({ clients, onEdit, onDelete }: ClientListProp
- - - - - - - View Client Detail - - onEdit(client)}> - Edit Client - - onDelete(client)} - className="text-destructive focus:text-destructive" - > - Delete Client - - - + + +
diff --git a/app/(dashboard)/task/component/client/ClientMilestoneTimeline.tsx b/app/(dashboard)/task/component/client/ClientMilestoneTimeline.tsx index ee1a020..563e0d0 100644 --- a/app/(dashboard)/task/component/client/ClientMilestoneTimeline.tsx +++ b/app/(dashboard)/task/component/client/ClientMilestoneTimeline.tsx @@ -150,7 +150,7 @@ export default function ClientMilestoneTimeline({ client, variant = 'list' }: Cl {/* Timeline Viewport Container with group/rail for sibling hover coordination */}
-
+
{/* Continuous 2-Month Horizontal Rail */}
{/* Gradient Segments connecting Hari Ini -> Agenda 1 -> Agenda 2 -> ... */} @@ -200,7 +200,7 @@ export default function ClientMilestoneTimeline({ client, variant = 'list' }: Cl {/* If no milestones in range, show gentle notice */} {!hasAgendas && (
- + No upcoming milestones in the next 2 months