Uh oh!
There was an error while loading. Please reload this page.
feat(shared): add internal directory sync react-query hooks - #9591
feat(shared): add internal directory sync react-query hooks#9591kalafut wants to merge 4 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
9525da1 to
2291ba0Compare@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/vuecommit: |
API Changes Report
Summary
@clerk/sharedCurrent version: 4.31.0 Subpath |
2291ba0 to
8db31e5Compare8db31e5 to
875352aCompare875352a to
f801038Comparef801038 to
3d18031CompareImportant 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 |
3d18031 to
4adb710CompareUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
NicolasLopes7
left a comment
There was a problem hiding this comment.
Got fable looking/running this and had a couple of inline-comments. Other than that I'd suggest tests for the hooks to cover the regressions, otherwise LGTM
4adb710 to
247b096Compare247b096 to
3342ab9Compare__internal_useOrganizationDirectorySync and __internal_useOrganizationDirectorySyncUsers; the users hook polls continuously while enabled so the test step can double as a recent-activity feed.
…Sync resource Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01U54pszNFtqsBNpQhXaGvaa
Also add tests
3342ab9 to
6b53c5dCompare
Description
Part 2 of 4 of the self-serve Directory Sync stack. Stacked on
jim/dir-sync-1-resource. This change depends on the first PR and the stack will be squashed on merge.Adds the internal react-query hooks
__internal_useOrganizationDirectorySyncand__internal_useOrganizationDirectorySyncUsers. Mutations go through the loadedDirectorySyncresource, so they resolveundefineduntil the directory has loaded. The users hook takes thedirectoryresource itself and stays dormant while it is nullish; it polls while armed viastartPolling, so the wizard's test step doubles as a recent-activity feed.Checklist
pnpm testruns as expected.pnpm buildruns as expected.Type of change
✎