Commit graph

9 commits

Author SHA1 Message Date
Johannes Millan
b9d6dc6d86
test(e2e): update Show/hide task panel button label (#7260)
* test(e2e): update Show/hide task panel button label

The TOGGLE_DETAIL_PANEL translation was renamed from "Show/Hide
additional info" to "Show/hide task panel" in dd789d2, but e2e
selectors still referenced the old string, causing every test that
opens the task detail panel to time out.

https://claude.ai/code/session_011mX4Pr24S42svmA5j7fRux

* 18.2.1

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-04-17 22:19:22 +02:00
Johannes Millan
31480a5fab feat(tasks): replace drag handle with done toggle circle and improve mobile UX
- Replace drag handle with SVG done-toggle circle with checkmark draw-on animation
- Improve mobile UX: cdkDragStartDelay for touch, bottom-sheet context menu
- Move issue/repeat indicators from drag handle to tag-list as chips
- Add isFinishDayEnabled config toggle
- Reorder context menu: add sub task before duplicate, deadline as own entry
- Fix context menu not opening on swipe left
- Fix race condition in done toggle animation timeout
2026-03-22 18:14:16 +01:00
Johannes Millan
eec7538ed0 fix(e2e): fix flaky and failing E2E tests
- bug-5995: replace waitForLoadState with waitForAppReady and
  waitForURL to handle navigation timing under parallel load
- flowtime-timer-bug-5117: replace flaky countdown try/catch with
  single robust wait for complete-session button (25s timeout)
- task-detail: add Tab press after fill('') to trigger blur-based
  ngModel update on date/time inputs
- task-dragdrop: navigate back to Today view after project creation
  since app now navigates to new project on create
- base.page: dismiss blocking dialogs before addTask interaction
2026-02-06 17:31:57 +01:00
Johannes Millan
5512011aa2 refactor(task): rename button for toggling completion status 2026-01-28 21:55:04 +01:00
Johannes Millan
7d44438620 fix(e2e): use fill() for time input in task-detail tests
The time change tests failed because they computed new hours using
% 24, which produced invalid 12-hour format times (e.g., "13:30 PM").
Use fill() with a fixed valid time instead, following the pattern
from dialog.page.ts.
2026-01-06 13:45:30 +01:00
Johannes Millan
333c3a16bc fix(e2e): use pressSequentially for time input in task-detail tests
The fill() method on time combobox wasn't triggering proper change events.
Use clear() + pressSequentially() + Tab to properly commit the time change
before clicking Save.
2026-01-04 17:20:29 +01:00
Johannes Millan
098e19f9ca fix(e2e): use format-agnostic time change in task-detail tests
The tests assumed 12-hour AM/PM format, but the app defaults to en_gb
locale which uses 24-hour format. Changed to increment hour instead
of flipping AM/PM, which works with both formats.
2026-01-04 16:20:18 +01:00
Michael Huynh
6b258d45a1
refactor: address review for editing task created and completed 2025-11-02 14:03:38 +08:00
Michael Huynh
e5072995e8
feat(task): add ability to edit task created and completed 2025-11-01 17:14:26 +08:00