Skip to content

Commit 507cb19

Browse files
committed
fix(feedback-modal): Fixed bug with user feedback where inform the direction of RedHat was not showing up. Also updated with the correct image for redhat brand.
1 parent 81becc5 commit 507cb19

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

frontend/public/components/feedback-local.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export function useFeedbackLocal(reportBug) {
3030
informDirectionDescription: t(
3131
'public~By participating in feedback sessions, usability tests, and interviews with our',
3232
),
33-
informRedhatDirection: t('public~Inform the direction of Red Hat'),
33+
informDirection: t('public~Inform the direction of Red Hat'),
3434
learnAboutResearchOpportunities: t(
3535
'public~Learn about opportunities to share your feedback with our User Research Team.',
3636
),

frontend/public/components/masthead-toolbar.jsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ import ClusterMenu from '@console/app/src/components/nav/ClusterMenu';
4848
import { ACM_PERSPECTIVE_ID } from '@console/app/src/consts';
4949
import { FeedbackModal } from '@patternfly/react-user-feedback';
5050
import { useFeedbackLocal } from './feedback-local';
51+
import feedbackImage from '@patternfly/react-user-feedback/dist/esm/images/rh_feedback.svg';
5152

5253
const defaultHelpLinks = [
5354
{
@@ -83,6 +84,7 @@ const FeedbackModalLocalized = ({ isOpen, onClose, reportBugLink }) => {
8384
onOpenSupportCase={reportBugLink.href}
8485
feedbackLocale={feedbackLocales}
8586
onJoinMailingList="https://console.redhat.com/self-managed-research-form?source=openshift"
87+
feedbackImg={feedbackImage}
8688
isOpen={isOpen}
8789
onClose={onClose}
8890
/>

0 commit comments

Comments
 (0)