Refactor task views with layout toggles

This commit reorganizes client and project-assignment screens into dedicated grid/list components, adds a shared layout toggle via the URL query string, and updates task pages to render the selected view consistently. It also moves shared client form logic into a client folder, improves status badge formatting, extends LazyImage with custom image classes, and updates the illustration assets and Lucide dependency used in the task UI.
This commit is contained in:
Ichsan Kurniawan
2026-10-01 18:32:56 +07:00
parent f9829de388
commit ffcf3c6e58
21 changed files with 1442 additions and 784 deletions
@@ -16,7 +16,7 @@ import Image from 'next/image';
import { IClient } from '@/app/(dashboard)/task/types';
import { LazyImage } from '@/components/ui/lazy-image';
import BadgeStatus from '@/components/ui/badge-status';
import FormClient from '@/app/(dashboard)/task/component/FormClient';
import FormClient from '@/app/(dashboard)/task/component/client/FormClient';
import { ConfirmDeleteWithInput } from '@/components/modal/ConfirmDeleteWithInput';
type Props = {