#105134Enhance color switcher to a smart toggle w/ advanced options
Description
Implement a color-scheme toggle button, that toggles between light
and dark color scheme, but takes “auto” into account by toggling
based on the auto-detected (dark/light) mode, when current mode is auto.
Additionally an expander is added, in order for all options
(including auto-detect) to be selectable within the user toolbar menu.
We have noticed that technical and subjective labels like “OS default“
or “User agent preference” are not perceived very well.
Therefore we removed “OS Default” from the toolbar in #104942.
Now this rather unintuitive option was gone from the user toolbar –
which was good for users that just wanted to toggle – but bad for power
users that like to enable “auto”, but found it hard to discover the
auto option withing the user settings tab “Backend appearance”.
Therefore the switcher now has an embedded advanced mode, where the
the “auto” item is available again and the label is combined of
“Auto detect” and the (auto detected) mode that it will be changed to.
The advantage is that there is less surprise when clicking auto detect,
when switching from “Dark mode” to “Auto detect (Dark mode)” or from
“Light mode” to “Auto detect (Light mode)”.
Reviews 1
History 213
-
Gerrit Code Review pushed patch set 1 for main to change 86351 status
NewUnder Review 09/26/24, 20:36 -
Gerrit Code Review pushed patch set 2 for main to change 86351 09/26/24, 21:07
-
Gerrit Code Review pushed patch set 3 for main to change 86351 09/26/24, 21:15
-
Gerrit Code Review pushed patch set 4 for main to change 86351 09/26/24, 21:29
-
Gerrit Code Review pushed patch set 5 for main to change 86351 09/26/24, 21:54
-
Gerrit Code Review pushed patch set 6 for main to change 86351 09/27/24, 09:24
-
Gerrit Code Review pushed patch set 7 for main to change 86351 09/27/24, 10:23
-
Gerrit Code Review pushed patch set 8 for main to change 86351 09/27/24, 10:35
-
Gerrit Code Review pushed patch set 9 for main to change 86351 09/27/24, 10:42
-
Gerrit Code Review pushed patch set 10 for main to change 86351 09/27/24, 11:15
-
Gerrit Code Review pushed patch set 11 for main to change 86351 09/27/24, 11:35
-
Benjamin Franzke commented and changed status
Under ReviewResolved done0 %100 % 09/27/24, 12:05 -
Benni Mack changed status
ResolvedClosed 10/15/24, 09:05
Applied in changeset commit:2101fb8476a070ce9f71d856bab1fd8efa166e06.