- Rewrite `getTablesByTime` as `spreadTables`
- Return a single, wide, time-indexed table, which is a more useful format
for consumers
- Also return structured metadata about series, in preparation for
improvements to the hover legend
- Simplified and more efficient code
- Remove unused `parseValues` utility
- Move `results.test.ts` test cases to `response.test.ts`
- Rewrite `fluxToSingleStat` as `lastValue`, with a simplified call signature
- Fix bug where gauge visualizations would alternate which series they
displayed a value for when refreshing, dependent on the order of the series
in each refreshed response
- Simplify `fluxTablesToDygraph` implementation
- Memoize `lastValue` calls in the gauge and single stat visualizations, to
avoid expensive parsing on each rerender if possible
* Fix typo
* Add logout route and component
* Refactor logout button in profile to point to logout route
* WIP refactor nav menu
Making the presentational components composable, removed a couple unecessary concepts
* Style sub-menu items
* Remove unecessary async
* Use Clockface Select to enforce child types
- Ensures that a SingleStat inside a TimeMachine can be resized
- Ensures that a SingleStat has the approriate border raidus when used
in a cell or TimeMachine
* Introduce Labels components
* Export label type from clockface
* Make component spacer behave as expected
* Include padding so IndexList rows scale more gracefully
* Allow optional truncation of labels in list with tooltip
* Add option for displaying a delete button on a label
* WIP introduce label selector component
* Flesh out suggestive functionality including keyboard support
Co-Authored-By: Delmer <ofthedelmer@users.noreply.github.com>
* Enable scrolling in labels widget
Also doing a handful of things to improve usability
Co-Authored-By: Delmer <ofthedelmer@users.noreply.github.com>
* Make linter happier
Changes the gauge and single stat visualizations to use their decimal
place option more literally. For example, if the decimal place option is
set to 2 digits, then every number in the visualization will be
formatted with 2 digits after the decimal place. Previously, this option
was ignored altogether, and seemed to be programmed to mean “display at
most 2 digits after the decimal place”.
- Allow deleting the input entirely
- Only reset value if mode has changed, even if a mode button is clicked
- Emit changes to the input value consistently