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:
2026-08-27 16:02:41 +02:00
co-authored by Claude Opus 5
parent 668a5bf877
commit fd64db66e7
+10
View File
@@ -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",