grafana/public/app/plugins/panel/gauge
sam boyer be06d37a20
schema: Generate Go and Typescript from Thema coremodels (#49193)
* Add go code generator for coremodels

* Just generate the entire coremodel for now

Maybe we'll need more flexibility as more coremodels are added, but for
now this is fine.

* Add note on type comment about stability, grodkit

* Remove local replace directive for thema

* Generate typescript from coremodel

* Update pkg/coremodel/dashboard/addenda.go

Co-authored-by: Ryan McKinley <ryantxu@gmail.com>

* Update cuetsy to new release

* Update thema to latest

* Fix enum generation for FieldColorModeId

* Put main generated object at the end of the file

* Tweaks to generated Go output

* Retweak back to var

* Add generated coremodel test

* Remove local replace statement again

* Add Make target and call into cuetsy cmd from gen

* Rename and comment linsrc for readability

* Move key codegen bits into reusable package

* Move body of cuetsifier into codegen pkg

Also genericize the diffing output into reusable WriteDiffer.

* Refactor coremodel generator to use WriteDiffer

* Add gen-cue step to CI

* Whip all the codegen automation into shape

* Add simplistic coremodel canonicality controls

* Remove erroneously committed test

* Bump thema version

* Remove dead code

* Improve wording of non-canonicality comment

Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2022-05-27 03:21:37 +02:00
..
__snapshots__ StatPanels: Refactoring DisplayValueOptions and renaming & adding new panel options to react panels (#23153) 2020-03-28 23:11:50 +01:00
img Panels: Update panel logos (#23964) 2020-04-27 22:08:43 +02:00
GaugeMigrations.test.ts Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
GaugeMigrations.ts Cue: Use BarGauge, DashList and Gauge panel cue schemas (#49580) 2022-05-25 14:18:21 +01:00
GaugePanel.tsx Cue: Use BarGauge, DashList and Gauge panel cue schemas (#49580) 2022-05-25 14:18:21 +01:00
models.cue Cue: Use BarGauge, DashList and Gauge panel cue schemas (#49580) 2022-05-25 14:18:21 +01:00
models.gen.ts schema: Generate Go and Typescript from Thema coremodels (#49193) 2022-05-27 03:21:37 +02:00
module.tsx Cue: Use BarGauge, DashList and Gauge panel cue schemas (#49580) 2022-05-25 14:18:21 +01:00
plugin.json TimeSeries: Make timeseries the default panel and remove beta state (#33639) 2021-05-05 13:19:14 +02:00
suggestions.ts Cue: Use BarGauge, DashList and Gauge panel cue schemas (#49580) 2022-05-25 14:18:21 +01:00