-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixing User Profiles/Kibana.yml config light mode precedence logic (#…
…158177) ## Summary After changing the UserSettingService to calculate darkmode and return `boolean | undefined` , the Rendering service `darkMode` logic needed to be updated to work when a User chooses 'Light' which provides a 'false' value to the Rendering service. ## Testing For Space Setting: 1. Set Space Adv. Setting to darkMode: true 2. Set User Profile Setting to 'Light' 3. Observe that Light mode takes precedence For Config setting: 1. Set User Profile Setting to 'Dark' 2. In `kibana.yml` set `uiSettings.overrides.theme:darkMode: false` 3. Observe that Light mode takes precedence
- Loading branch information
1 parent
e1523c1
commit 613b2d5
Showing
4 changed files
with
182 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters