raymak / contextualfeaturerecommender

Mozilla Public License 2.0
4 stars 2 forks source link

Gregg should lint and cover and explore the code #232

Closed gregglind closed 8 years ago

raymak commented 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