Mika Kuns
baba921696
refactor(ui): derive TaskRowViewModel CanX/DisabledReason pairs from one gate method
...
SendToQueue, Cancel, Refine, Planning and OpenWorktree each had a CanX property
and a hand-written negation of it for the DisabledReason tooltip, kept in sync
only by a comment's promise. Replace each pair with a private gate method
returning (Can, Reason) so there is one source of truth per condition, and add
a state-matrix test pinning down the CanX == (Reason == null) invariant that
the old comment only asserted.
2026-08-24 09:36:00 +02:00
..
2026-08-06 14:33:24 +02:00
2026-08-05 09:43:13 +02:00
2026-06-19 13:14:51 +02:00
2026-06-26 16:11:48 +02:00
2026-08-06 14:29:15 +02:00
2026-08-21 11:41:58 +02:00
2026-08-21 10:27:02 +02:00
2026-08-21 11:47:24 +02:00
2026-08-11 11:32:01 +02:00
2026-08-11 19:14:36 +02:00
2026-06-26 16:11:48 +02:00
2026-08-06 14:30:24 +02:00
2026-08-21 13:33:02 +02:00
2026-08-05 11:49:33 +02:00
2026-08-07 14:01:26 +02:00
2026-08-11 13:51:20 +02:00
2026-08-11 11:32:01 +02:00
2026-08-07 09:17:26 +02:00
2026-08-12 14:55:37 +02:00
2026-08-12 13:41:05 +02:00
2026-08-12 09:55:04 +02:00
2026-08-21 15:04:15 +02:00
2026-08-21 09:13:00 +02:00
2026-08-21 15:25:04 +02:00
2026-08-21 11:41:58 +02:00
2026-08-11 18:32:39 +02:00
2026-08-11 16:39:20 +02:00
2026-08-21 13:33:02 +02:00
2026-06-04 23:35:53 +02:00
2026-08-21 18:00:16 +02:00
2026-07-29 13:19:38 +02:00
2026-08-12 09:39:42 +02:00
2026-07-29 13:19:38 +02:00
2026-08-12 09:55:04 +02:00
2026-08-21 15:04:15 +02:00
2026-08-21 15:04:15 +02:00
2026-08-05 09:03:55 +02:00
2026-08-24 09:36:00 +02:00
2026-07-29 08:57:55 +02:00
2026-08-06 14:31:13 +02:00
2026-08-11 14:38:16 +02:00
2026-08-11 18:32:59 +02:00
2026-06-04 10:01:27 +02:00
2026-08-11 11:32:01 +02:00
2026-08-21 10:34:46 +02:00
2026-08-21 11:47:24 +02:00
2026-08-11 11:32:01 +02:00
2026-08-11 11:32:01 +02:00
2026-08-11 11:32:01 +02:00
2026-07-23 16:47:15 +02:00
2026-08-06 11:31:03 +02:00
2026-08-12 09:39:42 +02:00
2026-08-06 14:30:24 +02:00
2026-08-11 16:39:20 +02:00
2026-08-11 11:32:01 +02:00
2026-08-21 11:47:24 +02:00
2026-08-11 11:32:01 +02:00
2026-07-23 18:11:52 +02:00
2026-08-21 16:22:26 +02:00
2026-08-21 17:47:49 +02:00
2026-08-12 09:39:42 +02:00
2026-06-03 09:54:10 +02:00
2026-08-12 09:39:10 +02:00
2026-08-21 09:51:51 +02:00
2026-08-12 09:39:10 +02:00
2026-08-21 09:51:51 +02:00