Skip to content

Commit 39ec3a3

Browse files
committed
#RI-3329 - update link, text
1 parent 5c312a4 commit 39ec3a3

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

redisinsight/ui/src/components/bottom-group-components/components/bottom-group-minimized/BottomGroupMinimized.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import cx from 'classnames'
33
import { EuiBadge, EuiFlexGroup, EuiFlexItem, EuiIcon } from '@elastic/eui'
44
import { useDispatch, useSelector } from 'react-redux'
55
import { useParams } from 'react-router-dom'
6+
import { EXTERNAL_LINKS } from 'uiSrc/constants/links'
67

78
import {
89
clearSearchingCommand,
@@ -128,12 +129,13 @@ const BottomGroupMinimized = () => {
128129
className={styles.link}
129130
target="_blank"
130131
rel="noreferrer"
131-
href="#"
132+
href={EXTERNAL_LINKS.userSurvey}
132133
onClick={onClickSurvey}
134+
data-testid="user-survey-link"
133135
>
134136
<>
135137
<EuiIcon type={SurveyIcon} className={styles.surveyIcon} />
136-
<span>We need your opinion, take a survey!</span>
138+
<span>We need your opinion. Please take our survey.</span>
137139
</>
138140
</a>
139141
</div>

redisinsight/ui/src/constants/links.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@ export const EXTERNAL_LINKS = {
22
githubRepo: 'https://github.com/RedisInsight/RedisInsight',
33
githubIssues: 'https://github.com/RedisInsight/RedisInsight/issues',
44
releaseNotes: 'https://github.com/RedisInsight/RedisInsight/releases',
5+
userSurvey: 'https://www.surveymonkey.com/r/redisinsight',
56
}

0 commit comments

Comments
 (0)