refactor(mosaic): simplify password section composition and coverage - #10075
austincalvelage wants to merge 8 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. 🧰 Additional context used📚 Code guidelines (2)No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configuration
📒 Files selected for processing (13)
🔗 Linked repositories identifiedCodeRabbit considers these linked repositories for cross-repo context during reviews:
Included review availability: This review used your included allowance. 4 included reviews remain after this review. Your included PR review attempts over the past 7 days set your current allowance at 6 reviews per hour. 📝 WalkthroughWalkthroughThe password controller now accepts a shared policy and identifier, and exposes password state and current-password requirements. The password section uses that state and renders model-specific content. The security panel now obtains password content and includes the Authentication region when password content, passkeys, or MFA methods are present. Tests, fixtures, and guidance reflect these changes. Priority: ⬇️ Low Estimated code review effort: 3 (Moderate) | ~25 minutes Possibly related PRs
Suggested reviewers: Merge Risk: ⚪ Minimal · up to The password-section and security-panel changes are mergeable after normal checks; no specific behavior requiring a fix before merge is established. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Full details: Docstring CoverageExplanation Docstring coverage is 7.14% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 14 functions across 13 files. (1 skipped: 1 unsupported.)
Comment |
@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-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: |
f3522c6 to
dc8fa62
Compare
🦋 Changeset detectedLatest commit: e3ce9d0 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 |
Description
Follow up on the review of #9930. Simplify the Mosaic password section composition while preserving password editing, loading fallbacks, and hiding empty Authentication sections.
{ content }wrapper with a shared rendering function. The password slot carries the resolved content ornull, without a separate visibility flag.requiresCurrentPassword: falsefor a first password. Swingset forwards the controller's display values to the dialog.The connected
UserProfileSecurityPanelis groundwork for future integration and is currently used only in tests. The controller pass-through remains local to this feature; this change does not introduce a repo-wide architecture rule.The empty changeset is intentional. These are internal composition and test changes with no public package export changes.
Checklist
pnpm testruns as expected. Targeted password and security-panel suites passed locally with 63 tests and 2 existing TODOs.pnpm buildruns as expected.Type of change