Closed raucao closed 3 years ago
Totally confused. You didn't even remove "ember-local-storage": "^1.7.2",
from the package.json
and just added a new addon and still have that crazy diff in package-lock.json
.
When we build the kredits wrapper I was discussing with @bumi if one should get more kredits if the PR removes more than it adds. As an insentive to produce better software... =) That would be a big one for you @raucao ...
CodeClimate is throwing a fit, but I disagree with it about the complexity of that function.
Switch from
ember-local-storage
tolocalForage
(and thus alsoIndexedDB
by default).Contains a generic function which allows to extend a
defaultValues
object in the service with more default data to be set for empty local storages.Testing this manually is possible by just seeing if loading the app from the root URL redirects to the last channel you had open or not (should not do on master, but should do with this fix).
fixes #219