LostRhapsody / slothtime

Minimalist time tracking website
https://slothtime.dev
GNU General Public License v3.0
0 stars 0 forks source link

Migrate Cache #20

Closed LostRhapsody closed 1 year ago

LostRhapsody commented 1 year ago

Migrate user's cached data from the individually stored cache elements to the config file. A one time check can be performed, if a user's config file does not have the "migrateDone" flag set to true, then search the cache for all the legacy cache data. If any is found, run a function that stores it all in the config file, and cleanup legacy cache data.

Dependant on Issue 18.

LostRhapsody commented 1 year ago

Decided there aren't any users besides me really so just clearing the netlify cache, any locally cached data will still remain in browsers till cleared but won't function any longer.