Skip to content
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

[Backport 2.x] [UX] Consolidate menu bars #1795

Merged
merged 1 commit into from
Jun 24, 2022
Merged

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

Backport ae6cb80 from #1586

Add a config option to remove the upper global header and incorporate all items into a single header. While the previous expanded dual header is still the default, we've added a new home button which also serves as the location of the global loading indicator.

Additional changes:

* update branding unit tests
* fix header spacing at smallest breakpoint
* update branding functional tests

Issue resolved:
#1583

Squashed commits:
- update branding mark unit tests
- fix header spacing at smallest breakpoint
- update custom branding functional test
- update line chart functional test ticks to account for more
ticks visisble with larger height of viz area
- update release notes
- add branding config for expanded menu
- revert release note addition
- remove home link from collapsible nav
- Add expanded header option
- Move navControlsRight to left of help
- Rename HeaderLogo to HomeLoader
  - Serves as unified home button and global loading     indicator
  - Add title for tooltip, because purpose may not be obvious
- Rename Mark to HomeIcon
  - Uses home icon when header expanded by default
- Restore HeaderLogo for expanded header
  - Duplicate default logo, rename to match mark naming (default, dark)
- Add new nav control areas for expanded menu only
  - navControlsExpandedRight
  - navControlsExpandedCenter
- Add new body class for expanded header
  - used by styles to correctly set app height
  - remove unecessary duplicate header mixin inclusion
- fix functional tests
  - update test subjects
  - convert home tests to ts
  - update names and methods to be more clear
- update snapshots
- add, update, improve unit tests
- keep expanded as default config
- restore logo link
- update functional tests
- group dark mode branding tests
- final review updates

Signed-off-by: Josh Romero <rmerqg@amazon.com>
(cherry picked from commit ae6cb80)
@opensearch-trigger-bot opensearch-trigger-bot bot requested a review from a team as a code owner June 24, 2022 04:50
@codecov-commenter
Copy link

Codecov Report

❗ No coverage uploaded for pull request base (2.x@99fe9dc). Click here to learn what that means.
The diff coverage is n/a.

❗ Current head ae6cb80 differs from pull request most recent head 66472a6. Consider uploading reports for the commit 66472a6 to get more accurate results

@@          Coverage Diff           @@
##             2.x    #1795   +/-   ##
======================================
  Coverage       ?   67.50%           
======================================
  Files          ?     3074           
  Lines          ?    59127           
  Branches       ?     8988           
======================================
  Hits           ?    39911           
  Misses         ?    17031           
  Partials       ?     2185           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 99fe9dc...66472a6. Read the comment docs.

@kavilla
Copy link
Member

kavilla commented Jun 24, 2022

Current run passed for PR and I just triggered the push again. Meaning the CI already passed.

@kavilla kavilla merged commit 1592b22 into 2.x Jun 24, 2022
@github-actions github-actions bot deleted the backport/backport-1586-to-2.x branch June 24, 2022 16:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants