Skip to content

Commit

Permalink
Add tooltip to help icon (#3626)
Browse files Browse the repository at this point in the history
* Add tooltip to help icon

Signed-off-by: sabina.zaripova <[email protected]>

Add tooltip to menu icon

Signed-off-by: sabina.zaripova <[email protected]>
  • Loading branch information
sayuree authored Apr 17, 2023
1 parent 14bde2b commit 8b0587e
Show file tree
Hide file tree
Showing 5 changed files with 102 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,7 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
- [TSVB] Fixes undefined serial diff aggregation documentation link ([#3503](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/3503))
- [Console] Fix dev tool console autocomplete not loading issue ([#3775](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/3775))
- [Console] Fix dev tool console run command with query parameter error ([#3813](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/3813))
- Add clarifying tooltips to header navigation ([#3573](https://github.com/opensearch-project/OpenSearch-Dashboards/issues/3573))

### 🚞 Infrastructure

Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 7 additions & 1 deletion src/core/public/chrome/ui/header/header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,13 @@ export function Header({
aria-controls={navId}
ref={toggleCollapsibleNavRef}
>
<EuiIcon type="menu" size="m" />
<EuiIcon
type="menu"
size="m"
title={i18n.translate('core.ui.primaryNav.menu', {
defaultMessage: 'Menu',
})}
/>
</EuiHeaderSectionItemButton>
</EuiHeaderSectionItem>

Expand Down
8 changes: 8 additions & 0 deletions src/core/public/chrome/ui/header/header_help_menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,14 @@ class HeaderHelpMenuUI extends Component<Props, State> {
onClick={this.onMenuButtonClick}
>
<EuiIcon type="questionInCircle" size="m" />
<EuiIcon
type="help"
size="m"
title={intl.formatMessage({
id: 'core.ui.chrome.headerGlobalNav.helpMenuButtonTitle',
defaultMessage: 'Help',
})}
/>
</EuiHeaderSectionItemButton>
);

Expand Down

0 comments on commit 8b0587e

Please sign in to comment.