Repository navigation
Conversation
🦋 Changeset detectedLatest commit: e5dd116 The changes in this PR will be included in the next version bump. This PR includes changesets to release 0 packagesWhen changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
Comment |
bde3694 to
09dbafc
Compare
09dbafc to
0d1f366
Compare
b1bbcf4 to
a59f604
Compare
… OAuth redirect Connect and Reconnect from the Mosaic user profile modal now carry __clerk_mosaic_modal=user-profile/account through the OAuth round trip. MosaicProvider strips the param on mount and reopens the profile on the Account page. Mosaic no longer writes the legacy __clerk_modal_state param, which the clerk-js UI would act on.
2c19a24 to
e5dd116
Compare
|
!snapshot |
@clerk/astro
@clerk/backend
@clerk/chrome-extension
@clerk/clerk-js
@clerk/electron
@clerk/electron-passkeys
@clerk/eslint-plugin
@clerk/expo
@clerk/expo-biometrics
@clerk/expo-google-signin
@clerk/expo-native-components
@clerk/expo-passkeys
@clerk/express
@clerk/fastify
@clerk/hono
@clerk/localizations
@clerk/mosaic
@clerk/nextjs
@clerk/nuxt
@clerk/react
@clerk/react-router
@clerk/shared
@clerk/tanstack-react-start
@clerk/testing
@clerk/ui
@clerk/upgrade
@clerk/vue
commit: |
|
Hey @austincalvelage - the snapshot version command generated the following package versions:
Tip: Use the snippet copy button below to quickly install the required packages. npm i @clerk/astro@4.1.20-snapshot.v20261029220359 --save-exact
npm i @clerk/backend@3.26.5-snapshot.v20261029220359 --save-exact
npm i @clerk/chrome-extension@3.1.103-snapshot.v20261029220359 --save-exact
npm i @clerk/clerk-js@6.42.1-snapshot.v20261029220359 --save-exact
npm i @clerk/electron@0.1.8-snapshot.v20261029220359 --save-exact
npm i @clerk/electron-passkeys@0.0.4-snapshot.v20261029220359 --save-exact
npm i @clerk/eslint-plugin@0.2.1-snapshot.v20261029220359 --save-exact
npm i @clerk/expo@4.14.5-snapshot.v20261029220359 --save-exact
npm i @clerk/expo-biometrics@1.1.1-snapshot.v20261029220359 --save-exact
npm i @clerk/expo-google-signin@1.1.1-snapshot.v20261029220359 --save-exact
npm i @clerk/expo-native-components@0.4.3-snapshot.v20261029220359 --save-exact
npm i @clerk/expo-passkeys@2.1.5-snapshot.v20261029220359 --save-exact
npm i @clerk/express@2.1.86-snapshot.v20261029220359 --save-exact
npm i @clerk/fastify@3.1.96-snapshot.v20261029220359 --save-exact
npm i @clerk/hono@0.1.96-snapshot.v20261029220359 --save-exact
npm i @clerk/localizations@4.24.4-snapshot.v20261029220359 --save-exact
npm i @clerk/mosaic@0.1.16-snapshot.v20261029220359 --save-exact
npm i @clerk/msw@0.0.84-snapshot.v20261029220359 --save-exact
npm i @clerk/nextjs@7.9.23-snapshot.v20261029220359 --save-exact
npm i @clerk/nuxt@3.1.20-snapshot.v20261029220359 --save-exact
npm i @clerk/react@6.18.4-snapshot.v20261029220359 --save-exact
npm i @clerk/react-router@3.6.41-snapshot.v20261029220359 --save-exact
npm i @clerk/shared@4.43.1-snapshot.v20261029220359 --save-exact
npm i @clerk/swingset@0.0.67-snapshot.v20261029220359 --save-exact
npm i @clerk/tanstack-react-start@1.7.9-snapshot.v20261029220359 --save-exact
npm i @clerk/testing@2.2.53-snapshot.v20261029220359 --save-exact
npm i @clerk/ui@1.42.2-snapshot.v20261029220359 --save-exact
npm i @clerk/upgrade@2.0.10-snapshot.v20261029220359 --save-exact
npm i @clerk/vue@2.5.17-snapshot.v20261029220359 --save-exact |
Description
This is an entirely agent-driven PR, including the description. Just throwing it up as a PoC to continue on.
Warning
Proof of concept. This is a minimal, temporary way to unblock the Mosaic profiles on the dashboard. A routing layer will replace it.
Stacked on #10514.
When a user starts Connect or Reconnect on a social account from the Mosaic user profile modal, the OAuth redirect now carries
__clerk_mosaic_modal=user-profile/account. On the return,MosaicProviderstrips the param from the URL and reopens the profile on the Account page, so the new account or its error is visible. Mosaic no longer writes the legacy__clerk_modal_state, which the clerk-js UI would act on.Missing pieces
user-profile.modal-content.tsxrenders<UserProfile>, which hardcodesUserProfileProvider mode='mounted', so inside the Mosaic modal the param is never written. That belongs in feat(mosaic): export UserProfile and OrganizationProfile #10514; this PR is written as if it were already fixed.mode,customPages,pageOrder,additionalOAuthScopes,organizationProfilePropsand the portal container are only known to the UserButton at click time, so the reopened modal opens without them. The legacy__clerk_modal_statereopen has the same gap.MosaicProvidermounts. It only happens if the provider is mounted on the page the OAuth flow returns to.Checklist
pnpm testruns as expected.pnpm buildruns as expected.Type of change