separates the usage data into dimensions and measures
adds lokijs as a store. localStorage is nice but it doesn't support objects or arrays as values, and we want to be able to get all the measures without looping through all the values in localStorage. lokijs is actively being developed, desktop wants to migrate to it, and it's similar in size to Dexie but with (imo) a friendlier api.
adds the date to the metrics, formatted to iso standard whatever whatever
The metrics format is documented here: https://github.com/github/client-apps/pull/71/files
This pull request:
dimensions
andmeasures
lokijs
as a store.localStorage
is nice but it doesn't support objects or arrays as values, and we want to be able to get all the measures without looping through all the values inlocalStorage
.lokijs
is actively being developed, desktop wants to migrate to it, and it's similar in size to Dexie but with (imo) a friendlier api.