Martin Brennan
15838aa756
DEV: Convert AdminReport
component to gjs ( #31011 )
...
This commit converts the `AdminReport` component, which is quite
high complexity, to gjs. After this initial round, ideally this
component would be broken up into smaller components because it is
getting quite big now.
Also in this commit:
* Add an option to display the report description in a tooltip, which
was
the main way the description was shown until recently. We want to use
this on the dashboard view mostly.
* Move admin report "mode" definitions to the server-side Report model,
inside a `Report::MODES` constant, collecting the modes defined in
various
places in the UI into one place
* Refactor report code to refer to mode definitions
* Add a `REPORT_MODES` constant in JS via javascript.rake and refactor
JS to refer to the modes
* Delete old admin report components that are no longer used
(trust-level-counts, counts, per-day-counts) which were replaced
by admin-report-counters a while ago
* Add a new `registerReportModeComponent` plugin API, some plugins
introduce their own modes (like AI's `emotion`) and components and
we need a way to render them
2025-01-29 10:33:43 +10:00
..
2025-01-29 10:33:43 +10:00
2024-10-29 18:40:11 +03:00
2024-10-16 10:09:07 +08:00
2023-01-09 14:14:59 +00:00
2023-01-09 14:14:59 +00:00
2024-05-23 09:29:08 +08:00
2023-01-09 14:14:59 +00:00
2024-03-14 15:24:54 -06:00
2023-11-29 16:38:07 +11:00
2024-11-27 10:48:47 +01:00
2023-01-09 14:14:59 +00:00
2023-01-09 14:14:59 +00:00
2023-01-09 14:14:59 +00:00
2024-10-16 10:09:07 +08:00
2023-02-13 12:39:45 +08:00
2023-05-15 09:54:54 +02:00
2024-12-05 15:20:02 +08:00
2023-01-09 14:14:59 +00:00
2024-11-01 19:19:25 +02:00
2023-12-14 11:06:21 -06:00
2023-09-25 19:38:54 +03:00
2023-02-23 11:18:14 -08:00
2023-01-09 14:14:59 +00:00
2024-11-11 17:32:45 +02:00
2024-09-04 04:38:46 +03:00
2024-11-11 17:32:45 +02:00
2023-01-09 14:14:59 +00:00
2023-09-12 09:51:49 +08:00
2023-01-09 14:14:59 +00:00
2023-05-18 12:46:44 +03:00
2023-01-09 14:14:59 +00:00
2023-07-13 09:02:23 +10:00
2024-11-06 06:27:49 +08:00
2023-01-09 14:14:59 +00:00
2025-01-23 15:54:49 +03:00
2023-01-09 14:14:59 +00:00
2025-01-23 15:54:49 +03:00
2024-07-22 14:44:49 +08:00
2023-08-18 10:59:11 -05:00
2023-01-09 14:14:59 +00:00
2024-11-27 10:48:47 +01:00
2024-09-13 15:12:57 +03:00
2024-11-25 11:55:27 +08:00
2023-01-09 14:14:59 +00:00
2024-07-10 10:43:11 +03:00
2024-10-16 10:09:07 +08:00
2023-01-09 14:14:59 +00:00
2023-01-09 14:14:59 +00:00
2024-10-16 10:09:07 +08:00
2023-12-06 13:18:34 +01:00
2024-05-07 11:06:31 +08:00
2024-05-16 15:47:01 -04:00
2024-05-27 18:06:14 +02:00
2025-01-06 13:01:08 +11:00
2023-01-09 14:14:59 +00:00
2024-12-03 19:27:12 -05:00
2024-08-30 10:25:04 +10:00
2024-09-11 15:30:20 +10:00
2024-09-10 08:11:44 -07:00
2024-12-30 22:26:20 +03:00
2023-01-09 14:14:59 +00:00
2024-10-16 10:09:07 +08:00
2023-01-09 14:14:59 +00:00
2023-01-09 14:14:59 +00:00
2023-01-09 14:14:59 +00:00
2023-12-14 11:06:21 -06:00
2024-05-27 18:06:14 +02:00
2023-05-24 09:57:46 +02:00
2024-09-13 16:01:20 -03:00
2024-02-08 09:43:34 +10:00
2025-01-13 11:29:04 +01:00
2024-10-16 10:09:07 +08:00
2024-05-27 18:06:14 +02:00
2024-03-04 13:50:01 +10:00
2024-05-27 18:06:14 +02:00
2024-02-08 11:17:59 -05:00
2024-05-27 18:06:14 +02:00
2024-05-07 11:06:31 +08:00
2023-11-28 11:28:40 +00:00
2023-01-09 14:14:59 +00:00
2024-10-16 10:09:07 +08:00
2023-01-09 14:14:59 +00:00
2025-01-06 09:25:25 +05:30
2024-12-12 11:47:14 -06:00
2023-01-09 14:14:59 +00:00
2023-10-09 07:24:10 +08:00
2023-01-09 14:14:59 +00:00
2023-01-09 14:14:59 +00:00
2025-01-23 12:26:59 -05:00
2023-01-09 14:14:59 +00:00
2025-01-09 14:11:37 +11:00
2024-10-16 10:09:07 +08:00
2024-11-22 21:11:26 +01:00
2023-01-09 14:14:59 +00:00
2024-10-08 08:38:42 +11:00
2024-08-14 12:13:46 +10:00
2024-05-27 18:06:14 +02:00
2024-05-10 18:47:12 +03:00
2023-01-09 14:14:59 +00:00
2024-11-27 10:48:47 +01:00
2024-12-31 17:02:27 +11:00
2023-01-09 14:14:59 +00:00
2023-01-09 14:14:59 +00:00
2024-08-12 10:41:13 +02:00
2023-11-08 23:13:25 +04:00
2024-05-27 18:06:14 +02:00
2024-12-04 14:46:52 +11:00
2023-01-09 14:14:59 +00:00
2024-03-18 18:05:46 +01:00
2025-01-29 09:44:20 +10:00
2025-01-14 13:22:59 +08:00
2023-01-20 12:52:49 -06:00
2023-02-13 12:39:45 +08:00
2024-07-08 15:43:16 -05:00
2024-11-27 10:48:47 +01:00
2024-10-16 10:09:07 +08:00
2025-01-29 10:33:43 +10:00
2023-01-09 14:14:59 +00:00
2024-11-27 17:23:57 +08:00
2024-11-27 10:48:47 +01:00
2025-01-03 10:05:04 +08:00
2023-01-09 14:14:59 +00:00
2024-11-27 17:23:57 +08:00
2025-01-09 13:20:59 +11:00
2023-01-09 14:14:59 +00:00
2024-11-27 17:23:57 +08:00
2024-12-17 11:44:46 +11:00
2023-01-09 14:14:59 +00:00
2023-01-09 14:14:59 +00:00
2024-05-27 18:06:14 +02:00
2023-01-20 12:52:49 -06:00
2024-08-08 12:41:10 -05:00
2023-11-20 10:43:58 +10:00
2024-10-15 11:58:57 +03:00
2023-04-05 10:52:18 +10:00
2024-04-25 13:21:39 -05:00
2025-01-13 13:33:57 +04:00
2024-09-13 01:08:01 +02:00
2025-01-07 11:25:21 +10:00
2025-01-08 03:49:34 +03:00
2024-03-21 13:19:53 +00:00
2023-01-09 14:14:59 +00:00
2023-01-09 14:14:59 +00:00
2024-10-29 18:40:11 +03:00
2023-01-09 14:14:59 +00:00
2025-01-13 11:29:04 +01:00
2024-09-03 15:43:02 +08:00
2024-07-11 19:59:57 +03:00
2025-01-22 12:03:37 +03:00
2024-11-15 10:19:10 +08:00
2024-10-23 11:40:14 +02:00
2024-10-17 15:16:16 +01:00
2024-05-03 06:29:18 +08:00
2023-07-12 09:49:28 -05:00
2025-01-22 12:03:37 +03:00
2023-01-09 14:14:59 +00:00
2024-10-21 10:44:43 +08:00
2024-05-17 16:36:25 +02:00
2024-05-10 18:47:12 +03:00
2024-07-03 14:50:59 -07:00
2023-01-09 14:14:59 +00:00
2023-02-21 10:30:48 +01:00
2024-10-18 11:08:48 -03:00
2024-05-27 18:06:14 +02:00
2024-01-30 17:03:58 +11:00
2024-03-21 19:51:41 +02:00
2023-01-09 14:14:59 +00:00
2023-05-31 19:32:06 +05:30
2023-01-09 14:14:59 +00:00
2023-01-09 14:14:59 +00:00
2023-01-09 14:14:59 +00:00
2023-01-20 09:50:24 +08:00
2023-01-09 14:14:59 +00:00
2023-12-06 23:25:00 +01:00
2024-11-27 10:48:47 +01:00
2024-07-19 10:53:12 -05:00
2024-10-09 07:53:08 +08:00
2024-05-27 15:25:32 +10:00
2025-01-20 10:09:58 +08:00
2024-11-27 10:48:47 +01:00
2023-12-06 13:18:34 +01:00
2023-01-09 14:14:59 +00:00
2023-01-09 14:14:59 +00:00
2023-01-09 14:14:59 +00:00
2023-01-09 14:14:59 +00:00
2024-04-16 14:10:25 +10:00
2024-11-08 13:04:52 +08:00
2024-04-11 15:54:28 -06:00
2025-01-03 10:25:21 -05:00
2024-11-19 15:28:04 -05:00
2024-03-15 16:06:32 -04:00
2024-11-08 12:05:03 -05:00
2023-01-09 14:14:59 +00:00
2023-01-09 14:14:59 +00:00
2024-07-24 17:19:58 +10:00
2024-12-16 19:48:25 +08:00
2025-01-24 14:06:39 +08:00
2023-01-09 14:14:59 +00:00
2024-04-17 17:23:47 +03:00
2024-12-17 11:06:19 +11:00
2024-12-16 19:48:25 +08:00
2025-01-24 08:13:25 +11:00
2024-11-25 11:54:43 +08:00
2024-11-12 11:23:18 +11:00
2023-01-09 14:14:59 +00:00
2025-01-22 13:17:45 +01:00
2024-10-21 07:24:43 +08:00
2023-01-09 14:14:59 +00:00
2024-05-27 18:06:14 +02:00
2024-06-25 19:32:18 +08:00
2024-10-16 10:09:07 +08:00
2023-09-12 15:31:17 -03:00
2023-09-12 15:31:17 -03:00
2025-01-24 14:06:39 +08:00
2023-01-30 10:49:08 +02:00
2024-10-16 10:09:07 +08:00
2023-01-09 14:14:59 +00:00
2023-01-09 14:14:59 +00:00
2025-01-27 09:17:30 +10:00
2024-10-16 10:09:07 +08:00
2024-07-15 19:25:17 +08:00
2024-07-15 19:25:17 +08:00
2023-02-13 12:39:45 +08:00
2024-11-27 10:48:47 +01:00
2023-10-09 03:35:31 +00:00
2024-07-08 15:43:16 -05:00
2024-07-01 15:40:52 -03:00
2024-10-24 11:02:58 -05:00