-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add back account syncing - only e2e for now #12411
base: main
Are you sure you want to change the base?
Conversation
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
New and removed dependencies detected. Learn more about Socket for GitHub ↗︎
🚮 Removed packages: npm/@metamask/[email protected], npm/@metamask/[email protected], npm/@metamask/[email protected], npm/@metamask/[email protected], npm/@metamask/[email protected], npm/@metamask/[email protected] |
…er of files changed in this PR
|
|
Description
This PR adds back account syncing related logic.
⚠️ This PR does not enable account syncing. The only environment it's enabled for is E2E for now.
Detailed changes:
@metamask/profile-sync-controller
tov2.0.0
isNotificationsFeatureEnabled()
check for the settings page that was used to conditionally display the profile sync toggle. Profile sync is used by notifications, but not only. Account sync is one feature under the profile sync umbrella. This setting toggle will now be shown.UserStorageController
state key/values,hasAccountSyncingSyncedAtLeastOnce
andisAccountSyncingReadyToBeDispatched
USER_STORAGE_FEATURE_NAMES
exported const from@metamask/profile-sync-controller
to populate user storage feature names in order to remove magic strings.BATCH DELETE
operations inUserStorageMockttpController
(used only in E2E tests)☝️ The identity team recently became the owner of user storage and profile syncing features. In order to keep the number of files changed low in this PR, we'll rename and change folder structure in a subsequent PR.
Related issues
Fixes:
Manual testing steps
User facing changes:
E2E changes:
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist