Skip to content

Commit 3d6dd92

Browse files
author
Artyom Podymov
committed
Merge branch 'main' into fix/RI-1902_ui-encryption-error
# Conflicts: # redisinsight/ui/src/pages/home/components/HelpLinksMenu/styles.module.scss
2 parents 3d9d21f + e16cf81 commit 3d6dd92

File tree

9 files changed

+32
-26
lines changed

9 files changed

+32
-26
lines changed

.circleci/config.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -671,26 +671,26 @@ jobs:
671671
declare -A tag0=(
672672
[key]='platform'
673673
[value]='macos'
674-
[objectDownload]=${appFileName}'-mac-x64.dmg'
675-
[objectUpgrade]=${appFileName}'.zip'
674+
[objectDownload]=${applicationName}'-mac-x64.dmg'
675+
[objectUpgrade]=${applicationName}'.zip'
676676
)
677677
678678
declare -A tag1=(
679679
[key]='platform'
680680
[value]='windows'
681-
[objectDownload]=${appFileName}'-win-installer.exe'
681+
[objectDownload]=${applicationName}'-win-installer.exe'
682682
)
683683
684684
declare -A tag2=(
685685
[key]='platform'
686686
[value]='linux_AppImage'
687-
[objectDownload]=${appFileName}'-linux.AppImage'
687+
[objectDownload]=${applicationName}'-linux.AppImage'
688688
)
689689
690690
declare -A tag3=(
691691
[key]='platform'
692692
[value]='linux_deb'
693-
[objectDownload]=${appFileName}'-linux.deb'
693+
[objectDownload]=${applicationName}'-linux.deb'
694694
)
695695
696696
# loop for add all tags to each app and create metrics

configs/webpack.config.main.prod.babel.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ export default merge(baseConfig, {
6464
SERVER_TLS: true,
6565
SERVER_TLS_CERT: process.env.SERVER_TLS_CERT || '',
6666
SERVER_TLS_KEY: process.env.SERVER_TLS_KEY || '',
67+
APP_FOLDER_NAME: process.env.APP_FOLDER_NAME || '',
68+
UPGRADES_LINK: process.env.UPGRADES_LINK || '',
6769
BUILD_TYPE: 'ELECTRON',
6870
APP_VERSION: version,
6971
AWS_BUCKET_NAME: 'AWS_BUCKET_NAME' in process.env ? process.env.AWS_BUCKET_NAME : '',

configs/webpack.config.main.stage.babel.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ export default merge(mainProdConfig, {
2323
SERVER_TLS: true,
2424
SERVER_TLS_CERT: process.env.SERVER_TLS_CERT || '',
2525
SERVER_TLS_KEY: process.env.SERVER_TLS_KEY || '',
26+
APP_FOLDER_NAME: process.env.APP_FOLDER_NAME || '',
27+
UPGRADES_LINK: process.env.UPGRADES_LINK || '',
2628
BUILD_TYPE: 'ELECTRON',
2729
APP_VERSION: version,
2830
AWS_BUCKET_NAME: 'AWS_BUCKET_NAME' in process.env ? process.env.AWS_BUCKET_NAME : '',

electron-builder.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"package.json"
1313
],
1414
"afterSign": "electron-builder-notarize",
15-
"artifactName": "RedisInsight.${ext}",
15+
"artifactName": "${productName}.${ext}",
1616
"compression": "normal",
1717
"mac": {
1818
"target": ["dmg", "zip"],
@@ -24,7 +24,7 @@
2424
"gatekeeperAssess": false
2525
},
2626
"dmg": {
27-
"artifactName": "RedisInsight-${os}-x64.${ext}",
27+
"artifactName": "${productName}-${os}-x64.${ext}",
2828
"contents": [
2929
{
3030
"x": 130,
@@ -40,14 +40,14 @@
4040
},
4141
"win": {
4242
"target": ["nsis"],
43-
"artifactName": "RedisInsight-${os}-installer.${ext}"
43+
"artifactName": "${productName}-${os}-installer.${ext}"
4444
},
4545
"linux": {
4646
"icon": "./resources/icons",
4747
"target": ["deb", "AppImage"],
4848
"synopsis": "Redis GUI by Redis Ltd.",
4949
"category": "Development",
50-
"artifactName": "RedisInsight-${os}.${ext}",
50+
"artifactName": "${productName}-${os}.${ext}",
5151
"desktop": {
5252
"Name": "RedisInsight",
5353
"Type": "Application",

redisinsight/main.dev.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,8 @@ export default class AppUpdater {
4949
log.transports.file.level = 'info';
5050

5151
autoUpdater.setFeedURL({
52-
provider: 's3',
53-
path: 'public/upgrades/',
54-
bucket: process.env.MANUAL_UPDATE_BUCKET || process.env.AWS_BUCKET_NAME,
55-
region: 'us-east-1',
52+
provider: 'generic',
53+
url: process.env.MANUAL_UPGRADES_LINK || process.env.UPGRADES_LINK,
5654
});
5755

5856
autoUpdater.checkForUpdatesAndNotify();

redisinsight/ui/src/pages/home/components/HelpLinksMenu/HelpLinksMenu.tsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,8 @@ const HelpLinksMenu = ({ onLinkClick }: IProps) => {
4747
onClick={onButtonClick}
4848
className={[styles.button, isPopoverOpen ? styles.buttonOpen : ''].join(' ')}
4949
>
50-
<EuiText size="m" color="default">
51-
CREATE DATABASE
52-
</EuiText>
53-
<EuiIcon type="arrowDown" />
50+
<EuiText size="m">CREATE DATABASE</EuiText>
51+
<EuiIcon type="arrowDown" className={styles.arrowIcon} />
5452
</button>
5553
)
5654

redisinsight/ui/src/pages/home/components/HelpLinksMenu/styles.module.scss

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,33 +7,38 @@
77
justify-content: space-between;
88
align-items: center;
99
border-radius: 4px;
10-
border: 2px solid var(--euiColorSecondary);
10+
border: 2px solid var(--controlsBorderColor);
1111
padding: 0 20px;
12+
color: var(--inputTextColor);
1213
font: normal normal bold 14px/17px Graphik, sans-serif;
1314
}
1415

1516
.buttonOpen {
16-
border-bottom-color: transparent;
17+
border-bottom-color: var(--separatorColor) !important;;
1718
border-radius: 4px 4px 0 0;
1819
}
1920

2021
.popover {
21-
border: 2px solid var(--euiColorSecondary) !important;
22-
border-top: 1px solid var(--separatorColor) !important;
22+
border: 2px solid var(--controlsBorderColor) !important;
23+
border-top-width: 0 !important;
2324
}
2425

2526
.item {
2627
padding: 10px 20px;
2728
background-color: transparent !important;
28-
transition: background-color 0.3s ease-in-out;
2929
text-decoration: none !important;
3030
font: normal normal bold 12px/17px Graphik, sans-serif;
3131
letter-spacing: 0;
3232
&:hover {
33-
background-color: var(--euiColorSecondary) !important;
33+
background-color: var(--hoverInListColorLight) !important;
3434
text-decoration: none !important;
3535
}
3636
a {
3737
text-decoration: none !important;
3838
}
3939
}
40+
41+
.arrowIcon {
42+
fill: var(--iconsDefaultColor) !important;
43+
}
44+

tests/e2e/pageObjects/my-redis-databases-page.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ export class MyRedisDatabasePage {
5252
await t.click(this.toastCloseButton);
5353
}
5454
const db = this.dbNameList.withExactText(dbName.trim());
55+
await t.expect(db.exists).ok('The database exists', {timeout: 60000});
5556
await t.click(db);
5657
}
5758

tests/e2e/tests/regression/workbench/default-scripts-area.e2e.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,13 @@ test('Verify that user can resize(maximize)/(minimize) the enablement area (the
2828
const offsetX = 100;
2929
const areaWidthBefore = await workbenchPage.preselectsAreaContainer.clientWidth;
3030
//Minimize the area with default scripts
31-
await t.drag(workbenchPage.resizeButtonForPreselectsArea, -offsetX, 0, { speed: 0.2 });
31+
await t.drag(workbenchPage.resizeButtonForPreselectsArea, -offsetX, 0, { speed: 0.1 });
3232
await t.expect(await workbenchPage.preselectsAreaContainer.clientWidth).lt(areaWidthBefore, 'Default scripts area is smaller after resize');
3333
//Maximize the area with default scripts
3434
const areaWidthAfter = await workbenchPage.preselectsAreaContainer.clientWidth;
3535
await t.click(workbenchPage.preselectsAreaContainer);
36-
await t.drag(workbenchPage.resizeButtonForPreselectsArea, offsetX, 0, { speed: 0.2 });
37-
await t.expect(await workbenchPage.preselectsAreaContainer.clientWidth).gt(areaWidthAfter, 'Default scripts area is bigger after resize');
36+
await t.drag(workbenchPage.resizeButtonForPreselectsArea, offsetX, 0, { speed: 0.1 });
37+
await t.expect(await workbenchPage.preselectsAreaContainer.clientWidth).gte(areaWidthAfter, 'Default scripts area is bigger after resize');
3838
});
3939
test('Verify that user can expand/collapse the enablement area', async t => {
4040
//Collapse the area with default scripts

0 commit comments

Comments
 (0)