• Administrator's avatar
    refactor(task): decompose TaskView 2294→310 lines — Candidate 2 · 5975ab07
    Administrator authored
    
    
    TaskView was a god-view doing filter wiring, calendar rendering,
    edit-dialog state, image carousel, and image grid all inline. Pulled
    into focused modules:
    
    - src/components/task/TaskFilters.vue      — filter panel + emits update:*-id
    - src/components/task/TaskCalendar.vue     — FullCalendar wrapper
    - src/components/task/TaskEditDialog.vue   — create/edit dialog
    - src/components/task/TaskImageCarousel.vue — full-screen carousel
    - src/components/task/TaskImageGrid.vue    — thumbnail grid + upload
    - src/composables/useTaskFilters.js        — pure filter state + apply logic
    - src/utils/taskDisplay.js                 — completion/status display helpers
    
    Filter state now lives in useTaskFilters (covered by 20-test spec);
    TaskView is an orchestrator that mounts the children and forwards
    events. Closes the longest-standing "this file is too big to review"
    pain point.
    Co-Authored-By: default avatarClaude <noreply@anthropic.com>
    5975ab07
TaskView.vue 9.13 KB