discourse/plugins/chat/assets
Martin Brennan 57ededb770
DEV: Move admin sidebar out of initializer (#25396)
Having the admin sidebar code in an instance initializer is not
ideal because:

* It runs during app boot which may not even be necessary based on site settings
* It makes it hard for plugins to register additional links in time without resorting
to before/after initializer gymnastics

This PR moves the admin sidebar into a lib and creates the panel
in custom-sections.js, then the sections and links are loaded when
the main sidebar component is rendered, which leaves plugins enough
time to add additional links in an initializer.

---------

Co-authored-by: David Taylor <david@taylorhq.com>
2024-01-25 10:45:14 +10:00
..
javascripts DEV: Move admin sidebar out of initializer (#25396) 2024-01-25 10:45:14 +10:00
stylesheets DEV: Remove unused chat css (#25363) 2024-01-23 06:56:17 +08:00