From 749100478e87c3864af47ac4c9986fecb0a84855 Mon Sep 17 00:00:00 2001 From: olensmar Date: Sat, 12 Feb 2022 23:14:11 +0100 Subject: [PATCH] fix: added tooltips to New Resource buttons --- .../organisms/NavigatorPane/NavigatorPane.tsx | 26 ++++++++++--------- .../NewResourceWizard/NewResourceWizard.tsx | 2 +- src/constants/tooltips.ts | 1 + .../ResourceKindSectionNameSuffix.tsx | 20 +++++++------- 4 files changed, 27 insertions(+), 22 deletions(-) diff --git a/src/components/organisms/NavigatorPane/NavigatorPane.tsx b/src/components/organisms/NavigatorPane/NavigatorPane.tsx index c3ed0d3136..39337d53f6 100644 --- a/src/components/organisms/NavigatorPane/NavigatorPane.tsx +++ b/src/components/organisms/NavigatorPane/NavigatorPane.tsx @@ -10,7 +10,7 @@ import {FilterOutlined, PlusOutlined} from '@ant-design/icons'; import styled from 'styled-components'; import {NAVIGATOR_HEIGHT_OFFSET, ROOT_FILE_ENTRY} from '@constants/constants'; -import {QuickFilterTooltip} from '@constants/tooltips'; +import {NewResourceTooltip, QuickFilterTooltip} from '@constants/tooltips'; import {ResourceFilterType} from '@models/appstate'; @@ -120,17 +120,19 @@ const NavPane: React.FC = () => { - } - size="small" - type="link" - onClick={onClickNewResource} - /> + + } + size="small" + type="link" + onClick={onClickNewResource} + /> +