-
Notifications
You must be signed in to change notification settings - Fork 357
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: Distributed regions not displaying in the Linode Create flow #10631
fix: Distributed regions not displaying in the Linode Create flow #10631
Conversation
I don't think this PR needs a changeset since the regression hasn't hit production yet |
Coverage Report: ✅ |
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.
Fix makes sense to me, but I wonder if we should fix the typescript type of getQueryParamsFromQueryString
and the casts of params.type as LinodeCreateType
because they seems to be the root of the issue.
Linode Create v2 has a more typesafe way to handle query params, but it might still be worth improving upon in Linode Create v1
@bnussman-akamai Agreed, M3-8285 will address that |
@hana-linode are you sure these are the only tags needed? I have those in my dev account and distributed regions are not showing up in alpha at all. |
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.
Confirmed the fix works when no url param is present in the create flow (ex: when clicking from the create menu) ✅
Looking forward to see a more holistic fix come up next!
…10631) ## Description 📝 Looks like there was a change made to the `isDistributedRegionSupported` function which caused a regression in the distributed regions displaying in the Linode Create flow ## How to test 🧪 ### Prerequisites (How to setup test environment) - Ensure your account has the `new-dc-testing`, `edge_testing` and `edge_compute` customer tags ### Reproduction steps (How to reproduce the issue, if applicable) - Go to the remote dev environment and observe no Distributed regions in the Linode Create flow ### Verification steps (How to verify changes) - Either locally or in the preview link, go to the Linode Create flow. Distributed regions should be displaying again
Description 📝
Looks like there was a change made to the
isDistributedRegionSupported
function which caused a regression in the distributed regions displaying in the Linode Create flowPreview 📷
How to test 🧪
Prerequisites
(How to setup test environment)
new-dc-testing
,edge_testing
andedge_compute
customer tagsReproduction steps
(How to reproduce the issue, if applicable)
Verification steps
(How to verify changes)
As an Author I have considered 🤔
Check all that apply