Lauri Ojansivu
aad00cdba2
Fix #5442 : outgoing webhooks now include the label name on add/remove label
...
Labels are embedded in the board document, not a separate collection, but the
Activities label() helper looked the label id up in the Cards collection and
always returned undefined. So the addedLabel/removedLabel webhook and
notification params never got a label value and the __label__ token in the
message text rendered as a bare, generic "label" with no name.
Resolve the label from the already-loaded board via getLabelById, and add a
pure labelDisplayName() helper (name -> color -> id fallback) so a nameless
label is shown by its color, matching the UI. Add a plain-Node unit test.
2026-07-09 02:14:07 +03:00
..
2026-07-09 02:14:07 +03:00
2026-06-16 01:55:29 +03:00
2026-06-15 04:07:33 +03:00
2026-03-24 01:50:39 +02:00
2026-03-24 01:50:39 +02:00
2026-03-24 01:50:39 +02:00
2026-03-24 01:50:39 +02:00
2026-06-20 14:39:41 +03:00
2026-05-31 11:12:41 +03:00
2026-03-24 01:50:39 +02:00
2025-10-11 12:13:11 +03:00
2026-06-20 14:40:13 +03:00
2026-06-06 02:53:58 +03:00
2026-06-19 11:35:28 +03:00
2025-10-11 12:13:11 +03:00
2026-05-03 18:36:15 +03:00
2026-06-06 02:06:16 +03:00
2026-06-13 17:19:51 +03:00
2026-06-13 17:19:51 +03:00
2026-07-09 02:14:07 +03:00
2026-03-24 01:50:39 +02:00
2026-06-23 06:04:14 +03:00
2026-07-09 02:14:07 +03:00
2026-06-06 04:02:48 +03:00
2026-06-23 07:59:35 +03:00
2026-03-24 01:50:39 +02:00
2026-03-24 01:50:39 +02:00
2026-06-15 04:07:33 +03:00
2026-03-24 01:50:39 +02:00
2026-06-19 11:35:28 +03:00
2026-07-09 02:14:07 +03:00
2026-07-05 10:20:08 +03:00
2026-06-10 19:39:05 +03:00
2026-06-15 04:07:33 +03:00
2026-07-05 21:55:15 +03:00
2026-03-24 01:50:39 +02:00
2026-06-15 04:07:33 +03:00
2026-07-05 09:30:12 +03:00
2026-03-24 01:50:39 +02:00
2026-05-31 02:22:31 +03:00
2026-06-15 19:49:00 +03:00
2026-06-15 04:07:33 +03:00
2026-07-09 02:14:07 +03:00
2026-03-24 01:50:39 +02:00
2026-06-19 11:35:28 +03:00
2026-03-24 01:50:39 +02:00
2026-03-24 01:50:39 +02:00
2026-03-24 01:50:39 +02:00
2026-06-15 12:55:11 +03:00
2026-03-24 01:50:39 +02:00
2026-06-20 14:39:28 +03:00
2026-07-09 02:14:07 +03:00
2026-03-24 01:50:39 +02:00
2026-06-19 11:35:28 +03:00
2026-03-24 01:50:39 +02:00
2026-06-13 17:19:51 +03:00
2026-06-13 17:19:51 +03:00
2026-03-24 01:50:39 +02:00
2026-03-24 01:50:39 +02:00
2026-03-24 01:50:39 +02:00
2026-07-06 13:49:44 +03:00
2026-05-30 23:22:44 +03:00
2026-03-24 01:50:39 +02:00
2026-06-21 18:49:47 +03:00
2026-06-12 20:15:56 +03:00