feat(js,ui): mount and render the directory sync setup flow - #9592
feat(js,ui): mount and render the directory sync setup flow#9592kalafut wants to merge 4 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
| Name | Type |
|---|---|
| @clerk/clerk-js | Minor |
| @clerk/localizations | Minor |
| @clerk/react | Minor |
| @clerk/shared | Minor |
| @clerk/ui | Minor |
| @clerk/chrome-extension | Patch |
| @clerk/electron | Patch |
| @clerk/expo | Patch |
| @clerk/nextjs | Patch |
| @clerk/react-router | Patch |
| @clerk/tanstack-react-start | Patch |
| @clerk/astro | Patch |
| @clerk/backend | Patch |
| @clerk/expo-passkeys | Patch |
| @clerk/express | Patch |
| @clerk/fastify | Patch |
| @clerk/headless | Patch |
| @clerk/hono | Patch |
| @clerk/msw | Patch |
| @clerk/nuxt | Patch |
| @clerk/testing | Patch |
| @clerk/vue | Patch |
| @clerk/swingset | Patch |
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
8943132 to
f598bc7
Compare
@clerk/astro
@clerk/backend
@clerk/chrome-extension
@clerk/clerk-js
@clerk/electron
@clerk/electron-passkeys
@clerk/eslint-plugin
@clerk/expo
@clerk/expo-google-signin
@clerk/expo-passkeys
@clerk/express
@clerk/fastify
@clerk/hono
@clerk/localizations
@clerk/nextjs
@clerk/nuxt
@clerk/react
@clerk/react-router
@clerk/shared
@clerk/tanstack-react-start
@clerk/testing
@clerk/ui
@clerk/upgrade
@clerk/vue
commit: |
API Changes Report
Summary
@clerk/clerk-jsCurrent version: 6.30.3 Subpath
|
f598bc7 to
318705c
Compare
318705c to
34d8cb0
Compare
34d8cb0 to
222cb8f
Compare
0d268a1 to
dc73c4c
Compare
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository YAML (base), Organization UI (inherited) Review profile: ASSERTIVE Plan: Team Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Comment |
- @clerk/clerk-js: __internal_mountConfigureDirectorySync with guards mirroring ConfigureSSO's (orgs enabled, active org, self-serve directory sync feature). - @clerk/ui: ConfigureDirectorySync wizard over the organization's enterprise connection and directory (show-once token held in wizard session state, read-only attribute mapping from the directory, test step polls provisioned users), plus a Directory Sync section on the Security page. Google-provider connections are directed to the Dashboard.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01U54pszNFtqsBNpQhXaGvaa
1. Mock directory.update()/delete() on the resource instead of the removed organization.updateDirectorySync/deleteDirectorySync; also mock getDomains so a retry loop can't wedge the page's loading gate. 2. Security section + wizard:show spinner while loading and an error alert on failure instead of falsely rendering "unconfigured"; wizard shows the skeleton while loading. 3. Standalone mount:wrapped in the shared ConfigureSSOProtect permission gate. 4. Clerk API surface:added __internal_(un)mountConfigureDirectorySync to the shared Clerk interface and IsomorphicClerk, so framework SDKs can reach the mount; added @clerk/react to the changeset. 5. Activate step:"Done"/"Skip for now" render only when the host supplies onExit (they were no-ops standalone). 6. Navbar:DirectorySyncNavbar is now a thin wrapper over ConfigureSSONavbar (with a new title prop), restoring mobile behavior. 7. TestSyncStep:|| instead of ?? so an empty display name falls through. 8. Bundle limits: bumped via bundlewatch:fix (554KB / 81KB).
dc73c4c to
d73777b
Compare
Description
Part 3 of 4 of the self-serve Directory Sync stack. Stacked on
jim/dir-sync-2-hooks; the changeset rides the first PR and the stack will be squashed on merge.@clerk/clerk-js:__internal_mountConfigureDirectorySyncwith guards mirroringConfigureSSO's (orgs enabled, active org, self-serve directory sync feature).@clerk/ui:ConfigureDirectorySyncwizard over the organization's enterprise connection and directory (show-once token held in wizard session state, read-only attribute mapping from the directory, test step polls provisioned users), plus a Directory Sync section on the Security page. Google-provider connections are directed to the Dashboard.Checklist
pnpm testruns as expected.pnpm buildruns as expected.Type of change
🤖 Generated with Claude Code
https://claude.ai/code/session_01U54pszNFtqsBNpQhXaGvaa
✎