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

[MPDX-8270] Remove handoff links #1099

Merged
merged 8 commits into from
Oct 2, 2024
Merged

[MPDX-8270] Remove handoff links #1099

merged 8 commits into from
Oct 2, 2024

Conversation

canac
Copy link
Contributor

@canac canac commented Sep 26, 2024

Description

  • Remove all uses of <HandoffLink>
  • Create a new <OauthLink> component that is a simplified version of HandoffLink specifically for oauth links
  • Remove handoff redirect from /api/stop-impersonation route

MPDX-8270

Checklist:

  • I have given my PR a title with the format "MPDX-(JIRA#) (summary sentence max 80 chars)"
  • I have applied the appropriate labels. (Add the label "On Staging" to get the branch automatically merged into staging.)
  • I have requested a review from another person on the project

@canac canac added the Preview Environment Add this label to create an Amplify Preview label Sep 26, 2024
@canac canac requested a review from dr-bizz September 26, 2024 20:22
@canac canac self-assigned this Sep 26, 2024
@canac canac marked this pull request as draft September 26, 2024 20:22
Copy link
Contributor

Preview branch generated at https://8270-remove-handoff-links.d3dytjb8adxkk5.amplifyapp.com

Copy link
Contributor

github-actions bot commented Sep 26, 2024

Bundle sizes [mpdx-react]

Compared against 0f716c5

No significant changes found

Copy link
Contributor

@dr-bizz dr-bizz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks awesome! I commited a change which removed the early adopter setting on the preferences since it was trying to redirect to the old MPDX.

src/components/Settings/integrations/integrationsHelper.ts Outdated Show resolved Hide resolved
Comment on lines +112 to +121

{/* {hasFinancial && (
<Box display="flex">
<HandoffLink
path={`/reports/financial_accounts/${account.id}`}
>
<Link>Summary</Link>
</HandoffLink>
// Used to link to be a handoff link to /reports/financial_accounts/${account.id}
<Link>Summary</Link>
{' · '}
<HandoffLink
path={`/reports/financial_accounts/${account.id}/entries`}
>
<Link>Transactions</Link>
</HandoffLink>
// Used to link to be a handoff link to /reports/financial_accounts/${account.id}/entries
<Link>Transactions</Link>
</Box>
)}
)} */}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We are building this. It might be worth to add a notice here to say "Summary and Transactions are coming in the next few days."

@dr-bizz dr-bizz marked this pull request as ready for review September 27, 2024 16:14
@canac canac force-pushed the 8270-remove-handoff-links branch from e72db3e to 043e697 Compare September 30, 2024 17:29
@canac canac changed the base branch from main to 8270-tools-launch September 30, 2024 17:29
Base automatically changed from 8270-tools-launch to main September 30, 2024 20:40
@canac canac merged commit 6d59eab into main Oct 2, 2024
18 checks passed
@canac canac deleted the 8270-remove-handoff-links branch October 2, 2024 13:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Preview Environment Add this label to create an Amplify Preview
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants