From 8a7a2dc245fcf20d00dc4d9a4aac75e3bd54f529 Mon Sep 17 00:00:00 2001 From: sayuree <52072402+sayuree@users.noreply.github.com> Date: Tue, 18 Apr 2023 05:11:43 +0600 Subject: [PATCH] Add tooltip to help icon (#3626) * Add tooltip to help icon Signed-off-by: sabina.zaripova Add tooltip to menu icon Signed-off-by: sabina.zaripova --- CHANGELOG.md | 1 + .../header/__snapshots__/header.test.tsx.snap | 18 ++++++++++++++++++ src/core/public/chrome/ui/header/header.tsx | 8 +++++++- .../chrome/ui/header/header_help_menu.tsx | 10 +++++++++- 4 files changed, 35 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b273c62bc0d..2e478516224 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -122,6 +122,7 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) - Temporary workaround for task-kill exceptions on Windows when it is passed a pid for a process that is already dead ([#2842](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/2842)) - [Build] Fixed "Last Access Time" not being set by `scanCopy` on Windows ([#2964](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/2964)) - Update `leaflet-vega` and fix its usage ([#3005](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/3005)) +- Add clarifying tooltips to header navigation ([#3573](https://github.com/opensearch-project/OpenSearch-Dashboards/issues/3573)) ### 🚞 Infrastructure diff --git a/src/core/public/chrome/ui/header/__snapshots__/header.test.tsx.snap b/src/core/public/chrome/ui/header/__snapshots__/header.test.tsx.snap index 5ad89191b0c..2d0f7f4a579 100644 --- a/src/core/public/chrome/ui/header/__snapshots__/header.test.tsx.snap +++ b/src/core/public/chrome/ui/header/__snapshots__/header.test.tsx.snap @@ -4695,6 +4695,11 @@ exports[`Header renders 1`] = ` > + @@ -4742,11 +4747,22 @@ exports[`Header renders 1`] = ` > +
+ +
@@ -4862,11 +4878,13 @@ exports[`Header renders 1`] = ` >
diff --git a/src/core/public/chrome/ui/header/header.tsx b/src/core/public/chrome/ui/header/header.tsx index 2946b4eaa13..3037f969e86 100644 --- a/src/core/public/chrome/ui/header/header.tsx +++ b/src/core/public/chrome/ui/header/header.tsx @@ -175,7 +175,13 @@ export function Header({ aria-controls={navId} ref={toggleCollapsibleNavRef} > - + diff --git a/src/core/public/chrome/ui/header/header_help_menu.tsx b/src/core/public/chrome/ui/header/header_help_menu.tsx index d292564e6f4..d73af4acbf0 100644 --- a/src/core/public/chrome/ui/header/header_help_menu.tsx +++ b/src/core/public/chrome/ui/header/header_help_menu.tsx @@ -330,7 +330,15 @@ class HeaderHelpMenuUI extends Component { })} onClick={this.onMenuButtonClick} > - + + );