grafana/packages/grafana-data
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
..
src QueryField: Prevent query runs on blur in Explore (#20180) 2019-11-06 15:08:30 +00:00
CHANGELOG.md Packages: Use lerna for release orchestration (#17985) 2019-07-09 09:43:53 -07:00
index.js Build: add @grafana/data package (#17436) 2019-06-18 08:17:27 -07:00
package.json Chore: Reorg packages (#20111) 2019-10-31 10:48:05 +01:00
README.md Packages: update versioning and release process (#18195) 2019-09-12 08:00:31 +02:00
rollup.config.ts Build: add @grafana/data package (#17436) 2019-06-18 08:17:27 -07:00
tsconfig.build.json Build: add @grafana/data package (#17436) 2019-06-18 08:17:27 -07:00
tsconfig.json Packages: create shared tsconfig.json (#18010) 2019-07-10 12:50:52 +02:00
tslint.json Build: add @grafana/data package (#17436) 2019-06-18 08:17:27 -07:00

Grafana Data Library

@grafana/data is currently in ALPHA. Core API is unstable and can be a subject of breaking changes!

This package holds the root data types and functions used within Grafana.