Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(update-user-profile): design and content review #634

Merged
merged 3 commits into from
Jun 3, 2024
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 @@ -24,7 +24,7 @@ export default function AssociatedInstitutions({
<SectionIntro heading='Associated financial institutions'>
If the financial institution you are authorized to file for is not
listed or if you are authorized to file for additional financial
institutions, submit a request to{' '}
institutions,{' '}
<Link href='mailto:[email protected]?subject=[BETA] View your user profile: Add additional authorized financial institutions'>
email our support staff
</Link>
Expand Down
26 changes: 14 additions & 12 deletions src/pages/Filing/ViewUserProfile/index.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { useQuery } from '@tanstack/react-query';
import { fetchAssociatedInstitutions, fetchUserProfile } from 'api/requests';
import { Link, ListLink } from 'components/Link';
import { Link } from 'components/Link';
import { LoadingContent } from 'components/Loading';
import { Grid, List, TextIntroduction } from 'design-system-react';
import { Grid, Paragraph, TextIntroduction } from 'design-system-react';
import { useError500 } from 'pages/Error/Error500';
import useSblAuth from '../../../api/useSblAuth';
import CrumbTrail from '../../../components/CrumbTrail';
Expand Down Expand Up @@ -61,17 +61,19 @@ export default function ViewUserProfile(): JSX.Element | null {
<TextIntroduction
heading='View your user profile'
subheading='This profile reflects the information we have on file for you, including your first and last name, email address, and associated financial institutions.'
description='To request an update to your name or associated financial institutions, click on the following link.'
// TODO: replace this generic SBL Help link with a specific Salesforce form link, see:
// https://github.com/cfpb/sbl-frontend/issues/109
callToAction={
<List isLinks>
<ListLink href='mailto:[email protected]?subject=[BETA] View your user profile: Update my user profile'>
Email our support staff
</ListLink>
</List>
description={
// TODO: replace this generic SBL Help link with a specific Salesforce form link, see:
// https://github.com/cfpb/sbl-frontend/issues/109
<Paragraph>
To request an update to your name or associated financial
institutions,{' '}
<Link href='mailto:[email protected]?subject=[BETA] View your user profile: Update my user profile'>
email our support staff
</Link>
. Please allow 24-48 hours for a response during normal
business hours.
</Paragraph>
}
className='max-w-[39.063rem]'
/>
<UserInformation data={UserProfile} />
<AssociatedInstitutions data={associatedInstitutions} />
Expand Down