grafana/public/app
Josh Hunt 1c6eca09bb
Variables: Explicitly type variable editor extended state (#44749)
* 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
2022-02-08 09:31:42 +11:00
..
angular Update dependency prettier to v2.5.1 (#43473) 2022-02-02 12:02:32 +00:00
core Feature Highlights: add highlight to toolbar button and add upgrade modal (#44645) 2022-02-07 16:04:15 +01:00
features Variables: Explicitly type variable editor extended state (#44749) 2022-02-08 09:31:42 +11:00
partials Chore: Migrates remaining Angular modals to React (#33476) 2021-04-28 15:22:28 +02:00
plugins BarChart: Fix Sticky Tooltip (#45017) 2022-02-07 23:26:27 +01:00
polyfills WIP Chore: reduce strict errors (#40462) 2021-10-15 08:57:55 +02:00
routes feat: creation of service account (#44913) 2022-02-07 14:12:39 +01:00
store Chore: Bumps Immer, Redux Toolkit, Redux and React Redux (#38872) 2021-09-07 10:44:47 +02:00
types feat: creation of service account (#44913) 2022-02-07 14:12:39 +01:00
app.ts Refactor: Move Value Mappings to Grafana public instead of Grafana UI (#44237) 2022-01-20 20:36:34 -08:00
AppWrapper.tsx Navigation: allow adding extra content (#44048) 2022-01-25 10:04:44 +02:00
dev.ts React: Add why-did-you-render dev extension to better see what components re-render and why (in console) (#23455) 2020-04-09 19:44:05 +02:00
index.ts Chore: Prevent loading error from showing too early (#41347) 2021-11-08 16:13:37 +01:00