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

Feat/external url improvement #130

Merged
merged 1 commit into from
Feb 20, 2024

Conversation

royschut
Copy link

@royschut royschut commented Feb 20, 2024

External URL util improvement

We have a strict util to generate modal URL's that are matched against the AccountModal type, so that a non-existing modal url cannot be generated. However, for externally used urls (such as the payment successUrl) we didn't use this yet (as AntonLantukh pointed out here).
This PR creates a simple wrapper util so that it is now strict. Also fixed 2 non-existing urls.

Notes

  • I'm not a big fan of the name modalURLFromWindowLocation, but it was the best I could think of. Feel free to suggest!
  • Bases on Fix / paypal await payment #129, to prevent future merge conflicts

Base automatically changed from fix/paypal-await-payment to feat/choose-offer-refactor-3 February 20, 2024 19:06
Base automatically changed from feat/choose-offer-refactor-3 to feat/sprint-3 February 20, 2024 19:08
@ChristiaanScheermeijer ChristiaanScheermeijer merged commit f787a60 into feat/sprint-3 Feb 20, 2024
6 of 7 checks passed
@ChristiaanScheermeijer ChristiaanScheermeijer deleted the feat/external-url-improvement branch February 20, 2024 19:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants