Closed gregglind closed 8 years ago
Some pointers that might help you: https://github.com/raymak/contextualfeaturerecommender/blob/master/phase2/addon/lib/storage.js this is how most of the data is stored, currently using osFile
https://github.com/raymak/contextualfeaturerecommender/blob/master/phase2/addon/lib/controller.js#L2195-L2228 this is how the recommendations are filtered by os and tags (where the privacy-invasive ones are ignored)
all listeners ignore private windows/tabs e.g. https://github.com/raymak/contextualfeaturerecommender/blob/master/phase2/addon/lib/controller.js#L1425
for storing non-critical stats, AsyncStorage (based on localStorage) is used. https://github.com/raymak/contextualfeaturerecommender/blob/master/phase2/addon/lib/stats.js#L13
Some pointers that might help you: https://github.com/raymak/contextualfeaturerecommender/blob/master/phase2/addon/lib/storage.js this is how most of the data is stored, currently using osFile
https://github.com/raymak/contextualfeaturerecommender/blob/master/phase2/addon/lib/controller.js#L2195-L2228 this is how the recommendations are filtered by os and tags (where the privacy-invasive ones are ignored)
all listeners ignore private windows/tabs e.g. https://github.com/raymak/contextualfeaturerecommender/blob/master/phase2/addon/lib/controller.js#L1425
for storing non-critical stats, AsyncStorage (based on localStorage) is used. https://github.com/raymak/contextualfeaturerecommender/blob/master/phase2/addon/lib/stats.js#L13