discourse/app
Martin Brennan 70f7c0ee6f
FEATURE: More flexible admin plugin config nav definition (#26254)
This commit changes the API for registering the plugin config
page nav configuration from a server-side to a JS one;
there is no need for it to be server-side.

It also makes some changes to allow for 2 different ways of displaying
navigation for plugin pages, depending on complexity:

* TOP - This is the best mode for simple plugins without a lot of different
  custom configuration pages, and it reuses the grey horizontal nav bar
  already used for admins.
* SIDEBAR - This is better for more complex plugins; likely this won't
  be used in the near future, but it's readily available if needed

There is a new AdminPluginConfigNavManager service too to manage which
plugin the admin is actively viewing, otherwise we would have trouble
hiding the main plugin nav for admins when viewing a single plugin.
2024-03-21 13:42:06 +10:00
..
assets FEATURE: More flexible admin plugin config nav definition (#26254) 2024-03-21 13:42:06 +10:00
controllers PERF: Fix N+1 when loading categories with custom fields (#26241) 2024-03-19 14:11:19 +02:00
helpers PERF: Remove unnecessary <link rel="preload"> (#26219) 2024-03-18 20:07:29 +08:00
jobs DEV: Rename problem check jobs to avoid namespace clashes (#26073) 2024-03-07 12:26:58 +08:00
mailers FIX: Add higher read & open timeouts for group SMTP emails (#24593) 2023-11-28 15:32:59 +10:00
models FIX: Simplify sidebar custom link implementation (#26201) 2024-03-20 12:55:40 +00:00
serializers FEATURE: More flexible admin plugin config nav definition (#26254) 2024-03-21 13:42:06 +10:00
services DEV: Promote block problem checks to ProblemCheck (#26193) 2024-03-20 08:52:25 +08:00
views DEV: Fix dark mode in QUnit (#26262) 2024-03-20 14:51:29 +01:00