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:
@@ -160,8 +160,11 @@ export function buildQueryTransaction(
|
||||
maxDataPoints: queryOptions.maxDataPoints,
|
||||
exploreMode: queryOptions.mode,
|
||||
liveStreaming: queryOptions.liveStreaming,
|
||||
showingGraph: queryOptions.showingGraph,
|
||||
showingTable: queryOptions.showingTable,
|
||||
/**
|
||||
* @deprecated (external API) showingGraph and showingTable are always set to true and set to true
|
||||
*/
|
||||
showingGraph: true,
|
||||
showingTable: true,
|
||||
};
|
||||
|
||||
return {
|
||||
|
Reference in New Issue
Block a user