Skip to content

Commit 4afba0a

Browse files
author
Kristiyan Ivanov
authored
RI-0000 bug fixes (#4871)
* RI-7346 - Tab titles in the Insight panel are small * Updated texts as per Olga's request * fixed tab spacing due to flex grow and a giant link in the copilot chat
1 parent a6ee94a commit 4afba0a

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

redisinsight/ui/src/components/navigation-menu/hooks/useNavigation.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ export function useNavigation() {
8585

8686
const privateRoutes: INavigations[] = [
8787
{
88-
tooltipText: 'Browser',
88+
tooltipText: 'Browse',
8989
pageName: PageNames.browser,
9090
isActivePage: activePage === `/${PageNames.browser}`,
9191
ariaLabel: 'Browser page button',
@@ -117,9 +117,9 @@ export function useNavigation() {
117117
onboard: ONBOARDING_FEATURES.WORKBENCH_PAGE,
118118
},
119119
{
120-
tooltipText: 'Analysis Tools',
120+
tooltipText: 'Analyze',
121121
pageName: PageNames.analytics,
122-
ariaLabel: 'Analysis Tools',
122+
ariaLabel: 'Analyze page button',
123123
onClick: () => handleGoPage(Pages.analytics(connectedInstanceId)),
124124
dataTestId: 'analytics-page-btn',
125125
connectedInstanceId,

redisinsight/ui/src/components/side-panels/components/header/styles.module.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11

22
.header {
3-
height: 60px;
43
position: relative;
54

65
padding: 15px;
6+
padding-bottom: 0;
77

88
display: flex;
99
align-items: center;

redisinsight/ui/src/components/side-panels/panels/ai-assistant/components/expert-chat/components/no-indexes-initial-message/NoIndexesInitialMessage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ const NoIndexesInitialMessage = (props: Props) => {
3232
<Text size="xs">
3333
Would you like to load the sample data and indexes (from this{' '}
3434
<Link
35+
variant="small-inline"
3536
color="subdued"
36-
className="defaultLink"
3737
onClick={onClickTutorial}
3838
data-testid="tutorial-initial-message-link"
3939
>

redisinsight/ui/src/components/side-panels/styles.module.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,13 +112,13 @@ $animation-duration: 300ms;
112112

113113
.tabs {
114114
display: flex;
115-
flex: 1;
116115
flex-shrink: 0 !important;
117116
overflow: initial !important;
118117
margin-right: 12px;
119118
border-bottom: 1px solid var(--separatorColor);
120119
align-items: center;
121120
padding: 0 12px;
121+
flex-grow: 0;
122122
}
123123

124124
.assistantHeader {

0 commit comments

Comments
 (0)