docs(schema): regenerate the schemas for the scrolling layout

schema.json gets the center_focused_column layout option as a boolean or one
of Never, Always and OnOverflow, and schema.bar.json, which embeds the socket
messages, gets the new scrolling commands.
This commit is contained in:
LGUG2Z committed 2026-10-30 15:45:37 -07:00
1 parent 598390d9cb
commit 7c79625ba7
8 files changed
+209 -10

No files matched your search

+33 -5
View File
@@ -3854,16 +3854,44 @@
"b"
]
},
"ScrollingCentering": {
"description": "When the Scrolling layout centres the focused column\n\nA boolean is also accepted when reading, for the layout option that used to be one: `true` is\n`Always` and `false` is `Never`.",
"oneOf": [
{
"description": "Scroll just far enough to bring the focused column into view, and no further",
"type": "string",
"const": "Never"
},
{
"description": "Keep the focused column in the middle of the screen",
"type": "string",
"const": "Always"
},
{
"description": "Centre the focused column when it does not fit on the screen together with the column that\nfocus came from",
"type": "string",
"const": "OnOverflow"
}
]
},
"ScrollingLayoutOptions": {
"description": "Options for the Scrolling layout",
"type": "object",
"properties": {
"center_focused_column": {
"description": "With an odd number of visible columns, keep the focused window column centered",
"type": [
"boolean",
"null"
]
"description": "When to centre the focused column: `Never` (the default), `Always`, or `OnOverflow`, which\nis when it does not fit on the screen together with the column that focus came from. A\nboolean is also accepted, where `true` is `Always` and `false` is `Never`",
"anyOf": [
{
"type": "boolean"
},
{
"$ref": "#/$defs/ScrollingCentering"
},
{
"type": "null"
}
],
"default": null
},
"columns": {
"description": "Desired number of visible columns (default: 3)",