client icon indicating copy to clipboard operation
client copied to clipboard

Separate cache from user data + migrations

Open bpierre opened this issue 6 years ago • 2 comments
trafficstars

At the moment, we delete everything stored locally when moving from a version to another one. It avoids any incompatibility issue, but it is obviously not ideal from a user standpoint.

An approach to improve this could consist of separating what is stored locally between the cache, and the user data. This is similar, in a simplified way, to the way web browsers work.

When moving from a version to another one, we could delete the cache data, and run migration functions for the user data, if needed.

Instead of only providing a “clear cache” button to the user, we could also have another button saying “:warning: clear user data” (see also https://github.com/aragon/aragon/issues/1115).

In the future, we could also have a way to import / export the entire user data.

bpierre avatar Oct 17 '19 11:10 bpierre

Related to:

  • https://github.com/aragon/aragon/issues/1258
  • https://github.com/aragon/aragon/pull/1138
  • https://github.com/aragon/aragon.js/issues/400

sohkai avatar Jun 09 '20 13:06 sohkai

I can take this one

namesty avatar Feb 10 '21 15:02 namesty