Lauri Ojansivu
b9edbcc858
Restore from Archive into a full list asks for another list, instead of doing nothing.
...
Restoring an archived card whose list had reached a hard WIP limit did
nothing at all: the Restore handlers checked canBeRestored() and, when it
said no, returned without a word or a method call, and Restore all
skipped such cards just as quietly.
- Restore, in the Archive sidebar and in an open archived card, now goes
through one function (restoreArchivedCard): a list that is full - or
gone - opens the restore-to-list popup, which says the list has reached
its WIP limit and offers only lists with room; with none left it says
so instead of offering a list that would fail again.
- Restore all restores every card that has room and then says how many
it left out and why. Its popup opens against the link kept before the
loop: after the awaits the browser has cleared evt.currentTarget.
- canBeRestored() decides with models/lib/wipRestore.js, which also
blocks a list that is OVER its hard limit: the old `===` let a card
into a list whose limit had been lowered below its count. A soft limit
still only warns.
Tests: tests/wipRestore.test.cjs (the rule, over-limit and soft/disabled
negatives, both Restore paths, Restore all's count, and a scan that no
client code skips a blocked restore without a word);
restore-wip-limit.e2e.js against the production bundle (restore into
another list with the full one not offered, Restore all restoring what
has room and naming the rest, a soft limit restoring at once), 12 of 12
over three repeats with the existing archive restore test. The four new
strings are translated in every locale.
Thanks to jullbo and xet7 !
Fixes #6772 .
2026-10-15 13:16:14 +03:00
..
2026-10-14 22:57:15 +03:00
2026-03-24 01:50:39 +02:00
2026-06-06 07:21:59 +03:00
2026-10-14 14:33:10 +03:00
2026-08-16 15:05:00 +03:00
2026-10-14 14:25:19 +03:00
2026-08-12 16:01:51 +03:00
2026-10-14 22:57:31 +03:00
2026-10-14 16:46:15 +03:00
2026-09-22 18:47:39 +03:00
2026-10-08 12:05:59 +03:00
2026-10-14 16:46:59 +03:00
2026-10-14 15:25:36 +03:00
2026-07-31 07:14:52 +03:00
2026-08-16 15:15:01 +03:00
2026-08-16 15:15:01 +03:00
2026-10-14 22:57:15 +03:00
2026-07-17 03:34:23 +03:00
2026-09-06 02:28:46 +03:00
2026-09-28 23:56:20 +03:00
2026-10-10 15:05:21 +03:00
2026-06-06 02:06:16 +03:00
2026-09-25 02:29:43 +03:00
2026-09-19 14:32:29 +03:00
2026-09-11 21:17:33 +03:00
2026-10-13 21:08:09 +03:00
2026-06-20 17:45:43 +03:00
2026-09-29 16:05:24 +03:00
2026-10-02 09:46:00 +03:00
2026-10-08 15:18:59 +03:00
2026-10-05 21:11:12 +03:00
2026-09-29 16:40:48 +03:00
2026-10-14 13:40:15 +03:00
2026-10-12 01:30:07 +03:00
2026-07-13 09:16:33 +03:00
2026-10-13 21:08:09 +03:00
2026-07-11 00:14:49 +03:00
2026-10-14 23:23:07 +03:00
2026-09-27 17:07:02 +03:00
2026-10-08 12:19:38 +03:00
2026-10-02 11:16:50 +03:00
2026-10-02 11:16:50 +03:00
2026-10-03 10:05:47 +03:00
2026-10-14 14:19:52 +03:00
2026-09-27 18:41:14 +03:00
2026-09-29 15:12:12 +03:00
2026-09-25 23:51:28 +03:00
2026-10-14 15:04:41 +03:00
2026-10-14 15:01:14 +03:00
2026-07-31 16:04:18 +03:00
2026-10-14 13:13:55 +03:00
2026-10-07 03:08:48 +03:00
2026-09-29 17:43:58 +03:00
2026-10-14 08:20:49 +03:00
2026-10-14 09:28:45 +03:00
2026-09-17 13:05:45 +03:00
2026-09-29 16:28:44 +03:00
2026-10-14 08:20:49 +03:00
2026-07-23 15:03:42 +03:00
2026-10-14 09:28:45 +03:00
2026-07-23 18:55:30 +03:00
2026-10-08 08:54:04 +03:00
2026-07-24 08:06:14 +03:00
2026-07-17 03:07:59 +03:00
2026-09-10 21:41:46 +03:00
2026-10-14 15:48:42 +03:00
2026-09-03 15:34:41 +03:00
2026-10-12 22:21:30 +03:00
2026-10-14 13:15:39 +03:00
2026-07-24 03:23:37 +03:00
2026-10-08 14:04:48 +03:00
2026-10-08 21:49:11 +03:00
2026-09-14 11:53:05 +03:00
2026-10-14 16:46:29 +03:00
2026-09-10 17:54:50 +03:00
2026-10-10 14:31:28 +03:00
2026-10-14 09:28:45 +03:00
2026-09-29 00:13:43 +03:00
2026-09-29 00:04:16 +03:00
2026-09-28 04:04:25 +03:00
2026-09-28 18:04:52 +03:00
2026-10-08 12:15:49 +03:00
2026-10-09 23:39:18 +03:00
2026-10-14 15:51:47 +03:00
2026-08-18 18:10:47 +03:00
2026-10-02 16:39:28 +03:00
2026-10-08 08:54:04 +03:00
2026-10-14 15:26:00 +03:00
2026-07-23 18:59:30 +03:00
2026-09-28 17:40:49 +03:00
2026-09-28 17:48:00 +03:00
2026-09-28 18:19:22 +03:00
2026-07-23 18:55:30 +03:00
2026-09-29 17:59:21 +03:00
2026-09-10 22:11:01 +03:00
2026-10-14 09:28:45 +03:00
2026-08-25 15:40:39 +03:00
2026-10-02 16:45:01 +03:00
2026-07-31 04:09:40 +03:00
2026-07-23 18:55:30 +03:00
2026-07-23 18:55:30 +03:00
2026-07-23 18:55:30 +03:00
2026-09-10 21:20:46 +03:00
2026-08-28 17:40:10 +03:00
2026-10-09 13:28:08 +03:00
2026-09-28 02:21:36 +03:00
2026-10-14 22:39:36 +03:00
2026-09-04 22:56:52 +03:00
2026-09-10 21:11:34 +03:00
2026-09-27 22:27:51 +03:00
2026-10-14 23:08:22 +03:00
2026-09-10 20:40:17 +03:00
2026-09-10 19:52:40 +03:00
2026-10-14 15:24:57 +03:00
2026-07-23 18:55:30 +03:00
2026-09-10 20:11:47 +03:00
2026-09-10 20:20:35 +03:00
2026-09-10 20:02:49 +03:00
2026-10-10 00:45:30 +03:00
2026-10-02 10:39:40 +03:00
2026-10-14 16:46:59 +03:00
2026-10-09 23:06:49 +03:00
2026-10-14 15:48:42 +03:00
2026-07-23 18:55:30 +03:00
2026-09-27 14:38:03 +03:00
2026-09-14 11:49:40 +03:00
2026-09-28 12:55:11 +03:00
2026-09-10 21:37:53 +03:00
2026-10-03 08:52:16 +03:00
2026-10-08 08:47:18 +03:00
2026-09-28 12:55:11 +03:00
2026-07-20 03:11:07 +03:00
2026-07-17 23:01:52 +03:00
2026-10-14 12:43:36 +03:00
2026-10-08 12:01:22 +03:00
2026-10-09 12:52:21 +03:00
2026-10-10 15:26:46 +03:00
2026-09-10 20:59:36 +03:00
2026-10-02 11:21:50 +03:00
2026-09-10 20:34:30 +03:00
2026-10-08 11:41:59 +03:00
2026-08-23 00:16:15 +03:00
2026-09-11 21:31:10 +03:00
2026-09-23 13:58:24 +03:00
2026-10-08 11:55:42 +03:00
2026-07-23 18:55:30 +03:00
2026-10-14 09:28:45 +03:00
2026-07-20 03:11:07 +03:00
2026-08-16 15:15:01 +03:00
2026-07-24 04:56:39 +03:00
2026-09-28 18:23:09 +03:00
2026-09-29 13:44:54 +03:00
2026-10-12 01:30:07 +03:00
2026-10-02 15:09:58 +03:00
2026-09-27 13:45:41 +03:00
2026-10-13 18:27:25 +03:00
2026-10-13 18:54:06 +03:00
2026-10-08 11:48:01 +03:00
2026-09-10 20:23:43 +03:00
2026-10-14 09:28:45 +03:00
2026-10-15 04:14:10 +03:00
2026-10-08 11:07:58 +03:00
2026-07-24 10:14:29 +03:00
2026-09-06 02:28:46 +03:00
2026-09-28 01:59:40 +03:00
2026-09-27 22:27:51 +03:00
2026-10-09 10:33:37 +03:00
2026-09-10 19:54:38 +03:00
2026-09-27 18:24:38 +03:00
2026-08-17 02:34:38 +03:00
2026-08-17 01:02:51 +03:00
2026-10-10 12:21:36 +03:00
2026-10-09 12:27:59 +03:00
2026-09-10 20:44:45 +03:00
2026-10-08 12:22:43 +03:00
2026-10-15 01:27:26 +03:00
2026-10-08 21:17:07 +03:00
2026-09-30 02:00:42 +03:00
2026-10-02 08:42:18 +03:00
2026-08-09 03:43:07 +03:00
2026-06-22 15:46:43 +03:00
2026-09-01 10:50:55 +03:00
2026-10-13 21:08:09 +03:00
2026-10-14 16:46:59 +03:00
2026-10-13 21:08:09 +03:00
2026-09-20 21:06:30 +03:00
2026-08-09 02:19:15 +03:00
2026-09-28 18:47:02 +03:00
2026-09-26 23:00:58 +03:00
2026-09-26 23:00:58 +03:00
2026-09-28 17:23:15 +03:00
2026-10-03 00:17:10 +03:00
2026-10-02 10:46:06 +03:00
2026-09-10 19:45:52 +03:00
2026-08-16 16:29:31 +03:00
2026-10-14 13:11:23 +03:00
2026-10-14 13:11:23 +03:00
2026-10-14 12:43:36 +03:00
2026-10-14 12:43:36 +03:00
2026-10-14 22:57:15 +03:00
2026-10-14 22:57:15 +03:00
2026-10-14 08:20:49 +03:00
2026-10-14 15:52:07 +03:00
2026-07-31 04:09:41 +03:00
2026-10-14 22:39:36 +03:00
2026-09-27 17:38:27 +03:00
2026-10-09 13:28:08 +03:00
2026-10-14 08:25:25 +03:00
2026-10-02 08:42:18 +03:00
2026-09-10 20:35:37 +03:00
2026-07-14 17:01:35 +03:00
2026-10-15 01:27:26 +03:00
2026-10-15 01:27:26 +03:00
2026-09-23 19:49:33 +03:00
2026-10-14 08:20:49 +03:00
2026-09-29 16:28:44 +03:00
2026-09-29 09:26:20 +03:00
2026-07-23 18:55:30 +03:00
2026-09-23 19:49:33 +03:00
2026-10-08 21:08:40 +03:00
2026-07-13 09:16:33 +03:00
2026-09-05 23:51:02 +03:00
2026-09-27 18:11:41 +03:00
2026-09-29 09:26:20 +03:00
2026-10-09 13:13:37 +03:00
2026-10-10 12:21:36 +03:00
2026-10-15 01:27:26 +03:00
2026-10-08 12:44:46 +03:00
2026-10-14 22:57:15 +03:00
2026-10-14 22:57:15 +03:00
2026-10-09 10:33:37 +03:00
2026-08-09 03:29:20 +03:00
2026-08-14 01:03:08 +03:00
2026-10-14 15:48:42 +03:00
2026-09-22 15:12:52 +03:00
2026-10-14 13:59:19 +03:00
2026-10-14 08:20:49 +03:00
2026-07-17 03:07:59 +03:00
2026-07-06 16:02:56 +03:00
2026-07-17 03:36:07 +03:00
2026-08-16 15:15:01 +03:00
2026-10-14 12:09:34 +03:00
2026-09-29 17:23:10 +03:00
2026-10-14 13:11:23 +03:00
2026-10-02 19:23:20 +03:00
2026-10-15 01:27:26 +03:00
2026-10-08 11:51:44 +03:00
2026-10-15 00:46:39 +03:00
2026-09-27 19:08:35 +03:00
2026-10-14 14:39:40 +03:00
2026-10-14 22:57:15 +03:00
2026-10-09 10:33:37 +03:00
2026-07-23 18:55:30 +03:00
2026-07-09 02:14:07 +03:00
2026-10-14 13:44:33 +03:00
2026-09-10 20:00:19 +03:00
2026-09-10 19:59:02 +03:00
2026-08-16 15:15:01 +03:00
2026-09-29 18:41:21 +03:00
2026-09-29 18:41:21 +03:00
2026-10-08 20:59:26 +03:00
2026-07-23 18:55:30 +03:00
2026-07-23 18:55:30 +03:00
2026-09-27 00:09:56 +03:00
2026-07-23 18:55:30 +03:00
2026-10-14 15:44:38 +03:00
2026-09-14 12:05:14 +03:00
2026-08-08 02:19:08 +03:00
2026-07-09 02:14:07 +03:00
2026-09-04 21:29:31 +03:00
2026-09-27 00:10:25 +03:00
2026-09-04 19:26:03 +03:00
2026-10-14 09:28:45 +03:00
2026-10-14 11:03:53 +03:00
2026-10-02 19:34:47 +03:00
2026-10-14 12:09:34 +03:00
2026-10-08 12:35:58 +03:00
2026-09-28 03:49:38 +03:00
2026-09-27 21:32:16 +03:00
2026-10-08 12:35:58 +03:00
2026-09-28 03:49:38 +03:00
2026-10-14 22:08:34 +03:00
2026-07-22 16:22:39 +03:00
2026-09-15 07:30:40 +03:00
2026-10-08 14:09:34 +03:00
2026-07-23 10:49:13 +03:00
2026-08-18 23:07:48 +03:00
2026-10-08 11:03:50 +03:00
2026-10-13 18:27:25 +03:00
2026-09-01 23:09:31 +03:00
2026-08-16 16:17:13 +03:00
2026-09-08 17:49:24 +03:00
2026-10-10 00:45:30 +03:00
2026-10-14 14:54:38 +03:00
2026-10-08 20:52:04 +03:00
2026-07-23 18:55:30 +03:00
2026-09-20 21:06:30 +03:00
2026-08-12 14:45:07 +03:00
2026-10-08 21:13:39 +03:00
2026-08-12 15:06:45 +03:00
2026-10-14 23:23:07 +03:00
2026-09-23 18:21:03 +03:00
2026-09-10 20:07:59 +03:00
2026-10-14 22:57:31 +03:00
2026-08-11 16:15:06 +03:00
2026-10-14 14:33:10 +03:00
2026-09-28 04:43:49 +03:00
2026-09-10 21:00:20 +03:00
2026-10-08 22:01:22 +03:00
2026-10-14 14:37:00 +03:00
2026-10-08 21:07:01 +03:00
2026-09-10 20:42:42 +03:00
2026-07-28 14:47:22 +03:00
2026-10-08 15:18:59 +03:00
2026-10-08 20:57:08 +03:00
2026-08-25 17:45:40 +03:00
2026-10-08 11:18:14 +03:00
2026-10-08 11:18:14 +03:00
2026-10-14 13:11:23 +03:00
2026-07-09 02:14:07 +03:00
2026-10-08 11:21:05 +03:00
2026-09-30 09:29:46 +03:00
2026-09-10 21:12:34 +03:00
2026-10-14 14:59:25 +03:00
2026-09-22 19:16:55 +03:00
2026-09-11 10:42:40 +03:00
2026-10-08 21:09:53 +03:00
2026-10-10 00:45:30 +03:00
2026-10-14 22:57:15 +03:00
2026-10-09 12:20:36 +03:00
2026-08-10 03:52:18 +03:00
2026-09-04 21:29:31 +03:00
2026-07-23 18:55:30 +03:00
2026-07-22 12:15:56 +03:00
2026-10-14 12:09:34 +03:00
2026-09-10 20:06:23 +03:00
2026-10-08 21:35:31 +03:00
2026-08-09 02:54:56 +03:00
2026-10-14 08:20:49 +03:00
2026-07-21 10:06:40 +03:00
2026-09-05 23:51:02 +03:00
2026-08-17 23:58:04 +03:00
2026-10-08 21:55:27 +03:00
2026-07-09 02:14:07 +03:00
2026-09-19 14:00:48 +03:00
2026-10-15 04:14:10 +03:00
2026-07-09 02:14:07 +03:00
2026-09-10 19:36:48 +03:00
2026-09-10 20:46:04 +03:00
2026-07-09 09:45:53 +03:00
2026-09-27 20:27:41 +03:00
2026-07-23 18:55:30 +03:00
2026-07-09 02:14:07 +03:00
2026-09-07 17:03:59 +03:00
2026-10-14 14:30:10 +03:00
2026-10-08 12:25:29 +03:00
2026-09-29 14:34:18 +03:00
2026-09-27 17:07:02 +03:00
2026-09-27 17:07:02 +03:00
2026-09-29 16:28:44 +03:00
2026-10-02 16:55:19 +03:00
2026-10-14 14:23:31 +03:00
2026-10-08 11:31:12 +03:00
2026-09-10 21:00:23 +03:00
2026-09-29 16:09:49 +03:00
2026-09-29 18:45:10 +03:00
2026-09-29 14:02:14 +03:00
2026-08-23 00:16:15 +03:00
2026-10-02 10:37:08 +03:00
2026-10-08 15:18:59 +03:00
2026-10-14 09:49:42 +03:00
2026-07-23 18:59:30 +03:00
2026-10-14 14:41:13 +03:00
2026-07-17 03:36:50 +03:00
2026-06-05 23:44:04 +03:00
2026-08-09 03:29:20 +03:00
2026-09-29 14:10:38 +03:00
2026-07-09 09:45:53 +03:00
2026-10-10 12:21:44 +03:00
2026-09-27 20:36:08 +03:00
2026-10-08 11:51:44 +03:00
2026-09-27 22:27:51 +03:00
2026-10-03 09:49:31 +03:00
2026-10-08 11:51:44 +03:00
2026-10-02 19:43:30 +03:00
2026-10-03 01:47:19 +03:00
2026-10-08 12:36:57 +03:00
2026-10-08 12:36:57 +03:00
2026-08-27 10:19:56 +03:00
2026-10-14 22:39:36 +03:00
2026-07-23 18:59:30 +03:00
2026-07-31 06:47:19 +03:00
2026-07-20 03:11:07 +03:00
2026-10-14 16:49:21 +03:00
2026-10-14 09:28:45 +03:00
2026-10-14 14:55:04 +03:00
2026-08-25 17:52:23 +03:00
2026-08-16 15:15:01 +03:00
2026-09-16 02:26:25 +03:00
2026-08-09 23:38:43 +03:00
2026-07-17 20:20:06 +03:00
2026-10-07 03:08:48 +03:00
2026-07-23 18:55:30 +03:00
2026-10-14 21:45:34 +03:00
2026-08-01 14:49:52 +03:00
2026-07-24 10:14:29 +03:00
2026-08-09 02:19:15 +03:00
2026-09-25 23:35:16 +03:00
2026-10-14 12:09:34 +03:00
2026-10-10 15:25:16 +03:00
2026-09-10 20:50:08 +03:00
2026-10-08 11:40:25 +03:00
2026-10-14 14:19:52 +03:00
2026-10-10 00:45:30 +03:00
2026-07-23 18:55:30 +03:00
2026-08-31 13:27:15 +03:00
2026-07-09 09:45:53 +03:00
2026-09-22 18:40:36 +03:00
2026-10-14 15:13:09 +03:00
2026-09-28 19:19:26 +03:00
2026-08-25 17:39:23 +03:00
2026-08-25 17:32:57 +03:00
2026-08-25 17:31:29 +03:00
2026-10-08 21:17:07 +03:00
2026-10-09 10:33:37 +03:00
2026-10-02 15:53:14 +03:00
2026-07-17 03:07:59 +03:00
2026-10-08 21:40:19 +03:00
2026-07-26 07:59:30 +03:00
2026-07-26 07:59:30 +03:00
2026-07-26 07:59:30 +03:00
2026-08-16 15:15:01 +03:00
2026-08-10 21:51:21 +07:00
2026-10-08 21:02:01 +03:00
2026-09-26 23:00:58 +03:00
2026-10-14 14:04:07 +03:00
2026-10-09 12:20:36 +03:00
2026-09-30 03:19:02 +03:00
2026-08-25 17:27:33 +03:00
2026-10-14 13:39:18 +03:00
2026-10-13 14:20:56 +03:00
2026-08-14 18:06:10 +03:00
2026-09-05 23:51:02 +03:00
2026-06-13 17:19:51 +03:00
2026-10-14 15:37:02 +03:00
2026-10-07 03:08:48 +03:00
2026-08-11 16:28:38 +03:00
2026-09-10 20:02:50 +03:00
2026-10-02 11:05:04 +03:00
2026-09-06 02:28:46 +03:00
2026-09-29 15:57:05 +03:00
2026-09-10 20:38:44 +03:00
2026-08-17 03:05:41 +03:00
2026-10-07 03:08:48 +03:00
2026-02-08 00:48:39 +02:00
2026-08-30 18:04:24 +03:00
2026-10-14 12:43:36 +03:00
2026-10-10 00:45:30 +03:00
2026-09-10 20:37:09 +03:00
2026-10-14 16:46:59 +03:00
2026-10-14 15:37:16 +03:00
2026-10-10 15:28:26 +03:00
2026-10-14 15:44:01 +03:00
2026-07-23 18:55:30 +03:00
2026-10-14 21:46:17 +03:00
2026-09-10 20:51:52 +03:00
2026-10-15 13:16:14 +03:00
2026-07-23 18:55:30 +03:00
2026-09-26 23:00:58 +03:00
2026-09-10 20:00:09 +03:00
2026-10-14 12:43:36 +03:00
2026-08-16 15:15:01 +03:00
2026-10-09 09:48:47 +03:00
2026-10-09 09:48:47 +03:00