stash
refactoring. using trigger events to decouple DataCollector from Charts. Using main.js as controller listening for event triggers
UNTESTED refactored more, highcharts.js more decoupled
working. fixed issues with _updateChart()...it needs to be passed data otherwise wouldn't work
created a arduino as a generic dataSource. Also created mock dataSource. Now they are swappable.
started separating socket.io from DataSource class. instead inheriting EventEmitter onto DataSource to communicate with main app.js and socket
MockDataSource completely working, now using entirely event emmiters to communicate
got ArduinoDataSource working. also cleaned up some of client-side scripts
working on loading a previous data set into chart. right now works with very simple mock data set
got loading of saved chart data working for LocalStorageDB
started creating algorithm to detect impact. working on test data
not fully working. experimenting with querying firebase. required redefining object structure on firebase
got firebase query working for single dataset
got local storage seed data to load, and also dynamically generated high five records that can load onto chart
added underscore.js for templating. works with local storage records views
got firebase records loading into chart, still need to clean up
implemented a getAllHighFiveHeaders to just get id and title of high five data, rather than get entire sensor data which is a lot to retrieve from firebase
re-arranged chart and high five records list to be next to each other instead of below. much easier to load graphs and not have to scroll back up
added seed db button. also made it so when you load a high five record, it not only updates chart but sets the dataCollector values so that you can re-save it as a new record
got firebase adding/saving correctly. required restructure of database, the headers now track id as well and has a manual counter to track new ids in database