* Add baseAPI * Restore schemaFile * Generate endpoints * Cleanup endpoints * Update endpoints * Set up config page * Add hook * Rename to provisioning * Register reducer and middleware * Separate List and New pages * Add GitHub config * Save data * Fix types * Display list * Fix redirect * Update tags * Common folder * Cleanup * Update public/app/routes/routes.tsx Co-authored-by: kay delaney <45561153+kaydelaney@users.noreply.github.com> * Add token permissions instructions * Add EditPage * load data for edit * Update hook * Show api errors * Add title and token * Use test name * Update token field state * Add delete button * Add feedback for delete action * Sort list * Do not load items for new page * Prettier * Disable type change for edit * Add title field * Update pkg/services/navtree/navtreeimpl/admin.go Co-authored-by: Ryan McKinley <ryantxu@gmail.com> * Update public/app/features/provisioning/ConfigForm.tsx Co-authored-by: Ryan McKinley <ryantxu@gmail.com> --------- Co-authored-by: kay delaney <45561153+kaydelaney@users.noreply.github.com> Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
37 lines
858 B
JSON
37 lines
858 B
JSON
{
|
|
"kind": "Dashboard",
|
|
"apiVersion": "dashboard.grafana.app/v0alpha1",
|
|
"metadata": {
|
|
"name": "ignored?",
|
|
"namespace": "default",
|
|
"uid": "ignored",
|
|
"resourceVersion": "also ignored",
|
|
"creationTimestamp": "2024-11-15T19:54:07Z",
|
|
"annotations": {
|
|
"hello": "world:"
|
|
},
|
|
"labels": {
|
|
"region": "west"
|
|
}
|
|
},
|
|
"spec": {
|
|
"title": "Green dashboard from provisioning",
|
|
"panels": [
|
|
{
|
|
"gridPos": {
|
|
"h": 13,
|
|
"w": 24,
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
"options": {
|
|
"content": "<div style=\"background:#1cac78; color:#000; padding:50px; height:1000px\"><h1>This dashboard was loaded from provisioning 🎉🎉🎉🎉🎉🎉</h1></div>",
|
|
"mode": "html"
|
|
},
|
|
"transparent": true,
|
|
"type": "text"
|
|
}
|
|
]
|
|
}
|
|
}
|