You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 919a98d
Browse filesBrowse the repository at this point in the historyBrowse files
refactor(settings): fold verified domains into SSO, move group-detail state to nuqs, design-system cleanup (#5950)
* refactor(settings): fold verified domains into SSO and use shared primitives
Verified domains only gates SSO, so managing it on a separate page meant
discovering the requirement after filling out the whole IdP form and then
navigating away mid-setup. Move it into the SSO page as a section above the
provider config and drop the standalone page, its nav entry, and both route
branches.
Align the surfaces with the shared settings primitives rather than bespoke
chrome, matching whitelabeling/custom-blocks/access-control:
- SSO's local FormField (muted labels) is replaced by the shared SettingRow, so
its fields read like every other settings page. SettingRow gains optional
`optional` and `error` props to absorb what FormField did — additive, so
existing consumers are untouched.
- The domains section is built from SettingsSection, SettingRow,
SettingsResourceRow, and SettingsEmptyState instead of hand-rolled cards.
Also drop the redundant Upload/Change buttons in whitelabeling: the logo and
wordmark thumbnails were already clickable, so the button was a second control
for the same action. Remove still appears once an image is set.
* fix(settings): move group-detail view state to nuqs and clean up design-system drift
Access control's group detail kept its tab, three search boxes, and three status
filters in useState, so a `?group-id=` link always landed on General and a filter
was lost on reload — the parent already puts the group id in the URL. The three
tabs never render together, so search and status share one param each rather than
carrying three mutually-exclusive keys, and switching tabs resets both. Closing
the detail clears all three alongside group-id in one batched write, so nothing
lingers on the list URL.
Design-system fixes from a cleanup pass over the surfaces this branch touched:
- Restore accessible names lost when the whitelabeling Upload buttons were
removed. The thumbnail is now the only click target, and it contained just an
icon, so it announced as an unlabeled button; the icon-only Remove had the same
problem. Both now carry aria-labels reflecting their state.
- Use Chip, not the legacy Button, for the domain actions — Button is ~26px
against the 30px ChipInput beside it, so "Add domain" sat visibly short.
- SettingRow now uses the emcn Info component; a bare svg as Tooltip.Trigger was
neither focusable nor nameable. It also stops re-specifying Label's own default
styling.
- Use the new SettingRow error prop for the group name instead of a hand-rolled
error paragraph, which is what the prop was added for.
- Hoist the block-category lookup out of a sort comparator, size-* over h/w, name
the staleTime constants the rules require, and import RowActionsMenu from its
barrel.
* fix(settings): alias the old /settings/domains path to SSO
Folding verified domains into the SSO page dropped /settings/domains, so
bookmarks and shared links 404'd instead of landing where domains now live. Both
alias maps already exist for exactly this (organization/'members',
subscription/'billing'); add domains -> sso to each.
* chore(settings): adopt ChipCopyInput, named staleTime constants, and a11y labels
* fix(settings): reset group detail params on open and drop issuer mono styling
Copy file name to clipboardExpand all lines: apps/docs/content/docs/en/platform/enterprise/verified-domains.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ Verified Domains let organization owners and admins on Enterprise plans prove th
16
16
17
17
## Verify a domain
18
18
19
-
Go to **Settings → Security → Verified domains** in your organization settings.
19
+
Go to **Settings → Security → Single sign-on** in your organization settings. Domains are managed in the **Verified domains** section at the top of that page, directly above the identity provider configuration.
20
20
21
21
1. Enter the domain, for example `acme.com`, and click **Add domain**.
22
22
2. Sim shows a DNS **TXT record** to publish — a host (`_sim-challenge.acme.com`) and a unique value (`sim-domain-verification=…`).
0 commit comments