mirror of
https://github.com/discourse/discourse.git
synced 2024-11-29 23:04:27 +08:00
3733db866c
This will automatically enable the glimmer header when all installed themes/plugins are ready. This replaces the old group-based site setting. In 'auto' mode, we check for calls to deprecated APIs (e.g. decorateWidget) which affect the old header. If any are present, we stick to the old header implementation and print a message to the console alongside the normal deprecation messages. To override this automatic behavior, a new `glimmer_header_mode` site setting can be set to 'disabled' or 'enabled'. This change also means that our test suite is running with the glimmer header. This unveiled a couple of small issues (e.g. some incorrect `aria-*` and `alt` text) which are now fixed. A number of selectors had to be updated to ensure the tests were clicking the actual `<button>` elements rather than the surrounding `<li>` elements. |
||
---|---|---|
.. | ||
emoji | ||
allow-lister.js | ||
censored-words.js | ||
emoji.js | ||
guid.js | ||
inline-oneboxer.js | ||
mentions.js | ||
oneboxer-cache.js | ||
oneboxer.js | ||
pretty-text.js | ||
sanitizer.js | ||
text-replace.js | ||
upload-short-url.js |