grafana/public/app/core/components/ToggleButtonGroup
Marcus Efraimsson e6001f57a2
Explore: Allow switching between metrics and logs (#16959)
Adds basic support for switching between Metrics and Logs in Explore. 
Currently only test datasource that supports both Metrics and Logs.
Summary of changes:
* Moves mode (Metric, Logs) selection to the left of datasource 
picker and add some quick styling.
* Only trigger change in ToggleButton if not selected
* Set correct mode if datasource only supports logs

Closes #16808
2019-05-16 09:52:22 +02:00
..
ToggleButtonGroup.tsx Explore: Allow switching between metrics and logs (#16959) 2019-05-16 09:52:22 +02:00