mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Explore: Remove not running query for collapsed elements (#27026)
* Make graph and table collapsing just a UI thing * Remove showingGraph and showingTable, set them defaultly to true * Remove collaapsing for panels in Explore * UI toggle WiP * WIP, add query type * Refactor, clean up * Update tests * Clean uo * Update rangeAll to range and instant * Remove console logs * Update packages/grafana-data/src/types/datasource.ts Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com> * Update public/app/core/utils/explore.ts Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com> * Fix prettier error Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>
This commit is contained in:
@@ -118,14 +118,6 @@ export interface ExploreItemState {
|
||||
* Current scanning range to be shown to the user while scanning is active.
|
||||
*/
|
||||
scanRange?: RawTimeRange;
|
||||
/**
|
||||
* True if graph result viewer is expanded. Query runs will contain graph queries.
|
||||
*/
|
||||
showingGraph: boolean;
|
||||
/**
|
||||
* True if table result viewer is expanded. Query runs will contain table queries.
|
||||
*/
|
||||
showingTable: boolean;
|
||||
|
||||
loading: boolean;
|
||||
/**
|
||||
@@ -206,8 +198,6 @@ export interface QueryOptions {
|
||||
minInterval?: string;
|
||||
maxDataPoints?: number;
|
||||
liveStreaming?: boolean;
|
||||
showingGraph?: boolean;
|
||||
showingTable?: boolean;
|
||||
mode?: ExploreMode;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user