feat(dashboards): embed live dashboard panels in markdown - #8527
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
|
There was a problem hiding this comment.
Review completed against the latest diff
Tip: instead of fixing issues one by one fix them all with cubic
Re-trigger cubic
…der while streaming
|
@cubic-dev-ai review this PR |
@TheodoreSpeaks I have started the AI code review. It will take a few minutes to complete. |
There was a problem hiding this comment.
All reported issues were addressed across 25 files
Tip: instead of fixing issues one by one fix them all with cubic
Re-trigger cubic
|
@cubic-dev-ai review this PR |
@TheodoreSpeaks I have started the AI code review. It will take a few minutes to complete. |
Summary
```dashboardfences in markdown files render live dashboard panels (stat, chart, table, row), using the same YAML grammar as dashboards minus text/tabs/chartslash command inserts a starter fencetimeaccepts fixed{from, to}instants as well as presetshighlights(shaded time bands or single-instant lines) and per-chartthresholds(reference lines), coloured from theme tokens vianeutral | error | infotones; marks draw under the data, labels above ituseDashboardTimehook used by both the dashboard page and embedsType of Change
Testing
Tested manually against live table data in a markdown file.
bun run lint,bun run check:audits,bun run type-check, and unit tests for the embed parser, fixed ranges, highlights, and thresholds pass.Checklist