diff options
| author | Peter Stone <thepeterstone@gmail.com> | 2026-07-15 08:13:19 +0000 |
|---|---|---|
| committer | Peter Stone <thepeterstone@gmail.com> | 2026-07-16 02:49:19 +0000 |
| commit | bec930383e250b3641f9b241d8b664bacc90d533 (patch) | |
| tree | 8557a1dfbedbccfa036a20ff65737e7518dd2972 /migrations/017_add_bugs_resolved_at.sql | |
| parent | a9c9da2eaf9101a216fb7b7ab6c8e2f252c0cef4 (diff) | |
fix(widget): match task font color to events; complete instantly
TaskRow used a flat hardcoded gray (0xFFDDDDDD) while EventBlock used
Color.White (dimmed only when past) at the same size/weight -- the
color mismatch read as a font difference. Both now use the same
Color.White base.
CompleteTaskAction previously did no local update at all: the row
stayed visible until CompleteWorker's full complete() ->
fetchAndPersist() -> updateAll() round trip finished (two sequential
network calls). It now optimistically removes the completed item from
the cached list and re-renders immediately, matching RefreshTaskAction's
existing synchronous-flag-then-updateAll pattern -- the background
worker's own fetchAndPersist still replaces this with the authoritative
server state (including a newly-created recurring successor, if any)
moments later.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VTUSAEKfsPc6WGDq45yPHD
Diffstat (limited to 'migrations/017_add_bugs_resolved_at.sql')
0 files changed, 0 insertions, 0 deletions
