Skip to content

Commit ae82d66

Browse files
Merge pull request #3366 from RedisInsight/fe/feature/RI-5654
#RI-5654 - update links
2 parents 1d88935 + 8bcfa80 commit ae82d66

File tree

15 files changed

+56
-57
lines changed

15 files changed

+56
-57
lines changed

redisinsight/ui/src/components/messages/filter-not-available/FilterNotAvailable.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ const FilterNotAvailable = ({ onClose } : { onClose?: () => void }) => {
4747
<>
4848
<EuiText color="subdued">
4949
Create a free Redis Stack database that supports filtering and extends
50-
the core capabilities of open-source Redis.
50+
the core capabilities of your Redis.
5151
</EuiText>
5252
<EuiSpacer size="l" />
5353
<div className={styles.linksWrapper}>

redisinsight/ui/src/components/messages/module-not-loaded-minimalized/constants.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,22 +6,22 @@ export const MODULE_CAPABILITY_TEXT_NOT_AVAILABLE: { [key in RedisDefaultModules
66
} } = {
77
[RedisDefaultModules.Bloom]: {
88
title: 'Probabilistic data structures are not available',
9-
text: 'Create a free Redis Stack database with probabilistic data structures that extend the core capabilities of open-source Redis.'
9+
text: 'Create a free Redis Stack database with probabilistic data structures that extend the core capabilities of your Redis.'
1010
},
1111
[RedisDefaultModules.ReJSON]: {
1212
title: 'JSON capability is not available',
13-
text: 'Create a free Redis Stack database with JSON capability that extends the core capabilities of open-source Redis.'
13+
text: 'Create a free Redis Stack database with JSON capability that extends the core capabilities of your Redis.'
1414
},
1515
[RedisDefaultModules.Search]: {
1616
title: 'Search and query capability is not available',
1717
text: 'Create a free Redis Stack database with search and query features that extend the core capabilities of your Redis.'
1818
},
1919
[RedisDefaultModules.TimeSeries]: {
2020
title: 'Time series data structure is not available',
21-
text: 'Create a free Redis Stack database with the time series data structure that extends the core capabilities of open-source Redis.'
21+
text: 'Create a free Redis Stack database with the time series data structure that extends the core capabilities of your Redis.'
2222
},
2323
[RedisDefaultModules.RedisGears]: {
2424
title: 'Triggers and functions capability is not available',
25-
text: 'Create a free Redis Stack database with triggers and functions that extend the core capabilities of open-source Redis.'
25+
text: 'Create a free Redis Stack database with triggers and functions that extend the core capabilities of your Redis.'
2626
},
2727
}

redisinsight/ui/src/components/messages/module-not-loaded/ModuleNotLoaded.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ const ModuleNotLoaded = ({ moduleName, id, type = 'workbench', onClose }: IProps
7373

7474
const renderText = useCallback((moduleName?: string) => (!freeDbWithModule ? (
7575
<EuiText className={cx(styles.text, styles.marginBottom)}>
76-
{`Create a free Redis Stack database with ${moduleName} which extends the core capabilities of open-source Redis`}
76+
{`Create a free Redis Stack database with ${moduleName} which extends the core capabilities of your Redis`}
7777
</EuiText>
7878
) : (
7979
<EuiText className={cx(styles.text, styles.marginBottom, styles.textFooter)}>

redisinsight/ui/src/components/oauth/oauth-agreement/OAuthAgreement.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ const OAuthAgreement = () => {
3434
{'to our '}
3535
<EuiLink
3636
color="subdued"
37-
href="https://redis.com/legal/cloud-tos/?utm_source=redisinsight&utm_medium=main&utm_campaign=main"
37+
href="https://redis.io/legal/cloud-tos/?utm_source=redisinsight&utm_medium=main&utm_campaign=main"
3838
className={styles.link}
3939
external={false}
4040
target="_blank"
@@ -45,7 +45,7 @@ const OAuthAgreement = () => {
4545
{' and '}
4646
<EuiLink
4747
color="subdued"
48-
href="https://redis.com/legal/privacy-policy/?utm_source=redisinsight&utm_medium=main&utm_campaign=main"
48+
href="https://redis.io/legal/privacy-policy/?utm_source=redisinsight&utm_medium=main&utm_campaign=main"
4949
className={styles.link}
5050
external={false}
5151
target="_blank"

redisinsight/ui/src/constants/help-texts.tsx

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
11
import React from 'react'
22
import { EuiIcon, EuiText } from '@elastic/eui'
3+
import { EXTERNAL_LINKS } from 'uiSrc/constants/links'
34

45
import styles from 'uiSrc/pages/browser/components/popover-delete/styles.module.scss'
56

6-
const tryFreeHref = 'https://redis.com/try-free/'
7-
87
export default {
98
REJSON_SHOULD_BE_LOADED: (
109
<>
1110
RedisJSON module should be loaded to add this key. Find&nbsp;
1211
<a
13-
href="https://oss.redis.com/redisjson/"
12+
href="https://redis.io/docs/latest/operate/oss_and_stack/stack-with-enterprise/json/?utm_source=redisinsight&utm_medium=app&utm_campaign=redisinsight_tutorials"
1413
className="link-underline"
1514
target="_blank"
1615
rel="noreferrer"
@@ -19,7 +18,7 @@ export default {
1918
</a>
2019
&nbsp;
2120
about RedisJSON or create your&nbsp;
22-
<a href={`${tryFreeHref}?utm_source=redis&utm_medium=app&utm_campaign=redisinsight_redisjson`} className="link-underline" target="_blank" rel="noreferrer">
21+
<a href={`${EXTERNAL_LINKS.tryFree}?utm_source=redis&utm_medium=app&utm_campaign=redisinsight_redisjson`} className="link-underline" target="_blank" rel="noreferrer">
2322
free Redis database
2423
</a>
2524
&nbsp;
@@ -42,7 +41,7 @@ export default {
4241
Removing multiple elements is available for Redis databases v. 6.2 or
4342
later. Update your Redis database or create a new&nbsp;
4443
<a
45-
href={`${tryFreeHref}?utm_source=redis&utm_medium=app&utm_campaign=redisinsight_redis_latest`}
44+
href={`${EXTERNAL_LINKS.tryFree}?utm_source=redis&utm_medium=app&utm_campaign=redisinsight_redis_latest`}
4645
target="_blank"
4746
className="link-underline"
4847
rel="noreferrer"

redisinsight/ui/src/constants/links.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export const EXTERNAL_LINKS = {
99
guidesRepo: 'https://github.com/RedisInsight/Tutorials',
1010
redisStack: 'https://redis.io/docs/latest/operate/oss_and_stack/install/install-stack/',
1111
cloudConsole: 'https://app.redislabs.com/#/databases',
12-
tryFree: 'https://redis.com/try-free',
12+
tryFree: 'https://redis.io/try-free',
1313
docker: 'https://redis.io/docs/getting-started/install-stack/docker',
1414
}
1515

redisinsight/ui/src/constants/mocks/mock-recommendations.ts

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ export const MOCK_RECOMMENDATIONS: IRecommendationsStatic = {
121121
{
122122
type: 'link',
123123
value: {
124-
href: 'https://redis.com/try-free/',
124+
href: 'https://redis.io/try-free/',
125125
name: 'Redis Cloud'
126126
}
127127
},
@@ -414,7 +414,7 @@ export const MOCK_RECOMMENDATIONS: IRecommendationsStatic = {
414414
{
415415
type: 'link',
416416
value: {
417-
href: 'https://redis.com/redis-enterprise-cloud/overview/',
417+
href: 'https://redis.io/redis-enterprise-cloud/overview/',
418418
name: 'Redis Cloud'
419419
}
420420
},
@@ -425,7 +425,7 @@ export const MOCK_RECOMMENDATIONS: IRecommendationsStatic = {
425425
{
426426
type: 'link',
427427
value: {
428-
href: 'https://redis.com/redis-enterprise-software/overview/',
428+
href: 'https://redis.io/redis-enterprise-software/overview/',
429429
name: 'Redis Enterprise Software'
430430
}
431431
},
@@ -528,7 +528,7 @@ export const MOCK_RECOMMENDATIONS: IRecommendationsStatic = {
528528
{
529529
type: 'link',
530530
value: {
531-
href: 'https://redis.io/docs/data-types/probabilistic/bloom-filter/',
531+
href: 'https://redis.io/docs/latest/develop/data-types/probabilistic/bloom-filter/',
532532
name: 'probabilistic data structures'
533533
}
534534
},
@@ -558,7 +558,7 @@ export const MOCK_RECOMMENDATIONS: IRecommendationsStatic = {
558558
{
559559
type: 'link',
560560
value: {
561-
href: 'https://redis.com/redis-enterprise-cloud/overview/',
561+
href: 'https://redis.io/redis-enterprise-cloud/overview/',
562562
name: 'Redis Cloud'
563563
}
564564
},
@@ -569,7 +569,7 @@ export const MOCK_RECOMMENDATIONS: IRecommendationsStatic = {
569569
{
570570
type: 'link',
571571
value: {
572-
href: 'https://redis.com/redis-enterprise-software/overview/',
572+
href: 'https://redis.io/redis-enterprise-software/overview/',
573573
name: 'Redis Enterprise Software'
574574
}
575575
},
@@ -673,7 +673,7 @@ export const MOCK_RECOMMENDATIONS: IRecommendationsStatic = {
673673
{
674674
type: 'link',
675675
value: {
676-
href: 'https://redis.io/docs/data-types/timeseries/',
676+
href: 'https://redis.io/docs/latest/develop/data-types/timeseries/',
677677
name: 'time series capabilities'
678678
}
679679
},
@@ -719,7 +719,7 @@ export const MOCK_RECOMMENDATIONS: IRecommendationsStatic = {
719719
{
720720
type: 'link',
721721
value: {
722-
href: 'https://redis.com/redis-enterprise-cloud/overview/',
722+
href: 'https://redis.io/redis-enterprise-cloud/overview/',
723723
name: 'Redis Cloud'
724724
}
725725
},
@@ -730,7 +730,7 @@ export const MOCK_RECOMMENDATIONS: IRecommendationsStatic = {
730730
{
731731
type: 'link',
732732
value: {
733-
href: 'https://redis.com/redis-enterprise-software/overview/',
733+
href: 'https://redis.io/redis-enterprise-software/overview/',
734734
name: 'Redis Enterprise Software'
735735
}
736736
},
@@ -809,7 +809,7 @@ export const MOCK_RECOMMENDATIONS: IRecommendationsStatic = {
809809
{
810810
type: 'link',
811811
value: {
812-
href: 'https://redis.com/try-free/',
812+
href: 'https://redis.io/try-free/',
813813
name: 'Redis Cloud'
814814
}
815815
},
@@ -831,7 +831,7 @@ export const MOCK_RECOMMENDATIONS: IRecommendationsStatic = {
831831
{
832832
type: 'link',
833833
value: {
834-
href: 'https://redis.io/docs/data-types/json/',
834+
href: 'https://redis.io/docs/latest/develop/data-types/json/',
835835
name: 'JSON'
836836
}
837837
},
@@ -842,7 +842,7 @@ export const MOCK_RECOMMENDATIONS: IRecommendationsStatic = {
842842
{
843843
type: 'link',
844844
value: {
845-
href: 'https://redis.io/docs/data-types/probabilistic/bloom-filter/',
845+
href: 'https://redis.io/docs/latest/develop/data-types/probabilistic/bloom-filter/',
846846
name: 'probabilistic data structures'
847847
}
848848
},
@@ -853,7 +853,7 @@ export const MOCK_RECOMMENDATIONS: IRecommendationsStatic = {
853853
{
854854
type: 'link',
855855
value: {
856-
href: 'https://redis.io/docs/data-types/timeseries/',
856+
href: 'https://redis.io/docs/latest/develop/data-types/timeseries/',
857857
name: 'Time Series'
858858
}
859859
},
@@ -904,7 +904,7 @@ export const MOCK_RECOMMENDATIONS: IRecommendationsStatic = {
904904
{
905905
type: 'link',
906906
value: {
907-
href: 'https://redis.com/try-free/',
907+
href: 'https://redis.io/try-free/',
908908
name: 'free Redis Stack database'
909909
}
910910
},
@@ -997,7 +997,7 @@ export const MOCK_RECOMMENDATIONS: IRecommendationsStatic = {
997997
{
998998
type: 'link',
999999
value: {
1000-
href: 'https://redis.com/redis-enterprise-cloud/overview/',
1000+
href: 'https://redis.io/redis-enterprise-cloud/overview/',
10011001
name: 'Redis Cloud'
10021002
}
10031003
},
@@ -1008,7 +1008,7 @@ export const MOCK_RECOMMENDATIONS: IRecommendationsStatic = {
10081008
{
10091009
type: 'link',
10101010
value: {
1011-
href: 'https://redis.com/redis-enterprise-software/overview/',
1011+
href: 'https://redis.io/redis-enterprise-software/overview/',
10121012
name: 'Redis Enterprise Software'
10131013
}
10141014
},
@@ -1089,7 +1089,7 @@ export const MOCK_RECOMMENDATIONS: IRecommendationsStatic = {
10891089
{
10901090
type: 'link',
10911091
value: {
1092-
href: 'https://redis.com/redis-enterprise-cloud/overview/',
1092+
href: 'https://redis.io/redis-enterprise-cloud/overview/',
10931093
name: 'Redis Cloud'
10941094
}
10951095
},
@@ -1100,7 +1100,7 @@ export const MOCK_RECOMMENDATIONS: IRecommendationsStatic = {
11001100
{
11011101
type: 'link',
11021102
value: {
1103-
href: 'https://redis.com/redis-enterprise-software/overview/',
1103+
href: 'https://redis.io/redis-enterprise-software/overview/',
11041104
name: 'Redis Enterprise Software'
11051105
}
11061106
},
@@ -1164,7 +1164,7 @@ export const MOCK_RECOMMENDATIONS: IRecommendationsStatic = {
11641164
{
11651165
type: 'link',
11661166
value: {
1167-
href: 'https://redis.io/docs/data-types/json/path/',
1167+
href: 'https://redis.io/docs/latest/develop/data-types/json/path/',
11681168
name: 'JSONPath'
11691169
}
11701170
},
@@ -1218,7 +1218,7 @@ export const MOCK_RECOMMENDATIONS: IRecommendationsStatic = {
12181218
{
12191219
type: 'link',
12201220
value: {
1221-
href: 'https://redis.com/redis-enterprise-cloud/overview/',
1221+
href: 'https://redis.io/redis-enterprise-cloud/overview/',
12221222
name: 'Redis Cloud'
12231223
}
12241224
},
@@ -1229,7 +1229,7 @@ export const MOCK_RECOMMENDATIONS: IRecommendationsStatic = {
12291229
{
12301230
type: 'link',
12311231
value: {
1232-
href: 'https://redis.com/redis-enterprise-software/overview/',
1232+
href: 'https://redis.io/redis-enterprise-software/overview/',
12331233
name: 'Redis Enterprise Software'
12341234
}
12351235
},
@@ -1278,7 +1278,7 @@ export const MOCK_RECOMMENDATIONS: IRecommendationsStatic = {
12781278
{
12791279
type: 'link',
12801280
value: {
1281-
href: 'https://redis.io/docs/data-types/json/',
1281+
href: 'https://redis.io/docs/latest/develop/data-types/json/',
12821282
name: 'JSON'
12831283
}
12841284
},
@@ -1300,7 +1300,7 @@ export const MOCK_RECOMMENDATIONS: IRecommendationsStatic = {
13001300
{
13011301
type: 'link',
13021302
value: {
1303-
href: 'https://redis.io/docs/data-types/timeseries/',
1303+
href: 'https://redis.io/docs/latest/develop/data-types/timeseries/',
13041304
name: 'Time Series'
13051305
}
13061306
},
@@ -1399,7 +1399,7 @@ export const MOCK_RECOMMENDATIONS: IRecommendationsStatic = {
13991399
{
14001400
type: 'link',
14011401
value: {
1402-
href: 'https://redis.com/redis-enterprise-cloud/overview/',
1402+
href: 'https://redis.io/redis-enterprise-cloud/overview/',
14031403
name: 'Redis Cloud'
14041404
}
14051405
},
@@ -1410,7 +1410,7 @@ export const MOCK_RECOMMENDATIONS: IRecommendationsStatic = {
14101410
{
14111411
type: 'link',
14121412
value: {
1413-
href: 'https://redis.com/redis-enterprise-software/overview/',
1413+
href: 'https://redis.io/redis-enterprise-software/overview/',
14141414
name: 'Redis Enterprise Software'
14151415
}
14161416
},
@@ -1480,7 +1480,7 @@ export const MOCK_RECOMMENDATIONS: IRecommendationsStatic = {
14801480
{
14811481
type: 'link',
14821482
value: {
1483-
href: 'https://redis.com/redis-enterprise-cloud/overview/',
1483+
href: 'https://redis.io/redis-enterprise-cloud/overview/',
14841484
name: 'Redis Cloud'
14851485
}
14861486
},
@@ -1491,7 +1491,7 @@ export const MOCK_RECOMMENDATIONS: IRecommendationsStatic = {
14911491
{
14921492
type: 'link',
14931493
value: {
1494-
href: 'https://redis.com/redis-enterprise-software/overview/',
1494+
href: 'https://redis.io/redis-enterprise-software/overview/',
14951495
name: 'Redis Enterprise Software'
14961496
}
14971497
},
@@ -1550,7 +1550,7 @@ export const MOCK_RECOMMENDATIONS: IRecommendationsStatic = {
15501550
{
15511551
type: 'link',
15521552
value: {
1553-
href: 'https://redis.com/redis-enterprise-cloud/overview/',
1553+
href: 'https://redis.io/redis-enterprise-cloud/overview/',
15541554
name: 'Redis Cloud'
15551555
}
15561556
},
@@ -1561,7 +1561,7 @@ export const MOCK_RECOMMENDATIONS: IRecommendationsStatic = {
15611561
{
15621562
type: 'link',
15631563
value: {
1564-
href: 'https://redis.com/redis-enterprise-software/overview/',
1564+
href: 'https://redis.io/redis-enterprise-software/overview/',
15651565
name: 'Redis Enterprise Software'
15661566
}
15671567
},
@@ -1628,7 +1628,7 @@ export const MOCK_RECOMMENDATIONS: IRecommendationsStatic = {
16281628
{
16291629
type: 'link',
16301630
value: {
1631-
href: 'https://redis.com/redis-enterprise-cloud/overview/',
1631+
href: 'https://redis.io/redis-enterprise-cloud/overview/',
16321632
name: 'Redis Cloud'
16331633
}
16341634
},
@@ -1639,7 +1639,7 @@ export const MOCK_RECOMMENDATIONS: IRecommendationsStatic = {
16391639
{
16401640
type: 'link',
16411641
value: {
1642-
href: 'https://redis.com/redis-enterprise-software/overview/',
1642+
href: 'https://redis.io/redis-enterprise-software/overview/',
16431643
name: 'Redis Enterprise Software'
16441644
}
16451645
},

0 commit comments

Comments
 (0)