summaryrefslogtreecommitdiff
path: root/js/mv/heap.js
AgeCommit message (Collapse)AuthorFilesLines
2013-05-13Move served files to a public/ directoryFreeyorp1-63/+0
2013-05-13Broadcast active filtersFreeyorp1-0/+1
There is now a simple node application to enable broadcasting of active filters, using socket.io. Currently, everyone on the server will send and receive all changes. This might get chaotic depending on how crowded things become. Perhaps `channels' might help keep things scalable. Broadcasting filters for the stat trellis chart would be interesting. You can also set and change your own nickname. This closes #12.
2013-04-23Add initial stat trellis chartFreeyorp1-6/+34
This should now be implemented efficiently enough for everything else to still work. This currently does not allow filtering, but the dimensions are prepared in a manner that makes this a simple addition.
2013-04-13Refactor mv.js into distinct modulesFreeyorp1-0/+34
There are five modules, as follows: load.js handles initialisation and management of files parse.js handles initialisation and management of records heap.js handles initialisation and management of dimensions chart.js handles initialisation and management of charts main.js manages the other modules and status Status and file loading have been decoupled; file loading no longer directly updates the status of the progress bars. This makes the limitations of the current status system more apparent, and should make the system also easier to maintain, as progress bars are now updated at more logical times. The parser remains mostly unchanged. It will need to be altered into a full stateful parser, but this can happen later. Dimension management is now simplified, due to the addition of monoGroup. Most dimension/groups consisted of a single dimension and a group reduced by count. This convenience function combines these and unifies their access, beyond mere naming convention. Charting management is also greatly simplified, adding in chain helpers to categorise types of charts, by aspects such as being wide, being thin, being short, as well as helpers to establish common properties for bar and pie charts. There is now also a helper to take advantage of the unified monoGroup accessors.