From 3733db866c0fe49a38c834c9baebb942fc77bdc4 Mon Sep 17 00:00:00 2001 From: David Taylor Date: Wed, 10 Apr 2024 14:35:54 +0100 Subject: [PATCH] DEV: Introduce default 'auto' mode for glimmer header (#26467) 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 `