Osama Sayegh and GitHub
031648891c
FIX: Limit displayed groups in <GroupChooser /> to 100 groups ( #31288 )
...
Follow-up to https://github.com/discourse/discourse/pull/31271
In the linked PR, we made `<GroupChooser />` use the site's preloaded
list of groups instead of fetching the list from the servers every time
the component is triggered. However, when a site has thousands of
groups, the performance issue has shifted from the server to the browser
— `<GroupChooser />` takes several seconds to render in the browser for
a site with thousands of groups and the sites becomes completely
unresponsive while the component is rendering.
This PR changes the `<GroupChooser />` so it limits the displayed groups
to 100, with ability to filter the list to show more groups when there
are more than 100 groups.
2025-02-12 03:14:57 +03:00
..
2024-12-02 07:34:05 +08:00
2025-02-11 20:11:04 +01:00
2025-02-04 11:46:24 +01:00
2025-01-22 00:25:03 +01:00
2025-02-04 14:37:18 -03:00
2025-02-12 03:14:57 +03:00
2025-01-22 00:25:03 +01:00
2025-01-22 00:25:03 +01:00
2025-01-24 09:29:22 +10:00
2024-12-23 07:54:53 +03:00
2024-08-28 11:24:30 +02:00
2024-10-15 17:11:20 +02:00
2024-12-19 10:40:34 +11:00
2025-01-06 13:01:08 +11:00
2025-01-28 09:42:24 +08:00
2024-07-25 15:09:06 +02:00
2025-01-29 10:33:43 +10:00
2025-01-22 00:25:03 +01:00
2024-11-04 10:27:11 +01:00
2024-12-03 13:43:27 +11:00
2023-10-10 21:46:54 +01:00
2024-12-05 23:58:43 +01:00
2024-07-25 15:09:06 +02:00
2024-02-28 14:00:53 +01:00
2024-11-28 13:37:59 +10:00
2024-10-23 16:16:08 +11:00
2024-11-21 13:29:12 -03:00
2024-11-11 13:06:12 +01:00
2024-12-17 18:35:47 +08:00
2024-11-19 20:45:18 +00:00
2025-01-13 13:02:49 +00:00
2023-10-10 21:46:54 +01:00
2025-01-22 00:25:03 +01:00
2024-03-22 16:29:32 +01:00
2024-12-01 14:00:48 +01:00
2024-12-19 12:47:14 +10:00
2024-12-18 08:13:39 +10:00
2025-01-13 13:02:49 +00:00
2024-12-17 18:35:47 +08:00
2025-01-16 12:36:47 +00:00
2024-11-19 20:45:18 +00:00
2025-01-22 00:25:03 +01:00
2025-01-22 00:25:03 +01:00
2025-01-22 00:25:03 +01:00
2025-01-22 00:25:03 +01:00
2024-11-27 13:02:55 +01:00
2024-05-08 09:08:42 +02:00
2025-01-09 14:27:48 +01:00
2025-01-02 09:13:11 +10:00
2024-10-15 17:11:20 +02:00
2024-08-15 19:38:47 +03:00
2025-01-08 11:41:36 +01:00
2024-10-15 11:10:54 -03:00
2023-10-10 21:46:54 +01:00
2024-04-18 08:53:52 +10:00
2024-11-10 02:06:03 +01:00
2024-09-17 13:49:35 +02:00
2025-01-22 00:25:03 +01:00
2024-03-11 11:55:32 +01:00
2025-01-22 00:25:03 +01:00
2024-12-01 20:37:24 +01:00
2025-01-13 15:39:00 -03:00
2025-01-22 00:25:03 +01:00
2024-11-28 11:22:27 +01:00
2024-09-03 15:16:52 +08:00
2024-12-19 12:06:02 +01:00
2025-01-13 13:02:49 +00:00
2025-01-22 00:25:03 +01:00
2025-01-22 00:25:03 +01:00
2025-01-23 10:20:45 -08:00
2024-07-03 14:15:21 +02:00
2024-07-25 15:09:06 +02:00
2024-07-25 15:09:06 +02:00
2025-01-22 00:25:03 +01:00
2024-12-01 20:37:24 +01:00
2024-12-01 20:37:24 +01:00
2025-01-27 10:53:27 -03:00
2024-11-10 02:06:03 +01:00
2024-11-10 02:06:03 +01:00
2024-11-27 13:02:55 +01:00
2024-11-30 16:44:51 +01:00
2024-11-19 20:45:18 +00:00
2024-11-19 20:45:18 +00:00
2023-10-10 21:46:54 +01:00
2024-11-30 16:44:51 +01:00
2024-12-16 20:50:49 +01:00
2024-12-19 13:02:41 +01:00
2024-03-01 11:14:57 +08:00
2025-01-22 00:25:03 +01:00
2024-12-05 15:20:02 +08:00
2025-01-22 00:25:03 +01:00
2023-12-16 09:49:21 -05:00
2025-01-22 00:25:03 +01:00
2025-01-08 11:41:36 +01:00
2024-10-22 22:41:29 +02:00
2024-12-01 20:37:24 +01:00
2024-11-28 11:22:27 +01:00
2024-12-17 08:52:29 -07:00
2025-01-15 16:49:47 +10:00