grafana/public/app/features/explore
David 9507eda9d1
QueryField: Prevent query runs on blur in Explore (#20180)
As discussed in a UX feedback session, it's annoying that queries are
automatically executed in Explore. This change adds props to override
the blur behavior.

- add `onBlur` to Explore query field props
- Explore's query row will pass down an empty function for onBlur to the
query fields
- pass onBlur through to the QueryField component for Loki and
Prometheus
- add test to QueryField to make sure if onBlur is specified, the
onRunQuery is not executed
2019-11-06 15:08:30 +00:00
..
__mocks__ created test for graph disclaimer 2018-09-25 11:50:55 +02:00
__snapshots__ Explore: Add titles to query row action buttons (#20128) 2019-11-01 14:48:35 +01:00
slate-plugins/prism Chore: Moves QueryField to @grafana/ui (#19678) 2019-10-31 08:27:01 +00:00
state Explore: Memory leak fix due to dedup selector (#20107) 2019-11-01 16:38:34 +01:00
utils Chore: Moves QueryField to @grafana/ui (#19678) 2019-10-31 08:27:01 +00:00
AdHocFilter.tsx Chore: Reorg packages (#20111) 2019-10-31 10:48:05 +01:00
AdHocFilterField.test.tsx Chore: Reorg packages (#20111) 2019-10-31 10:48:05 +01:00
AdHocFilterField.tsx Chore: Reorg packages (#20111) 2019-10-31 10:48:05 +01:00
ElapsedTime.tsx Explore: Add memoization and remove unused props (#18775) 2019-08-29 13:41:45 +02:00
ErrorContainer.tsx Chore: Reorg packages (#20111) 2019-10-31 10:48:05 +01:00
Explore.tsx Explore: UI change for log row details (#20034) 2019-11-01 10:01:00 +01:00
ExploreGraphPanel.tsx Chore: Reorg packages (#20111) 2019-10-31 10:48:05 +01:00
ExploreTimeControls.tsx Explore: Synchronise time ranges in split mode (#19274) 2019-10-08 18:55:53 +02:00
ExploreToolbar.tsx Chore: Reorg packages (#20111) 2019-10-31 10:48:05 +01:00
JSONViewer.tsx Chore: noImplicitAny Sub 500 errors (#18287) 2019-07-30 15:49:32 +02:00
LiveLogs.test.tsx Explore: Memory leak fix due to dedup selector (#20107) 2019-11-01 16:38:34 +01:00
LiveLogs.tsx Explore: Memory leak fix due to dedup selector (#20107) 2019-11-01 16:38:34 +01:00
LiveTailButton.tsx Chore: Reorg packages (#20111) 2019-10-31 10:48:05 +01:00
Logs.tsx Explore: Memory leak fix due to dedup selector (#20107) 2019-11-01 16:38:34 +01:00
LogsContainer.tsx Explore: Memory leak fix due to dedup selector (#20107) 2019-11-01 16:38:34 +01:00
NoDataSourceCallToAction.tsx Performance/Webpack: Introduces more aggressive code-splitting and other perf improvements (#18544) 2019-09-03 09:29:02 +01:00
QueryEditor.tsx Chore: Reorg packages (#20111) 2019-10-31 10:48:05 +01:00
QueryRow.tsx QueryField: Prevent query runs on blur in Explore (#20180) 2019-11-06 15:08:30 +00:00
QueryRowActions.test.tsx Explore: Add titles to query row action buttons (#20128) 2019-11-01 14:48:35 +01:00
QueryRowActions.tsx Explore: Add titles to query row action buttons (#20128) 2019-11-01 14:48:35 +01:00
QueryRows.tsx Replaced intialQueris with queryKeys 2019-02-04 13:41:29 +01:00
QueryStatus.test.tsx Chore: Reorg packages (#20111) 2019-10-31 10:48:05 +01:00
QueryStatus.tsx Chore: Reorg packages (#20111) 2019-10-31 10:48:05 +01:00
ResponsiveButton.tsx Explore: updates clear all button to responsive button (#19719) 2019-10-10 21:53:02 +02:00
RunButton.tsx Explore: live tail UI fixes and improvements (#19187) 2019-09-20 13:00:11 +02:00
Table.tsx Explore: elastic small fixes (#18879) 2019-09-04 10:49:09 +02:00
TableContainer.tsx Explore: Introduces PanelData to ExploreItemState (#18804) 2019-09-03 09:55:20 +02:00
TimeSyncButton.test.tsx Explore: Add unit test to TimeSyncButton (#19836) 2019-10-16 11:48:10 +02:00
TimeSyncButton.tsx Chore: Reorg packages (#20111) 2019-10-31 10:48:05 +01:00
useLiveTailControls.ts Explore: Refactor live tail controls (#19328) 2019-09-24 10:18:34 +02:00
Wrapper.tsx Explore: Adds ability to save a panel's query from Explore (#17982) 2019-09-05 13:44:37 +01:00