mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-07-26 01:14:22 +00:00
Tightens five smaller P2/P3 findings from the multi-agent review in one batch: - Slash menu: single-char keys with Ctrl/Cmd/Alt or during IME composition (ev.isComposing) no longer extend the filter — fixes Ctrl+S etc. silently accumulating in the filter and the IME composition swallow. Enter on a zero-matches filter now closes the menu and falls through to the editor instead of being eaten. - Slash menu "New task" action: captures currentCtx at start, sets slashActionInFlight to drop re-entrant triggers, and skips the doc insert if the user switched contexts during the host round-trip (the task is still saved in the host — only the chip insert is deferred). - taskRef / subTaskRef applyState now trusts task.isDone (the host's source of truth) instead of `n.attrs.isDone || task.isDone`. Previously a host-side clear would leave the chip visually stuck "done" while the user was focused inside it. - ensureSubtasksInJSON skips subTaskIds that aren't in the local cache yet — they would otherwise render as empty "ghost" rows with the is-missing style. They get inserted on the next refreshTaskCache + insertSubtaskByParent cycle naturally. - Slash-menu item rendering uses textContent for label and hint (icon stays as innerHTML — the SVG path map is constant). Label is constant today but pre-empts the XSS hazard if it ever sources from a task title. |
||
|---|---|---|
| .. | ||
| scripts | ||
| src | ||
| .gitignore | ||
| package-lock.json | ||
| package.json | ||
| tsconfig.json | ||