discourse/app/assets/javascripts/admin/addon
Osama Sayegh 4db3389f3d
FIX: Don't load all groups when rendering <GroupChooser /> (#31271)
In a few places throughout the app, when we render the `<GroupChooser
/>` component, we fetch the full groups list of the site from the
`/groups/search` endpoint. This is wasteful because the full groups list
is already included in the preloaded data that's sent to the client app
on the initial page load, so we can just use this preloaded list for
`<GroupChooser />` and we can avoid making an HTTP request.

Internal topic: t/147297.
2025-02-11 21:32:02 +03:00
..
adapters DEV: Move admin config pages out of /customize/ sub-route (#30511) 2025-01-02 09:13:11 +10:00
components UX: Update banner image field to use help text (#30666) 2025-02-10 19:48:31 -07:00
controllers Revert "UX: Hide inner site settings sidebar if admin sidebar enabled (#31047)" (#31267) 2025-02-11 12:47:40 +10:00
helpers DEV: Move discourse-common/(utils|lib) to discourse/lib (#30733) 2025-01-13 13:02:49 +00:00
lib DEV: Move discourse-common/(utils|lib) to discourse/lib (#30733) 2025-01-13 13:02:49 +00:00
mixins DEV: Move discourse-common/(utils|lib) to discourse/lib (#30733) 2025-01-13 13:02:49 +00:00
models DEV: Require at least one scope for API key granular mode (#31253) 2025-02-10 13:22:08 +08:00
routes FIX: Don't load all groups when rendering <GroupChooser /> (#31271) 2025-02-11 21:32:02 +03:00
services DEV: Remove plugin sidebar rendering fallback (#31012) 2025-01-28 09:42:24 +08:00
templates Revert "UX: Hide inner site settings sidebar if admin sidebar enabled (#31047)" (#31267) 2025-02-11 12:47:40 +10:00