diff options
| author | Peter Stone <thepeterstone@gmail.com> | 2026-08-04 20:10:38 +0000 |
|---|---|---|
| committer | Peter Stone <thepeterstone@gmail.com> | 2026-08-04 20:10:38 +0000 |
| commit | 0400e59e5d4a0140e98af01ad1acbc83d3f3f0a7 (patch) | |
| tree | 330dce9f43a1961bf8170f1aa95c8a27ac32da8d /internal/store/projects_test.go | |
| parent | 0a410243dea33f204764000be81814e541dcae48 (diff) | |
Widget quick-add: surface errors instead of failing silently
addTask()'s failure path had no .onFailure handler, so a failed POST
(network hiccup, server down) left the Add sheet just sitting there
with zero feedback -- looked like the button did nothing.
Also: the five calls chained after a successful addTask (updateTask,
reschedule, setTaskProject, setTaskLabels, setTaskRecurrence) were
still unchecked, so a task could get created with silently-dropped
metadata even with the addTask fix in place. Both paths now collect
and toast what failed; the task itself still gets created and the
sheet still closes, since aborting would leave a task that already
exists server-side with no way to tell the user without a duplicate.
Diffstat (limited to 'internal/store/projects_test.go')
0 files changed, 0 insertions, 0 deletions
