-
Notifications
You must be signed in to change notification settings - Fork 5
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
[VER-355] feat: Add Profile migration Alert and move all Profiles to trash after some delay #169
Commits on Apr 10, 2024
-
feat: Add
Profile
migration AlertWe will soon remove the concept of `Profiles` and replace it by Cozy's `Contacts` Because the user's vault is encrypted, we cannot do an automatic migration on server side Also we prefer no to do a migration on the client's side due to the sensible nature of the data Instead we want to warn the user that the `Profile` concept will be removed soon and that they need to migrate their data by themselves We give the user some delays, after which the remaining `Profiles` will be moved to the trash and so become readonly and will be ignored by autofill capabilities This commit adds the Alert that will be shown to the user. This app will keep displaying this Alert until all `Profiles` are removed If no `Profile` exist, then this Alert is not shown
Configuration menu - View commit details
-
Copy full SHA for 98a3fe9 - Browse repository at this point
Copy the full SHA 98a3fe9View commit details -
feat: Compute and store deadline for
Profile
migrationThe first time the `Profile` migration Alert is displayed, then we want to start a delay of 15 days during which the user will be able to migrate their Profiles into Contacts This delay is stored in the browser's local storage into the form of a deadline and is not synced between clients The Alert will then display this deadline to the user
Configuration menu - View commit details
-
Copy full SHA for df03fb8 - Browse repository at this point
Copy the full SHA df03fb8View commit details -
feat: Trash
Profiles
after deadlineAfter the deadline is reached (cf previous commit), we want the app to move all user's `Profiles` into the Trash By doing so we ensure that the data is still available (we don't take the risk of destroying it without user action) but it will be readonly and won't be used by the autofill anymore
Configuration menu - View commit details
-
Copy full SHA for a678031 - Browse repository at this point
Copy the full SHA a678031View commit details -
feat: Remove
Profiles
sectionsBecause we want to remove the concept of `Profiles` from the app, then we want to remove all actions that allow to create new `Profiles` or to access `Profile` sections
Configuration menu - View commit details
-
Copy full SHA for c2671f0 - Browse repository at this point
Copy the full SHA c2671f0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 93d31bd - Browse repository at this point
Copy the full SHA 93d31bdView commit details -
feat: Prevent to restore
Profiles
In previous commits we did a method that automatically move `Profiles` into the user's trash This commit removes the `restore` button from trashed `Profiles` view
Configuration menu - View commit details
-
Copy full SHA for cd30543 - Browse repository at this point
Copy the full SHA cd30543View commit details -
feat: Do not call profile-migration component if no Profile exists
This is an optimization that prevent the profile-migration component to be loaded if no `Profile` exists in the vault This won't change anything for the user, but this would prevent unnecessary checks that would occurs inside of the profile-migration component
Configuration menu - View commit details
-
Copy full SHA for a7fa2b3 - Browse repository at this point
Copy the full SHA a7fa2b3View commit details -
fix: Restore ability to delete items
In 313eb81 we refactored the delete method but this broke the ability to delete non contact/papers ciphers
Configuration menu - View commit details
-
Copy full SHA for b2b0839 - Browse repository at this point
Copy the full SHA b2b0839View commit details