Changes proposed in this Pull Request
If the site is not Atomic, then the option for changing the site’s free address will be listed/enabled. Otherwise, the option is not listed.
Also, the “manage” button for the free site now is only visible if there’s a least one option enabled on it – either changing the free address or setting the free domain as primary. If both conditions are not met, then the button will not be visible.
Preview
Non-atomic site
Atomic site (with a custom domain)
Atomic site (without a custom domain)
Manually browsing to the change free site address page on atomic site
Testing instructions
- Go to the domain management page;
- Check the “manage” button visibility:
- Check that the button is not visible for atomic sites with no custom domain;
- Check that the button is visible for atomic sites with a custom domain and without the free domain marked as primary;
- Check that the button is visible for non-atomic sites;
- Check that it is not possible to change the free site address when manually browsing to the page on an atomic site (
/domains/manage/:site-slug/change-site-address/:primary-domain
)
- Make sure that tests won’t break. 😛
Fixes #55764.
Unfortunately, no screenshots were provided by the developer.