-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Theme (Header) - update next background #936
Theme (Header) - update next background #936
Conversation
Signed-off-by: Josh Romero <rmerqg@amazon.com>
Signed-off-by: Josh Romero <rmerqg@amazon.com>
Awaiting approval from @KrooshalUX |
The effect isn't coming through when the stacked nav is present. I would expect that the background changes for both layers of the stacked nav. Is it possible to show examples of that? Since we don't have telemetry on how many people use stacked vs condensed nav, its a little tough to make the call on the color just impacting one line of the header. |
No, that's not expected, because we didn't change the colors for the "dark" (prop, not theme) variant of the nav - see #901 (comment) and the comment below it for the actual values
I'm not following what you'd like to see an example of - can you provide either color values or mocks?
Because the stacked nav is still the default, the vast majority of users will see it, unless they've cared enough to change the settings since it was introduced in 2.1.0. See opensearch-project/OpenSearch-Dashboards#1834 for options on making the condensed view more common for users. |
@joshuarrrr Here is a mock up of both sidebar and header with the background as the same as the page color |
Signed-off-by: Josh Romero <rmerqg@amazon.com>
@KrooshalUX I've updated the change and also the screenshots, so ready for your re-review. One note - after discussing with @AMoo-Miki and @BSFishy, we think it's important (for now) to make sure that the next light theme still respects a dark header theme. Instead, the |
Given the latest discussions w/engineering, LGTM for now. I think we can continue discussions on the impact of the dark header in subsequent releases. |
CC @kgcreative for awareness on outcome. |
@kgcreative Any additional UX concerns here based on the screenshots provided? |
* Theme (Header) - update next background Signed-off-by: Josh Romero <rmerqg@amazon.com> * add changelog Signed-off-by: Josh Romero <rmerqg@amazon.com> * Update ouiHeaderDarkBackgroundColor in next theme Signed-off-by: Josh Romero <rmerqg@amazon.com> --------- Signed-off-by: Josh Romero <rmerqg@amazon.com> (cherry picked from commit fa48112) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> # Conflicts: # CHANGELOG.md
* Theme (Header) - update next background Signed-off-by: Josh Romero <rmerqg@amazon.com> * add changelog Signed-off-by: Josh Romero <rmerqg@amazon.com> * Update ouiHeaderDarkBackgroundColor in next theme Signed-off-by: Josh Romero <rmerqg@amazon.com> --------- Signed-off-by: Josh Romero <rmerqg@amazon.com> (cherry picked from commit fa48112) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> # Conflicts: # CHANGELOG.md Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Description
Updates default header background in
next
theme (dark and light) to use the page background.Issues Resolved
Fixes #901
Check List
yarn lint
yarn test-unit
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.
OUI doc site examples
Note that there is no change to existing theme behavior, screenshots provided just for reference and verification
Examples that demonstrate how this background will appear with the defined dark header above (the default layout):
Note that there is no change to existing theme behavior, screenshots provided just for reference and verification