Skip to content

Commit 123eb68

Browse files
Adding click here link to the feedback
1 parent 99131bb commit 123eb68

File tree

2 files changed

+14
-4
lines changed

2 files changed

+14
-4
lines changed

public/locales/en.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,8 @@
104104
"feedbackButton": "Send feedback",
105105
"feedbackButtonInfo": "Give us your feedback",
106106
"feedbackPlaceholder": "Please let us know what you think about our application",
107-
"feedbackNotification": "*Slack notification with your email address will be shared with our Operations Team. If you have a special Feature request in mind, please create here.",
107+
"feedbackNotificationText": "*Slack notification with your email address will be shared with our Operations Team. If you have a special Feature request in mind ",
108+
"feedbackNotificationAction": "click here.",
108109
"feedbackThanks": "Thank you for your feedback!"
109110
},
110111
"CreateProjectDialog": {

src/components/Core/ShellBar.tsx

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ import {
3131
} from 'react';
3232
import { ShellBarProfileClickEventDetail } from '@ui5/webcomponents-fiori/dist/ShellBar.js';
3333
import PopoverPlacement from '@ui5/webcomponents/dist/types/PopoverPlacement.js';
34-
import { useTranslation } from 'react-i18next';
34+
import { useTranslation, Trans } from 'react-i18next';
3535
import { generateInitialsForEmail } from '../Helper/generateInitialsForEmail.ts';
3636
import styles from './ShellBar.module.css';
3737
import { ThemingParameters } from '@ui5/webcomponents-react-base';
@@ -151,7 +151,9 @@ export function ShellBarComponent() {
151151
>
152152
<ShellBarItem
153153
icon="feedback"
154-
text={t('ShellBar.feedbackNotification')}
154+
text={t('ShellBar.feedbackNotification', {
155+
url: 'https://github.com/openmcp-project/ui-frontend/issues/new/choose',
156+
})}
155157
onClick={onFeedbackClick}
156158
/>
157159
</ShellBar>
@@ -336,7 +338,14 @@ const FeedbackPopover = ({
336338
</FormItem>
337339
<FormItem>
338340
<Label style={{ color: 'gray' }}>
339-
{t('ShellBar.feedbackNotification')}
341+
{t('ShellBar.feedbackNotificationText')}
342+
<a
343+
href="https://github.com/openmcp-project/ui-frontend/issues/new/choose"
344+
target="_blank"
345+
rel="noreferrer"
346+
>
347+
{t('ShellBar.feedbackNotificationAction')}
348+
</a>
340349
</Label>
341350
</FormItem>
342351
</FormGroup>

0 commit comments

Comments
 (0)