diff options
| author | Paul Buetow <paul@buetow.org> | 2026-02-28 09:53:37 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-02-28 12:50:12 +0200 |
| commit | 2dc3e8caf088c01169080ca381454c653d4af4ad (patch) | |
| tree | 448a6068649ac9af173c11e7f5171245099fef32 /internal/task | |
| parent | 18f0573596392c98b9567bd441e61fc35026bfc6 (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')
0 files changed, 0 insertions, 0 deletions
