manager
manager copied to clipboard
change: [M3-8379] - Disable Region in OS tab for unsupported distributed images
Description ๐
Not all Linux Distributions in the Linode Create OS tab support distributed regions. We want to disable a region if the selected OS does not have a distributed capability similar to the Images tab
Changes ๐
- Remove specific check for
linodeCreateTabingetDisabledRegionsso that any selected image that does not have thedistributed-sitescapability is disabled - Minor UI positioning fix for distributed helper text w/ region error text
Preview ๐ท
| Gecko | Before | After |
|---|---|---|
| Beta | ||
| Beta | ||
| LA / GA |
How to test ๐งช
Prerequisites
(How to setup test environment)
- Ensure your account has the
new-dc-testing-gecko,edge_testingandedge_computecustomer tags - Pull this PR and run it locally pointing to dev API
Reproduction steps
(How to reproduce the issue, if applicable)
- Checkout
developlocally while pointing to the dev API - Go to the Linode Create flow
- Notice that distributed regions are not disabled for unsupported distributed images (no distributed icon, e.g.
Debian 11)
Verification steps
(How to verify changes)
- Go to the Linode Create flow and verify the
v1andv2flows for GeckoBeta& GeckoLA/GA- To test Gecko Beta locally, you can add the following to
useFlags.ts: - We do not want to change the LD flag globally since other teams rely on it
- ...mockFlags, gecko2: { enabled: true, ga: false }
- To test Gecko Beta locally, you can add the following to
- Verify unsupported distributed regions (no distributed icon, e.g.
Debian 11)- Gecko LA/GA: Regions in the Distributed tab should be disabled with tooltip
- Gecko Beta: Distributed regions in the single dropdown should be disabled with tooltip
- Verify supported distributed regions (distributed icon, e.g.
Ubuntu 24.04 LTS)- Gecko LA/GA: Regions in the Distributed tab should not be disabled
- Gecko Beta: Distributed regions in the single dropdown should not be disabled
As an Author I have considered ๐ค
Check all that apply
- [ ] ๐ Doing a self review
- [ ] โ Our contribution guidelines
- [ ] ๐ค Splitting feature into small PRs
- [x] โ Adding a changeset
- [ ] ๐งช Providing/Improving test coverage
- [ ] ๐ Removing all sensitive information from the code and PR description
- [ ] ๐ฉ Using a feature flag to protect the release
- [x] ๐ฃ Providing comprehensive reproduction steps
- [ ] ๐ Providing or updating our documentation
- [ ] ๐ Scheduling a pair reviewing session
- [x] ๐ฑ Providing mobile support
- [ ] โฟ Providing accessibility support