mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-01-23 02:36:05 +00:00
When a user clicked on a task in the Schedule view and pressed Y to start time tracking, a different task was being tracked instead. This happened because Schedule view only sets selectedTaskId (for the detail panel) but not focusedTaskId (used by keyboard shortcuts). The fix modifies TaskShortcutService to use selectedTaskId as a fallback when focusedTaskId is null, specifically for the togglePlay (Y) shortcut. Priority order: 1. If focusedTaskId exists → delegate to TaskComponent (existing behavior) 2. If no focusedTaskId but selectedTaskId exists → toggle tracking for selected task 3. If neither exists → use global toggle behavior Fixes #5884 |
||
|---|---|---|
| .. | ||
| app | ||
| assets | ||
| environments | ||
| static | ||
| styles | ||
| test-helpers | ||
| typings | ||
| _common.scss | ||
| favicon.ico | ||
| hammer-config.class.ts | ||
| index.html | ||
| karma.conf.js | ||
| main.ts | ||
| manifest.json | ||
| polyfills.ts | ||
| styles.scss | ||
| test.ts | ||
| tsconfig.app.json | ||
| tsconfig.spec.json | ||
| tsconfig.worker.json | ||