mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
* Narrow Variable editor state using selector functions - Explicitly type "extended" editor state in editor/reducter.ts using a union - Create selectors to narrow the types, using unique properties from each extended state to discriminate the union - Update DataSourceVariableEditor to use new style of redux connector - Update variable editor components to use new selectors * fix tests * Make adhoc variable infoText optional, because it is! * Add AdHocVariableEditor tests * DataSourceVariableEditor tests * comment * reset * Wrote tests for selectors \(that actually caught a bug, whodathunkit) * fix stray types and lint issues * Rename selector functions |
||
---|---|---|
.. | ||
actions.test.ts | ||
actions.ts | ||
adapter.ts | ||
operators.test.ts | ||
operators.ts | ||
queryRunners.test.ts | ||
queryRunners.ts | ||
QueryVariableEditor.test.tsx | ||
QueryVariableEditor.tsx | ||
QueryVariableRefreshSelect.tsx | ||
QueryVariableSortSelect.tsx | ||
reducer.test.ts | ||
reducer.ts | ||
variableQueryObserver.test.ts | ||
variableQueryObserver.ts | ||
VariableQueryRunner.test.ts | ||
VariableQueryRunner.ts |