summaryrefslogtreecommitdiff
path: root/internal/task/task_test.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-02-28 09:53:37 +0200
committerPaul Buetow <paul@buetow.org>2026-02-28 12:50:12 +0200
commit2dc3e8caf088c01169080ca381454c653d4af4ad (patch)
tree448a6068649ac9af173c11e7f5171245099fef32 /internal/task/task_test.go
parent18f0573596392c98b9567bd441e61fc35026bfc6 (diff)
refactor(ui): group Model fields into embedded sub-structs by concern
SRP/HIGH task (UUID d2de999b): the Model struct had 50+ fields spanning blink animation, search, detail-view, and inline editing concerns. Group related state into four anonymous embedded sub-structs: blinkState – row blink animation (5 fields) searchState – task-table and help-screen search (10 fields) detailViewState – task detail overlay (11 fields) editState – inline field editing (20 fields) Uses Go anonymous embedding so all existing field-access syntax (m.blinkID, m.searching, …) is preserved — no other files changed. Each sub-struct has a comment explaining its purpose and design rationale, including why detailDescEditing lives in detailViewState rather than editState. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'internal/task/task_test.go')
0 files changed, 0 insertions, 0 deletions