diff options
| author | Peter Stone <thepeterstone@gmail.com> | 2026-01-21 22:53:37 -1000 |
|---|---|---|
| committer | Peter Stone <thepeterstone@gmail.com> | 2026-01-21 22:53:37 -1000 |
| commit | 583f90c5dedf0235fa45557359b0e6e7dd62b0f0 (patch) | |
| tree | 304e4527b6668669197fc9ffdf2ffc87566478f0 /internal/handlers/handlers_test.go | |
| parent | dd4689a71de8f1c0b5a2d483827411a9645ad66a (diff) | |
Implement 10 UI/UX improvements and bug fixes
- Fix outdated Todoist task URL format (showTask -> app/task)
- Fix quick-add date defaulting to tomorrow in evening (client-side JS)
- Add tap-to-expand for task descriptions with checkbox completion
- Add visual differentiation: overdue (red), future (gray), today (normal)
- Sort tasks by urgency: overdue > today-timed > today-allday > future
- Keep completed tasks visible with strikethrough until refresh
- Add random Unsplash landscape background with content overlay
- Hide future tasks behind collapsible fold with count badge
- Unified modal menu for Quick Add + Bug Report (Ctrl+K shortcut)
- Click task title to edit description in modal
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Diffstat (limited to 'internal/handlers/handlers_test.go')
| -rw-r--r-- | internal/handlers/handlers_test.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/handlers/handlers_test.go b/internal/handlers/handlers_test.go index 6e9346a..e4a9f05 100644 --- a/internal/handlers/handlers_test.go +++ b/internal/handlers/handlers_test.go @@ -79,6 +79,10 @@ func (m *mockTodoistClient) CreateTask(ctx context.Context, content, projectID s return nil, nil } +func (m *mockTodoistClient) UpdateTask(ctx context.Context, taskID string, updates map[string]interface{}) error { + return m.err +} + func (m *mockTodoistClient) CompleteTask(ctx context.Context, taskID string) error { return nil } |
