```
Also add a small progress bar under the header. Change lines 39-50 (the header section) to:
```tsx
{/* Header + progress */}
Checklist
{checklist.length > 0 && (
{checked}/{checklist.length}
)}
{checklist.length > 0 && (
)}
```
**Step 2: Verify TypeScript compiles**
Run: `npx tsc --noEmit`
Expected: No errors
**Step 3: Commit**
```bash
git add src/components/card-detail/ChecklistSection.tsx
git commit -m "feat: add scroll containment and progress bar to checklist"
```
---
### Task 4: Remove unused Separator import + visual verification
**Files:**
- Modify: `src/components/card-detail/CardDetailModal.tsx` (verify no stale imports)
**Step 1: Verify the file has no unused imports**
The rewrite in Task 1 already removed the `Separator` import. Confirm the import block does NOT include:
- `import { Separator } from "@/components/ui/separator";`
If it's still there, delete it.
**Step 2: Run TypeScript check**
Run: `npx tsc --noEmit`
Expected: No errors
**Step 3: Run the dev server and visually verify**
Run: `npm run dev` (or `npx tauri dev` if checking in Tauri)
Verify:
- Card detail modal opens on card click
- Full-width header shows cover color (or neutral bg)
- Title is editable (click to edit, Enter/Escape)
- Close button [x] works
- 2x3 grid: Labels | Due Date / Checklist | Description / Cover | Attachments
- Each cell has rounded-lg background
- Checklist scrolls when > ~6 items
- Description shows compact preview
- All animations stagger in
- Escape closes modal
- Click outside closes modal
**Step 4: Commit**
```bash
git add -A
git commit -m "feat: card detail modal dashboard grid redesign complete"
```