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
Name |
Last commit
|
Last Update |
---|---|---|
.. | ||
components | Loading commit data... | |
dashboards | Loading commit data... | |
img | Loading commit data... | |
partials | Loading commit data... | |
specs | Loading commit data... | |
README.md | Loading commit data... | |
add_label_to_query.ts | Loading commit data... | |
config_ctrl.ts | Loading commit data... | |
datasource.test.ts | Loading commit data... | |
datasource.ts | Loading commit data... | |
language_provider.ts | Loading commit data... | |
language_utils.ts | Loading commit data... | |
metric_find_query.d.ts | Loading commit data... | |
metric_find_query.ts | Loading commit data... | |
module.ts | Loading commit data... | |
plugin.json | Loading commit data... | |
promql.ts | Loading commit data... | |
query_hints.test.ts | Loading commit data... | |
query_hints.ts | Loading commit data... | |
result_transformer.ts | Loading commit data... | |
types.ts | Loading commit data... |