super-productivity/src/app/features/tasks
Johannes Millan 422741f33f fix(focus-mode): preserve tracked task on header pause/resume (#6726)
Header play/pause button chained two unsetCurrentTask dispatches
(toggleStart → unsetCurrentTask → syncTrackingStopToSession$ →
pauseFocusSession → syncSessionPauseToTracking$ → unsetCurrentTask).
The second call ran with currentTaskId already null, so the reducer
captured null into lastCurrentTaskId, causing the next toggleStart
to fall back to the top task instead of the user's choice.

Fix at two layers:
- Effect: guard syncSessionPauseToTracking$ with currentTaskId$ so it
  skips the redundant dispatch.
- Reducer: make unsetCurrentTask idempotent for lastCurrentTaskId when
  currentTaskId is already null, defending the invariant against any
  similar chain.
2026-04-21 21:50:52 +02:00
..
add-task-bar Feat/to me it looks like there are lots of 60dd04 (#7280) 2026-04-20 12:04:38 +02:00
dialog-add-time-estimate-for-other-day
dialog-deadline style: migrate hardcoded values to design tokens 2026-04-20 17:14:38 +02:00
dialog-select-date-time
dialog-task-detail-panel
dialog-time-estimate
dialog-view-archived-task feat(dialog): disable autofocus on touch-primary devices via global MAT_DIALOG_DEFAULT_OPTIONS 2026-03-24 20:09:02 +01:00
dialog-view-task-reminders fix(reminder): prevent close-animation race and fix merge syntax in reminder module 2026-04-16 17:41:39 +02:00
pipes
select-task
store fix(focus-mode): preserve tracked task on header pause/resume (#6726) 2026-04-21 21:50:52 +02:00
task style(tasks): tighten work-view task done-toggle and right margin 2026-04-20 15:48:40 +02:00
task-attachment
task-context-menu fix(tasks): escape task IDs in querySelector to handle special characters (#7222) 2026-04-16 18:03:45 +02:00
task-detail-panel Feat/to me it looks like there are lots of 60dd04 (#7280) 2026-04-20 12:04:38 +02:00
task-list fix(boards): add missing drag delay for touch and extract shared signal 2026-03-30 17:50:55 +02:00
task-summary-table
task-summary-tables fix(tasks): guard all timeSpentOnDay and countOnDay accesses against undefined (#7207) 2026-04-13 15:47:40 +02:00
tasks-by-tag fix(tasks): guard all timeSpentOnDay and countOnDay accesses against undefined (#7207) 2026-04-13 15:47:40 +02:00
util fix(tasks): cap done sound pitch to prevent inaudible high frequencies (#6926) 2026-03-23 00:22:31 +01:00
_shared-tag-project-styles.scss
_task-shared.scss
filter-done-tasks.pipe.spec.ts
filter-done-tasks.pipe.ts
markdown-paste.service.ts
mention-config.service.ts Add list selection for 'Short Syntax' entity when editing a task (#6913) 2026-04-17 17:27:37 +02:00
move-to-archive.spec.ts
short-syntax.spec.ts fix(tasks): add fast pre-check and edge case tests for markdown link extraction 2026-03-30 23:06:20 +02:00
short-syntax.ts fix(tasks): add fast pre-check and edge case tests for markdown link extraction 2026-03-30 23:06:20 +02:00
task-focus.service.ts feat(onboarding): improve mobile gesture hints 2026-03-26 17:43:04 +01:00
task-shortcut.service.spec.ts
task-shortcut.service.ts
task.model.ts fix(tasks): fix deadline reminders showing empty dialog and re-triggering infinitely 2026-03-14 13:04:44 +01:00
task.service.spec.ts fix: harden archive payload repair and validation (#7248) 2026-04-18 23:18:20 +02:00
task.service.ts fix: harden archive payload repair and validation (#7248) 2026-04-18 23:18:20 +02:00
task.test-helper.ts