-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
ref(checkout v3): Clean up routing #103069
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
Conversation
|
🚨 Warning: This pull request contains Frontend and Backend changes! It's discouraged to make changes to Sentry's Frontend and Backend in a single pull request. The Frontend and Backend are not atomically deployed. If the changes are interdependent of each other, they must be separated into two pull requests and be made forward or backwards compatible, such that the Backend or Frontend can be safely deployed independently. Have questions? Please ask in the |
vbro
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Please monitor, or ping on-call to monitor, when merging this PR.
| ? `/settings/${slug}/billing/checkout/` | ||
| : `/settings/${slug}/billing/overview/`; | ||
| ? '/checkout/' | ||
| : `settings/${slug}/billing/overview/`; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bug: Invalid Relative URL Paths
Missing leading slash in fallback URL path. The baseUrl for non-self-serve subscriptions is now settings/${slug}/billing/overview/ instead of /settings/${slug}/billing/overview/, which will create an invalid relative URL path when combined with the referrer query parameter.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #103069 +/- ##
===========================================
- Coverage 80.69% 80.69% -0.01%
===========================================
Files 9226 9195 -31
Lines 394098 393389 -709
Branches 25121 24968 -153
===========================================
- Hits 318031 317434 -597
+ Misses 75619 75538 -81
+ Partials 448 417 -31 |
|
PR reverted: 69fb355 |
This reverts commit 1596475. Co-authored-by: isabellaenriquez <45607721+isabellaenriquez@users.noreply.github.com>
Add path pattern for `/checkout/` Redo pt 1 of #103069
/checkout-v3/with/checkout//settings/billing/checkout/) to/checkout//checkout/:orgIdRequires https://github.com/getsentry/getsentry/pull/18792