mirror of
https://github.com/thedevs-network/kutt-extension.git
synced 2026-06-25 06:50:28 +01:00
provide seamless migration for existing users to upcoming major version #26
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @abhijithvijayan on GitHub.
to the new settings keys
Map the keys like
autoCopy : trueto the newon the installation / initialization of new major version.
Without this mapping, the extension will UX issues for those who are using it currently.
@abhijithvijayan commented on GitHub:
Migration actions are performed once on popup open(once extension is updated to v4.x.x) if previous keys exist on browser local storage.
The code can be removed once all the users receive the update.
I have tested with basic options enabled as well as advanced options(like custom host) enabled. It works. :)
I will leave this issue open if someone runs into issue on migration.
@abhijithvijayan commented on GitHub:
Current fields in local storage of almost all users
Migrate to
@abhijithvijayan commented on GitHub:
Completed and removed migration code in https://github.com/thedevs-network/kutt-extension/pull/138