refactor(mosaic): split the user profile account section into profile, username, email, and phone sections - #10078
Conversation
…, username, email, and phone sections
🦋 Changeset detectedLatest commit: b753a84 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 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 configuration
You can disable this status message by setting the Use the checkbox below for a quick retry:
Comment |
Description
Stacked on #9937.
Splits the Mosaic UserProfile account section into four sections that match the composed exports: Profile (picture and name), Username, Email, and Phone. Each one has its own folder with its own model, view, and wrapper, built on the shared
useUserProfileUserModel().UserProfileProfilePanelViewnow takes only slots, in this order: profile, username, email, phone, connected accounts, enterprise accounts, Web3 wallets, danger.Removed:
allowMultipleAccounts, along with the inline single-row layout it switched between.onManageEmailandonManagePhone.Code shared by the email and phone sections now sits flat in
features/user-profile/, since it isn't a section: the contact list row, contact types/utils/messages, and the set-primary controller.Swingset:
/live/profile,/live/username,/live/email,/live/phone) in place of/live/account-section.Checklist
pnpm testruns as expected.pnpm buildruns as expected.Type of change