mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2026-08-31 00:47:15 +02:00
docs(web): document resample options in the UI config schema
plot-configuration.resample-policy and resample-algo are read into PlotConfiguration and exposed through UIDefaultsMap as the site default for new users, but neither appeared in the schema, so they looked unsupported. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -182,6 +182,16 @@ const configSchema = `{
|
|||||||
"type": "integer",
|
"type": "integer",
|
||||||
"minimum": 0
|
"minimum": 0
|
||||||
},
|
},
|
||||||
|
"resample-policy": {
|
||||||
|
"description": "Initial resample policy for new users, controlling how many data points metric plots request. Empty string falls back to main.resampling.default-policy.",
|
||||||
|
"type": "string",
|
||||||
|
"enum": ["", "low", "medium", "high"]
|
||||||
|
},
|
||||||
|
"resample-algo": {
|
||||||
|
"description": "Initial resample algorithm for new users. Empty string falls back to main.resampling.default-algo.",
|
||||||
|
"type": "string",
|
||||||
|
"enum": ["", "lttb", "average", "simple"]
|
||||||
|
},
|
||||||
"color-scheme": {
|
"color-scheme": {
|
||||||
"description": "Initial colorScheme to be used for metric plots.",
|
"description": "Initial colorScheme to be used for metric plots.",
|
||||||
"type": "array",
|
"type": "array",
|
||||||
|
|||||||
Reference in New Issue
Block a user