kintesh / containerise

Firefox extension to automatically open websites in a container
MIT License
418 stars 53 forks source link

Generalize the prefix key storage method #76

Closed ghost closed 5 years ago

ghost commented 5 years ago

Related to "kintesh/containerise#66 Store hosts under dedicated key in storage" in preparation for introducing preferences

Hosts were stored with a prefix of "map=". Using that technique it will be possible to store other types of prefixed data in the storage e.g PreferenceStorage with a prefix of "preference=" or "setting="

This is the easiest, most frictionless method without a need of migration I could come up with.

ghost commented 5 years ago

Also tested upgrading from a profile using 3.2.0 without an issue. Was able to see all settings post-upgrade.

kintesh commented 5 years ago

Thanks for the PR @LoveIsGrief I haven't forgot aobut it. I'll find some time this weekend get this out to AMO.