Initial row-discovery fase now also facet for all metrics to get averages. The is used to select the rows that will be displaued. Histrograms are done, if needed, only for displayed rows.
This moves from index*metrics facets to #metrics facets. It also alows us to smartly choose which index/node we show when no sorting is active (smart = things with warnings take preference).
Highights of the Changes:
- What was previously the editor is now input
- Editor is now SenseEditor, a (somewhat) generic class that inherits from AceEditor and mixes in RowParser. will eventually be used by the output as well
- input is an instance of SenseEditor that has an autocomplete object at `input.autocomplete`
- Moved all network/sendToES logic into the app module
- History no longer does any manipulation of the input, that is handled by the app (reduces inter module dependencies)
- help popup and welcome popup are now seperate modules
- welcome popup is not loaded unless needed
- SenseEditor#getCurrentRequestRange and SenseEditor#getCurrentRequest are now async, and will return their value once tokenization has completed.
- Replaced "Copy as cURL" functionality, using ZeroClipboard for now.