Files
plainleaf/client/codemirror
Matouš Jan FialkaandGitHub 4db49239a4 Fix extended task state widget click behavior in widgets (#1889)
* Fix extended task state widget click behavior in widgets

* Add mouse click handler on extended task state span to prevent
  CodeMirror from moving selection to widget source on normal click

* Let `Alt+Click` pass to parent div for the "cursor to source" behavior
  matching simple checkbox `Alt+Click` behavior

* Skip state cycling on `Alt+Click`

Signed-off-by: Matouš Jan Fialka <mjf@mjf.cz>

* Prevent task state corruption from concurrent cycling on mobile

On mobile, rapid taps on an enhanced task state (e.g. `[PLANNED]`) could
fire multiple events before the first `taskCycleAtPos` completed.  Add
a reentrancy guard to `taskCycleAtPos` so concurrent calls are dropped.

Signed-off-by: Matouš Jan Fialka <mjf@mjf.cz>

---------

Signed-off-by: Matouš Jan Fialka <mjf@mjf.cz>
2026-03-17 13:55:47 +01:00
..
2025-09-29 11:17:55 +02:00
2026-02-14 22:08:35 +01:00
2025-09-29 11:17:55 +02:00
2026-03-13 14:58:02 +01:00
2025-09-29 11:17:55 +02:00
2025-09-29 11:17:55 +02:00
2026-03-13 09:24:52 +01:00
2025-09-29 11:17:55 +02:00
2025-09-29 11:17:55 +02:00
2025-09-29 11:17:55 +02:00