Automattic / Automattic/wp-calypso
Atomic Domains: Improve Calypso's error messaging for issues setting a primary domain
- Dominant language
- TypeScript
- Stars
- 12.6k
- Forks
- 2k
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 531
Description
### Quick summary
Users might encounter issues setting a primary domain if the domain has already been used with another Atomic client.
In these cases, Calypso shows a success message: `Primary domain changed: all domains will redirect to [domain]`
However, the domain is not set as the primary.

Extended report available internally at p9F6qB-7QU-p2
### Steps to reproduce
Internal notes at p9F6qB-7QU-p2#comment-44342
### What you expected to happen
Calypso to display a relevant error and recommended next steps.
### What actually happened
Calypso incorrectly states `Primary domain changed: all domains will redirect to [domain]`
### Simple, Atomic or both?
Atomic
### Available workarounds?
Yes, easy to implement
### Workaround details
Internal documentation available at P9HQHe-1dG-p2
Contributor guide
Assessment
This issue has not been assessed yet.