Lauri Ojansivu
3de2220964
Due date colours: when a card turns amber and red is the board's own.
...
Board Settings / Date has two numbers of hours: before the due date a card
is due soon (amber), WeKan's 48 until set, and after it a card is overdue
(red), 0 - the due time itself - until set. So a board can be grey above 24
hours, amber within them and red when overdue. An empty field is the default
again.
dueDateClass takes the board's thresholds (models/lib/dueDateThresholds.js
dueThresholdsOf) on the card, the minicard and the checklist items; a value
that is no number of hours from 0 to a year is no setting. A board admin
sets them with setBoardDueThresholds, which refuses anything else before it
writes; the fields are in the Boards schema and go with a board's WeKan
export and import. The two labels are in every language.
tests/dueDateThresholds6947.test.cjs checks the colours with and without
thresholds, the refused values, that no caller is left on the fixed 48 hours,
the method's guard and the translations;
tests/playwright/specs/due-thresholds-6947.e2e.js the colour following the
board and Board Settings / Date saving, refusing and resetting the hours.
Thanks to BarbossHack and xet7 !
Fixes #6947 .
2026-11-26 20:59:10 +02:00
..
2026-10-14 13:39:18 +03:00
2026-10-14 14:00:21 +03:00
2026-11-25 16:18:04 +02:00
2026-11-24 20:02:06 +02:00
2026-11-15 14:11:10 +03:00
2026-11-26 20:59:10 +02:00
2026-11-22 20:34:47 +02:00
2026-11-22 20:34:47 +02:00
2026-11-24 20:02:06 +02:00
2026-11-24 20:02:06 +02:00
2026-09-28 17:48:00 +03:00
2026-09-28 21:46:56 +03:00
2026-10-11 14:19:00 +03:00
2026-07-28 17:59:17 +03:00
2026-10-17 01:14:16 +03:00
2026-07-28 12:13:03 +03:00
2026-07-22 09:21:21 +03:00
2026-10-20 13:50:10 +03:00
2026-11-24 01:08:40 +02:00
2026-11-22 20:34:47 +02:00
2026-10-16 13:03:34 +03:00
2026-10-14 16:46:15 +03:00
2026-11-24 05:35:15 +02:00
2026-10-08 12:05:59 +03:00
2026-11-22 20:28:30 +02:00
2026-10-14 15:25:36 +03:00
2026-11-22 18:36:04 +02:00
2026-11-21 01:33:59 +02:00
2026-11-22 19:05:18 +02:00
2026-11-21 18:49:16 +02:00
2026-10-27 16:28:12 +02:00
2026-10-02 11:43:37 +03:00
2026-06-06 02:53:58 +03:00
2026-10-20 13:28:17 +03:00
2026-09-11 21:17:33 +03:00
2026-11-22 19:10:12 +02:00
2026-11-24 17:49:56 +02:00
2026-07-13 09:16:32 +03:00
2026-11-24 20:02:06 +02:00
2026-09-11 21:17:33 +03:00
2026-11-02 17:17:58 +02:00
2026-11-22 20:34:47 +02:00
2026-10-14 16:46:29 +03:00
2020-02-13 14:58:19 +02:00
2026-09-10 22:11:01 +03:00
2026-10-07 03:08:48 +03:00
2026-11-22 18:46:33 +02:00
2026-09-10 20:20:35 +03:00
2026-11-24 20:02:06 +02:00
2026-11-04 19:11:32 +02:00
2026-03-22 17:17:48 +02:00
2026-10-16 13:03:34 +03:00
2026-10-30 23:52:09 +02:00
2026-10-14 08:20:49 +03:00
2026-10-08 11:55:42 +03:00
2026-11-24 05:08:23 +02:00
2026-10-12 01:30:07 +03:00
2026-11-24 20:02:06 +02:00
2026-11-18 22:25:34 +02:00
2026-11-24 20:02:06 +02:00
2026-08-16 14:57:18 +03:00
2026-09-29 16:28:44 +03:00
2026-10-16 23:45:35 +03:00
2026-10-14 15:52:07 +03:00
2026-10-14 21:45:34 +03:00
2026-10-14 08:25:25 +03:00
2026-11-25 07:29:07 +02:00
2026-10-31 00:08:20 +02:00
2026-03-21 11:32:56 +02:00
2026-10-14 08:20:49 +03:00
2026-10-08 12:44:46 +03:00
2026-11-25 07:29:07 +02:00
2026-10-13 21:08:09 +03:00
2026-11-02 14:37:12 +02:00
2026-10-14 17:07:35 +03:00
2026-09-10 19:59:02 +03:00
2026-10-23 19:34:34 +03:00
2026-10-08 11:43:32 +03:00
2026-10-15 22:42:14 +03:00
2026-11-18 23:08:06 +02:00
2026-11-02 11:28:44 +02:00
2026-08-16 16:17:13 +03:00
2026-08-04 12:09:37 +03:00
2026-10-08 11:03:50 +03:00
2026-10-23 19:34:34 +03:00
2019-07-18 04:27:03 +03:00
2026-10-05 19:48:48 +03:00
2026-07-30 15:57:58 +03:00
2026-11-18 22:25:34 +02:00
2026-10-11 22:46:45 +03:00
2026-10-14 14:59:25 +03:00
2026-10-31 14:54:22 +02:00
2026-10-27 20:57:38 +02:00
2026-08-29 06:01:39 +03:00
2026-10-14 08:20:49 +03:00
2026-09-05 23:51:02 +03:00
2026-11-24 04:55:33 +02:00
2026-10-31 14:13:40 +02:00
2026-11-18 22:25:34 +02:00
2026-11-18 23:08:06 +02:00
2026-09-29 13:57:51 +03:00
2026-11-20 04:20:22 +02:00
2026-10-15 00:33:30 +03:00
2026-11-22 16:48:15 +02:00
2026-11-18 22:25:34 +02:00
2026-11-22 18:49:01 +02:00
2026-10-03 01:47:19 +03:00
2026-10-30 23:50:02 +02:00
2026-10-14 16:49:21 +03:00
2026-10-14 09:28:45 +03:00
2026-11-20 04:20:22 +02:00
2026-10-14 14:55:04 +03:00
2026-11-22 20:41:15 +02:00
2026-10-27 21:26:30 +02:00
2021-06-14 15:11:21 +02:00
2026-10-14 21:45:34 +03:00
2026-07-17 03:07:59 +03:00
2026-11-24 05:18:03 +02:00
2026-11-22 18:46:33 +02:00
2026-11-24 20:02:06 +02:00
2026-10-13 14:20:56 +03:00
2026-11-22 18:49:01 +02:00
2026-10-14 12:43:36 +03:00
2026-11-22 18:46:33 +02:00
2026-10-14 13:59:19 +03:00
2026-11-22 20:34:47 +02:00
2026-10-14 15:44:01 +03:00
2026-10-16 23:45:35 +03:00
2026-11-24 20:02:06 +02:00