Skip to content

Commit f4e6f06

Browse files
jordangarsideclaude
andcommitted
[config][infra] add grafana-react monorepo integration
__Changes__ - Add GitHub workflow for syncing grafana-react to public repo - Add moon.yml with build, test, lint, and CLI tasks - Register grafana-react and dashboards project in moon workspace - Add dashboards project to pnpm workspace - Add notes documenting OSS sync workflow and schema alignment __Why__ - Enables automatic sync of oss/grafana-react/pkg to kiwi-research/grafana-react - Provides moon tasks for building dashboards within the monorepo Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 87b1047 commit f4e6f06

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

notes/GRAFANA_SCHEMA_REFERENCE.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,13 @@ Grafana uses **CUE schemas** as the source of truth, which are code-generated in
99
### Panel-Specific Options
1010

1111
Each panel type has its schema in:
12+
1213
```
1314
public/app/plugins/panel/<panel-type>/panelcfg.gen.ts
1415
```
1516

1617
Examples:
18+
1719
- [timeseries/panelcfg.gen.ts](https://github.com/grafana/grafana/blob/main/public/app/plugins/panel/timeseries/panelcfg.gen.ts)
1820
- [stat/panelcfg.gen.ts](https://github.com/grafana/grafana/blob/main/public/app/plugins/panel/stat/panelcfg.gen.ts)
1921
- [table/panelcfg.gen.ts](https://github.com/grafana/grafana/blob/main/public/app/plugins/panel/table/panelcfg.gen.ts)
@@ -23,11 +25,13 @@ Examples:
2325
### Common/Shared Types
2426

2527
Shared types (legends, tooltips, axes, field config) are in:
28+
2629
```
2730
packages/grafana-schema/src/common/common.gen.ts
2831
```
2932

3033
Key interfaces:
34+
3135
- `VizLegendOptions` - Legend display, placement, calcs
3236
- `VizTooltipOptions` - Tooltip mode, sort, dimensions
3337
- `GraphFieldConfig` - Line/bar/point styling, axis config, stacking
@@ -36,6 +40,7 @@ Key interfaces:
3640
### NPM Package
3741

3842
You can also explore types via the `@grafana/schema` package:
43+
3944
```bash
4045
pnpm add -D @grafana/schema
4146
```
@@ -45,6 +50,7 @@ Then use your IDE to explore exported types.
4550
## Panel Types Available
4651

4752
Core panels in Grafana:
53+
4854
- alertlist, annolist, barchart, bargauge, candlestick, canvas
4955
- dashlist, datagrid, flamegraph, gauge, geomap, heatmap
5056
- histogram, logs, news, nodeGraph, piechart, stat

0 commit comments

Comments
 (0)