Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const FilterNotAvailable = ({ onClose } : { onClose?: () => void }) => {
<>
<EuiText color="subdued">
Create a free Redis Stack database that supports filtering and extends
the core capabilities of open-source Redis.
the core capabilities of your Redis.
</EuiText>
<EuiSpacer size="l" />
<div className={styles.linksWrapper}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,22 @@ export const MODULE_CAPABILITY_TEXT_NOT_AVAILABLE: { [key in RedisDefaultModules
} } = {
[RedisDefaultModules.Bloom]: {
title: 'Probabilistic data structures are not available',
text: 'Create a free Redis Stack database with probabilistic data structures that extend the core capabilities of open-source Redis.'
text: 'Create a free Redis Stack database with probabilistic data structures that extend the core capabilities of your Redis.'
},
[RedisDefaultModules.ReJSON]: {
title: 'JSON capability is not available',
text: 'Create a free Redis Stack database with JSON capability that extends the core capabilities of open-source Redis.'
text: 'Create a free Redis Stack database with JSON capability that extends the core capabilities of your Redis.'
},
[RedisDefaultModules.Search]: {
title: 'Search and query capability is not available',
text: 'Create a free Redis Stack database with search and query features that extend the core capabilities of your Redis.'
},
[RedisDefaultModules.TimeSeries]: {
title: 'Time series data structure is not available',
text: 'Create a free Redis Stack database with the time series data structure that extends the core capabilities of open-source Redis.'
text: 'Create a free Redis Stack database with the time series data structure that extends the core capabilities of your Redis.'
},
[RedisDefaultModules.RedisGears]: {
title: 'Triggers and functions capability is not available',
text: 'Create a free Redis Stack database with triggers and functions that extend the core capabilities of open-source Redis.'
text: 'Create a free Redis Stack database with triggers and functions that extend the core capabilities of your Redis.'
},
}
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ const ModuleNotLoaded = ({ moduleName, id, type = 'workbench', onClose }: IProps

const renderText = useCallback((moduleName?: string) => (!freeDbWithModule ? (
<EuiText className={cx(styles.text, styles.marginBottom)}>
{`Create a free Redis Stack database with ${moduleName} which extends the core capabilities of open-source Redis`}
{`Create a free Redis Stack database with ${moduleName} which extends the core capabilities of your Redis`}
</EuiText>
) : (
<EuiText className={cx(styles.text, styles.marginBottom, styles.textFooter)}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const OAuthAgreement = () => {
{'to our '}
<EuiLink
color="subdued"
href="https://redis.com/legal/cloud-tos/?utm_source=redisinsight&utm_medium=main&utm_campaign=main"
href="https://redis.io/legal/cloud-tos/?utm_source=redisinsight&utm_medium=main&utm_campaign=main"
className={styles.link}
external={false}
target="_blank"
Expand All @@ -45,7 +45,7 @@ const OAuthAgreement = () => {
{' and '}
<EuiLink
color="subdued"
href="https://redis.com/legal/privacy-policy/?utm_source=redisinsight&utm_medium=main&utm_campaign=main"
href="https://redis.io/legal/privacy-policy/?utm_source=redisinsight&utm_medium=main&utm_campaign=main"
className={styles.link}
external={false}
target="_blank"
Expand Down
9 changes: 4 additions & 5 deletions redisinsight/ui/src/constants/help-texts.tsx
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
import React from 'react'
import { EuiIcon, EuiText } from '@elastic/eui'
import { EXTERNAL_LINKS } from 'uiSrc/constants/links'

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

const tryFreeHref = 'https://redis.com/try-free/'

export default {
REJSON_SHOULD_BE_LOADED: (
<>
RedisJSON module should be loaded to add this key. Find&nbsp;
<a
href="https://oss.redis.com/redisjson/"
href="https://redis.io/docs/latest/operate/oss_and_stack/stack-with-enterprise/json/?utm_source=redisinsight&utm_medium=app&utm_campaign=redisinsight_tutorials"
className="link-underline"
target="_blank"
rel="noreferrer"
Expand All @@ -19,7 +18,7 @@ export default {
</a>
&nbsp;
about RedisJSON or create your&nbsp;
<a href={`${tryFreeHref}?utm_source=redis&utm_medium=app&utm_campaign=redisinsight_redisjson`} className="link-underline" target="_blank" rel="noreferrer">
<a href={`${EXTERNAL_LINKS.tryFree}?utm_source=redis&utm_medium=app&utm_campaign=redisinsight_redisjson`} className="link-underline" target="_blank" rel="noreferrer">
free Redis database
</a>
&nbsp;
Expand All @@ -42,7 +41,7 @@ export default {
Removing multiple elements is available for Redis databases v. 6.2 or
later. Update your Redis database or create a new&nbsp;
<a
href={`${tryFreeHref}?utm_source=redis&utm_medium=app&utm_campaign=redisinsight_redis_latest`}
href={`${EXTERNAL_LINKS.tryFree}?utm_source=redis&utm_medium=app&utm_campaign=redisinsight_redis_latest`}
target="_blank"
className="link-underline"
rel="noreferrer"
Expand Down
2 changes: 1 addition & 1 deletion redisinsight/ui/src/constants/links.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export const EXTERNAL_LINKS = {
guidesRepo: 'https://github.com/RedisInsight/Tutorials',
redisStack: 'https://redis.io/docs/latest/operate/oss_and_stack/install/install-stack/',
cloudConsole: 'https://app.redislabs.com/#/databases',
tryFree: 'https://redis.com/try-free',
tryFree: 'https://redis.io/try-free',
docker: 'https://redis.io/docs/getting-started/install-stack/docker',
}

Expand Down
62 changes: 31 additions & 31 deletions redisinsight/ui/src/constants/mocks/mock-recommendations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ export const MOCK_RECOMMENDATIONS: IRecommendationsStatic = {
{
type: 'link',
value: {
href: 'https://redis.com/try-free/',
href: 'https://redis.io/try-free/',
name: 'Redis Cloud'
}
},
Expand Down Expand Up @@ -414,7 +414,7 @@ export const MOCK_RECOMMENDATIONS: IRecommendationsStatic = {
{
type: 'link',
value: {
href: 'https://redis.com/redis-enterprise-cloud/overview/',
href: 'https://redis.io/redis-enterprise-cloud/overview/',
name: 'Redis Cloud'
}
},
Expand All @@ -425,7 +425,7 @@ export const MOCK_RECOMMENDATIONS: IRecommendationsStatic = {
{
type: 'link',
value: {
href: 'https://redis.com/redis-enterprise-software/overview/',
href: 'https://redis.io/redis-enterprise-software/overview/',
name: 'Redis Enterprise Software'
}
},
Expand Down Expand Up @@ -528,7 +528,7 @@ export const MOCK_RECOMMENDATIONS: IRecommendationsStatic = {
{
type: 'link',
value: {
href: 'https://redis.io/docs/data-types/probabilistic/bloom-filter/',
href: 'https://redis.io/docs/latest/develop/data-types/probabilistic/bloom-filter/',
name: 'probabilistic data structures'
}
},
Expand Down Expand Up @@ -558,7 +558,7 @@ export const MOCK_RECOMMENDATIONS: IRecommendationsStatic = {
{
type: 'link',
value: {
href: 'https://redis.com/redis-enterprise-cloud/overview/',
href: 'https://redis.io/redis-enterprise-cloud/overview/',
name: 'Redis Cloud'
}
},
Expand All @@ -569,7 +569,7 @@ export const MOCK_RECOMMENDATIONS: IRecommendationsStatic = {
{
type: 'link',
value: {
href: 'https://redis.com/redis-enterprise-software/overview/',
href: 'https://redis.io/redis-enterprise-software/overview/',
name: 'Redis Enterprise Software'
}
},
Expand Down Expand Up @@ -673,7 +673,7 @@ export const MOCK_RECOMMENDATIONS: IRecommendationsStatic = {
{
type: 'link',
value: {
href: 'https://redis.io/docs/data-types/timeseries/',
href: 'https://redis.io/docs/latest/develop/data-types/timeseries/',
name: 'time series capabilities'
}
},
Expand Down Expand Up @@ -719,7 +719,7 @@ export const MOCK_RECOMMENDATIONS: IRecommendationsStatic = {
{
type: 'link',
value: {
href: 'https://redis.com/redis-enterprise-cloud/overview/',
href: 'https://redis.io/redis-enterprise-cloud/overview/',
name: 'Redis Cloud'
}
},
Expand All @@ -730,7 +730,7 @@ export const MOCK_RECOMMENDATIONS: IRecommendationsStatic = {
{
type: 'link',
value: {
href: 'https://redis.com/redis-enterprise-software/overview/',
href: 'https://redis.io/redis-enterprise-software/overview/',
name: 'Redis Enterprise Software'
}
},
Expand Down Expand Up @@ -809,7 +809,7 @@ export const MOCK_RECOMMENDATIONS: IRecommendationsStatic = {
{
type: 'link',
value: {
href: 'https://redis.com/try-free/',
href: 'https://redis.io/try-free/',
name: 'Redis Cloud'
}
},
Expand All @@ -831,7 +831,7 @@ export const MOCK_RECOMMENDATIONS: IRecommendationsStatic = {
{
type: 'link',
value: {
href: 'https://redis.io/docs/data-types/json/',
href: 'https://redis.io/docs/latest/develop/data-types/json/',
name: 'JSON'
}
},
Expand All @@ -842,7 +842,7 @@ export const MOCK_RECOMMENDATIONS: IRecommendationsStatic = {
{
type: 'link',
value: {
href: 'https://redis.io/docs/data-types/probabilistic/bloom-filter/',
href: 'https://redis.io/docs/latest/develop/data-types/probabilistic/bloom-filter/',
name: 'probabilistic data structures'
}
},
Expand All @@ -853,7 +853,7 @@ export const MOCK_RECOMMENDATIONS: IRecommendationsStatic = {
{
type: 'link',
value: {
href: 'https://redis.io/docs/data-types/timeseries/',
href: 'https://redis.io/docs/latest/develop/data-types/timeseries/',
name: 'Time Series'
}
},
Expand Down Expand Up @@ -904,7 +904,7 @@ export const MOCK_RECOMMENDATIONS: IRecommendationsStatic = {
{
type: 'link',
value: {
href: 'https://redis.com/try-free/',
href: 'https://redis.io/try-free/',
name: 'free Redis Stack database'
}
},
Expand Down Expand Up @@ -997,7 +997,7 @@ export const MOCK_RECOMMENDATIONS: IRecommendationsStatic = {
{
type: 'link',
value: {
href: 'https://redis.com/redis-enterprise-cloud/overview/',
href: 'https://redis.io/redis-enterprise-cloud/overview/',
name: 'Redis Cloud'
}
},
Expand All @@ -1008,7 +1008,7 @@ export const MOCK_RECOMMENDATIONS: IRecommendationsStatic = {
{
type: 'link',
value: {
href: 'https://redis.com/redis-enterprise-software/overview/',
href: 'https://redis.io/redis-enterprise-software/overview/',
name: 'Redis Enterprise Software'
}
},
Expand Down Expand Up @@ -1089,7 +1089,7 @@ export const MOCK_RECOMMENDATIONS: IRecommendationsStatic = {
{
type: 'link',
value: {
href: 'https://redis.com/redis-enterprise-cloud/overview/',
href: 'https://redis.io/redis-enterprise-cloud/overview/',
name: 'Redis Cloud'
}
},
Expand All @@ -1100,7 +1100,7 @@ export const MOCK_RECOMMENDATIONS: IRecommendationsStatic = {
{
type: 'link',
value: {
href: 'https://redis.com/redis-enterprise-software/overview/',
href: 'https://redis.io/redis-enterprise-software/overview/',
name: 'Redis Enterprise Software'
}
},
Expand Down Expand Up @@ -1164,7 +1164,7 @@ export const MOCK_RECOMMENDATIONS: IRecommendationsStatic = {
{
type: 'link',
value: {
href: 'https://redis.io/docs/data-types/json/path/',
href: 'https://redis.io/docs/latest/develop/data-types/json/path/',
name: 'JSONPath'
}
},
Expand Down Expand Up @@ -1218,7 +1218,7 @@ export const MOCK_RECOMMENDATIONS: IRecommendationsStatic = {
{
type: 'link',
value: {
href: 'https://redis.com/redis-enterprise-cloud/overview/',
href: 'https://redis.io/redis-enterprise-cloud/overview/',
name: 'Redis Cloud'
}
},
Expand All @@ -1229,7 +1229,7 @@ export const MOCK_RECOMMENDATIONS: IRecommendationsStatic = {
{
type: 'link',
value: {
href: 'https://redis.com/redis-enterprise-software/overview/',
href: 'https://redis.io/redis-enterprise-software/overview/',
name: 'Redis Enterprise Software'
}
},
Expand Down Expand Up @@ -1278,7 +1278,7 @@ export const MOCK_RECOMMENDATIONS: IRecommendationsStatic = {
{
type: 'link',
value: {
href: 'https://redis.io/docs/data-types/json/',
href: 'https://redis.io/docs/latest/develop/data-types/json/',
name: 'JSON'
}
},
Expand All @@ -1300,7 +1300,7 @@ export const MOCK_RECOMMENDATIONS: IRecommendationsStatic = {
{
type: 'link',
value: {
href: 'https://redis.io/docs/data-types/timeseries/',
href: 'https://redis.io/docs/latest/develop/data-types/timeseries/',
name: 'Time Series'
}
},
Expand Down Expand Up @@ -1399,7 +1399,7 @@ export const MOCK_RECOMMENDATIONS: IRecommendationsStatic = {
{
type: 'link',
value: {
href: 'https://redis.com/redis-enterprise-cloud/overview/',
href: 'https://redis.io/redis-enterprise-cloud/overview/',
name: 'Redis Cloud'
}
},
Expand All @@ -1410,7 +1410,7 @@ export const MOCK_RECOMMENDATIONS: IRecommendationsStatic = {
{
type: 'link',
value: {
href: 'https://redis.com/redis-enterprise-software/overview/',
href: 'https://redis.io/redis-enterprise-software/overview/',
name: 'Redis Enterprise Software'
}
},
Expand Down Expand Up @@ -1480,7 +1480,7 @@ export const MOCK_RECOMMENDATIONS: IRecommendationsStatic = {
{
type: 'link',
value: {
href: 'https://redis.com/redis-enterprise-cloud/overview/',
href: 'https://redis.io/redis-enterprise-cloud/overview/',
name: 'Redis Cloud'
}
},
Expand All @@ -1491,7 +1491,7 @@ export const MOCK_RECOMMENDATIONS: IRecommendationsStatic = {
{
type: 'link',
value: {
href: 'https://redis.com/redis-enterprise-software/overview/',
href: 'https://redis.io/redis-enterprise-software/overview/',
name: 'Redis Enterprise Software'
}
},
Expand Down Expand Up @@ -1550,7 +1550,7 @@ export const MOCK_RECOMMENDATIONS: IRecommendationsStatic = {
{
type: 'link',
value: {
href: 'https://redis.com/redis-enterprise-cloud/overview/',
href: 'https://redis.io/redis-enterprise-cloud/overview/',
name: 'Redis Cloud'
}
},
Expand All @@ -1561,7 +1561,7 @@ export const MOCK_RECOMMENDATIONS: IRecommendationsStatic = {
{
type: 'link',
value: {
href: 'https://redis.com/redis-enterprise-software/overview/',
href: 'https://redis.io/redis-enterprise-software/overview/',
name: 'Redis Enterprise Software'
}
},
Expand Down Expand Up @@ -1628,7 +1628,7 @@ export const MOCK_RECOMMENDATIONS: IRecommendationsStatic = {
{
type: 'link',
value: {
href: 'https://redis.com/redis-enterprise-cloud/overview/',
href: 'https://redis.io/redis-enterprise-cloud/overview/',
name: 'Redis Cloud'
}
},
Expand All @@ -1639,7 +1639,7 @@ export const MOCK_RECOMMENDATIONS: IRecommendationsStatic = {
{
type: 'link',
value: {
href: 'https://redis.com/redis-enterprise-software/overview/',
href: 'https://redis.io/redis-enterprise-software/overview/',
name: 'Redis Enterprise Software'
}
},
Expand Down
Loading