Skip to content

Commit 3626099

Browse files
authored
Merge pull request #1800 from RedisInsight/main
fixes in release 2.20.0
2 parents e6afb3e + daa8ead commit 3626099

File tree

6 files changed

+17
-20
lines changed

6 files changed

+17
-20
lines changed

electron-builder.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"productName": "RedisInsight-v2",
33
"appId": "org.RedisLabs.RedisInsight-V2",
4-
"copyright": "Copyright © 2021 Redis Ltd.",
4+
"copyright": "Copyright © 2023 Redis Ltd.",
55
"files": [
66
"dist/",
77
"node_modules/",

redisinsight/splash.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@
8787
const copyrightEl = document.getElementById('copyright') || null
8888

8989
if (copyrightEl) {
90-
copyrightEl.innerHTML = `RedisInsight ${appVersion}  © ${new Date().getFullYear() || '2022'} Redis Ltd.`
90+
copyrightEl.innerHTML = `RedisInsight ${appVersion}  © ${new Date().getFullYear() || '2023'} Redis Ltd.`
9191
}
9292
}
9393

redisinsight/ui/src/components/query-card/QueryCardHeader/QueryCardHeader.tsx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -346,12 +346,12 @@ const QueryCardHeader = (props: Props) => {
346346
</EuiToolTip>
347347
)}
348348
</EuiFlexItem>
349-
{isOpen && canCommandProfile && !summaryText && (
350-
<EuiFlexItem
351-
grow={false}
352-
className={cx(styles.buttonIcon, styles.viewTypeIcon)}
353-
onClick={onDropDownViewClick}
354-
>
349+
<EuiFlexItem
350+
grow={false}
351+
className={cx(styles.buttonIcon, styles.viewTypeIcon)}
352+
onClick={onDropDownViewClick}
353+
>
354+
{isOpen && canCommandProfile && !summaryText && (
355355
<div className={styles.dropdownWrapper}>
356356
<div className={styles.dropdown}>
357357
<EuiSuperSelect
@@ -364,8 +364,8 @@ const QueryCardHeader = (props: Props) => {
364364
/>
365365
</div>
366366
</div>
367-
</EuiFlexItem>
368-
)}
367+
)}
368+
</EuiFlexItem>
369369
<EuiFlexItem
370370
grow={false}
371371
className={cx(styles.buttonIcon, styles.viewTypeIcon)}

redisinsight/ui/src/components/query-card/QueryCardHeader/styles.module.scss

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,12 @@ $marginIcon: 12px;
4444
}
4545

4646
.titleWrapper {
47-
width: calc(100% - 490px);
48-
min-width: calc(100% - 490px);
47+
width: calc(100% - 552px);
48+
min-width: calc(100% - 552px);
4949

5050
@media (min-width: $breakpoint-m) {
51-
width: calc(100% - 627px);
52-
min-width: calc(100% - 627px);
51+
width: calc(100% - 689px);
52+
min-width: calc(100% - 689px);
5353
}
5454
}
5555

redisinsight/ui/src/components/query-card/styles.module.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ $breakpoint-l: 1300px;
66
$breakpoint-m: 1050px;
77

88
.containerWrapper {
9-
min-width: 560px;
9+
min-width: 662px;
1010
@media (min-width: $breakpoint-m) {
11-
min-width: 700px;
11+
min-width: 762px;
1212
}
1313
&:nth-of-type(even) {
1414
background-color: var(--euiColorEmptyShade) !important;

redisinsight/ui/src/pages/workbench/constants.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,12 @@ export const VIEW_TYPE_OPTIONS = [
2727
export const getViewTypeOptions = () =>
2828
[...VIEW_TYPE_OPTIONS]
2929

30-
3130
export const SEARCH_COMMANDS = ['ft.search', 'ft.aggregate']
3231
export const GRAPH_COMMANDS = ['graph.query']
3332

3433
const ALLOWED_PROFILE_COMMANDS = [...SEARCH_COMMANDS, ...GRAPH_COMMANDS]
3534

36-
export const isCommandAllowedForProfile = (query: string) => {
37-
return ALLOWED_PROFILE_COMMANDS.includes(query?.split(' ')?.[0]?.toLowerCase())
38-
}
35+
export const isCommandAllowedForProfile = (query: string) => ALLOWED_PROFILE_COMMANDS.includes(query?.split(' ')?.[0]?.toLowerCase())
3936

4037
export enum ProfileQueryType {
4138
Profile = 'Profile',

0 commit comments

Comments
 (0)