grafana/public/app/features
sam boyer 07e5f8117f
Reconcile coremodels, entities, objects under new kind framework (#56492)
* Update thema to latest

* Deal with s/Library/*Runtime/

* Commit new, working results of codegen

* We like pointers now

* Always take runtime arg for NewBase()

* Sketchy handwavy pass at entity meta framework

* Little nibbles

* Update pkg/framework/coremodel/entityframework.cue

Co-authored-by: Artur Wierzbicki <wierzbicki.artur.94@gmail.com>

* Move file into new framework location

* Introduce loaders, Go code

* Complete rename to kind

* Flesh out framework, add svg/dashboard examples

* Cruft removal

* Remove generated kind go files from gitignore

* Refine maturity concept, add SlotKind

* Update embed and go deps

* Export PrefixWithGrafanaCUE

* Make the loader actually work, holy crap

* Many small tweaks to type.cue

* Add Apache 2 licensing exceptions for kinds

* Add new kinds dir, start of generator

* Roll back to earlier oapi-codegen

* Introduce new grafana-specific CUE loaders

* Introduce new tidy code generators framework

* Catch up kind framework with tinkering

* Add slices for the generators

* Add write/verify step to main generator

* Many renames

* Split up kind framework cue files

* Use kind.Decl within generated kinds

* Create kind.SomeDecl wrapper type to cache lineages

* Better names again

* Get one generated implemented, hopefully

* Copy dashboard schema into new kind.cue

* Small fixes to make the initial gen work

* Put svg kind in its new home

* Add generated Go dashboard type

* More renames and cleanups

* Add base kind registry and generator

* Stop blacklisting *_gen.go files

This is not the Go best practice, anyway. All we actually want to ignore
for enterprise is generated wire files.

* Change codegen output directories

pkg/kind -> pkg/kinds
pkg/registry/kindreg -> pkg/registry/corekind

* Rename pkg/framework/kind to pkg/kindsys

* Add core structured kind generator

* Add plural and machine names to kind spec

* Copy playlist over to kind system

* Consolidate kindsys files

* Add raw kind generator

* Update CODEOWNERS for kind framework

* Touch up comments a bit

* More docs tweaks

* Remove generated types to reduce noise for review

* Split each generator into its own file

* Rename Slot kind to Composable kind

* Add handwavy types for customkind loading

* Guard against init calls to framework loader

* First pass at doc on extending the kind system

* Improve attribute example in docs

* Fix wire imports

* Add basic TS types generator

* Fix composable kind category def

* No need for a separate file with generate directive

* Catch dashboard schema up

* Rename generator types to something saner and generic

* Make version configurable in ts/go generators

* Add CommonMeta to ease property access

* Add kindsys prop indicating whether lineage is group

* Put all kind categories back in a single file

* Finish with kindsys group props

* Refactor maturity progression per discussion

- Replace "committed" with "merged"
- All kindcats can use all maturity levels, at least for now

* Convert ts veneer index generator to modular system

* Move over to new jennywrites framework

* Strip down old coremodel generator

* Use public version of jennywrites

* Pull latest thema

* Commit generated Go types

* Add header injection postprocessor

* Move sdboyer/jennywrites to grafana/codejen

* Tweak header output

* Remove dashboard and playlist coremodels

* Fix up backend dashboards devenv test

* Fix TS import patterns to new gen filename

* Update internal imports, remove coremodel registry

* Fix compilation errors, wire generation

* Export and replace the prefix dropper

* More Go struct and field name changes

* Last name fixes, hopefully

* Fix lint errors

* Last lint error

Co-authored-by: Artur Wierzbicki <wierzbicki.artur.94@gmail.com>
2022-11-10 12:36:40 -08:00
..
admin Chore: Migrate more usage of v1 themes to v2 (#57680) 2022-11-02 10:25:08 +00:00
alerting Alerting: Remove url based external alertmanagers config (#57918) 2022-11-10 16:34:13 +01:00
annotations Plugins: Added hook to make it easier to track interactions in plugins (#56126) 2022-11-02 16:57:57 +01:00
api-keys Navigation: Add descriptions to NavModelItems (#55669) 2022-09-23 16:08:08 +01:00
canvas Canvas: Extend root context menu (#58097) 2022-11-03 17:30:12 +00:00
commandPalette Explore: Remove camel case from tracking labels (#56809) 2022-10-13 12:12:50 +02:00
comments Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
connections Connections: Support standalone plugin pages (#57772) 2022-11-10 11:14:23 +01:00
correlations Correlations: add tracking for add, update, delete, and details expanded (#58239) 2022-11-08 10:10:09 +00:00
dashboard Panels: Fixes crashing issue when migrating angular panels (#58232) 2022-11-08 16:26:02 +01:00
datasources Chore: Migrate usage of v1 theme to v2 (#58154) 2022-11-03 18:15:55 +00:00
dimensions Canvas: Fix setting icon from field data #58499 2022-11-10 10:56:31 -08:00
explore Explore: Support fields interpolation in logs panel (#58426) 2022-11-10 15:33:17 +01:00
expressions Chore: Migrate usage of v1 theme to v2 (#58154) 2022-11-03 18:15:55 +00:00
folders LibraryPanels: Replace folderID with folderUID (#56414) 2022-11-02 16:49:02 +01:00
geo Geomap: Spatial operations location options transform e2e test (#54162) 2022-08-25 17:34:24 -04:00
inspector Chore: Migrate usage of v1 theme to v2 (#58154) 2022-11-03 18:15:55 +00:00
invites Auth: Check for OrgUsersAdd on frontend to display pending invites (#58217) 2022-11-04 11:14:59 +00:00
library-panels Chore: Migrate usage of v1 theme to v2 (#58154) 2022-11-03 18:15:55 +00:00
live Chore: Migrate usage of v1 theme to v2 (#58154) 2022-11-03 18:15:55 +00:00
logs Explore: Support fields interpolation in logs panel (#58426) 2022-11-10 15:33:17 +01:00
manage-dashboards Dashboards: Provide better error messages in SaveDashboardAsForm (#57866) 2022-11-08 22:11:02 +08:00
notifications Page: Update profile page components to use new navId (#51664) 2022-07-11 14:35:30 +02:00
org Revert: Query editor components from grafana-ui (#57436) 2022-10-24 17:12:36 +02:00
panel Panels: Fixes crashing issue when migrating angular panels (#58232) 2022-11-08 16:26:02 +01:00
playlist Reconcile coremodels, entities, objects under new kind framework (#56492) 2022-11-10 12:36:40 -08:00
plugins Navigation: Convert PluginDetails page to use new Page extensions (#58509) 2022-11-09 14:44:38 +00:00
profile Chore/React18: Update component prop types (#56898) 2022-10-14 10:24:32 +01:00
query Chore: Migrate usage of v1 theme to v2 (#58154) 2022-11-03 18:15:55 +00:00
runtime
sandbox Chore/React18: Update component prop types (#56898) 2022-10-14 10:24:32 +01:00
scenes Scene: ObjectVariable for supporting the built in system variables and object scoped variables (__data for example) (#58291) 2022-11-09 10:27:20 +01:00
search Chore: Migrate usage of v1 theme to v2 (#58154) 2022-11-03 18:15:55 +00:00
serviceaccounts ServiceAccounts: Add background service to check for token leaks (#53658) 2022-11-07 05:46:19 -05:00
storage Accessibility: Enable rule jsx-a11y/no-noninteractive-element-interactions (#58077) 2022-11-03 10:55:58 +00:00
teams Chore: more any/type assertion improvements (#57450) 2022-10-25 11:04:35 +02:00
templating ElasticSearch: Fix lucene formatted variables being wrongly escaped (#54981) 2022-09-15 17:18:57 +02:00
transformers Chore: Migrate usage of v1 theme to v2 (#58154) 2022-11-03 18:15:55 +00:00
users RBAC: Remove builtin role code (#53767) 2022-08-18 12:25:37 +02:00
variables Variables: SceneVariable update process (#57784) 2022-11-09 08:02:24 +01:00
all.ts Chore: Remove empty and leftover files (#55757) 2022-09-26 11:33:07 -04:00