feat(v2 Containers): scrollable containers (#6629)

This commit is contained in:
Bergasha authored and GitHub committed 2026-08-22 09:24:52 +02:00
1 parent 011ce8e5a3
commit 7591f7e313
9 files changed
+89 -4

No files matched your search

@@ -1396,6 +1396,7 @@ describe("saveBoard should save full board", () => {
showLabel: false,
collapsible: false,
showOpenAll: false,
scrollable: false,
});
expect(
await db.query.sectionLayouts.findFirst({
+4
View File
@@ -1943,6 +1943,10 @@
"showOpenAll": {
"label": "Show open-all action",
"description": "Show an action that opens every app in this container in new tabs."
},
"scrollable": {
"label": "Scrollable",
"description": "Keep this container at its set size and scroll its contents instead of growing to fit them."
}
},
"action": {
+2
View File
@@ -75,6 +75,7 @@ describe("section behavior validation", () => {
showLabel: false,
collapsible: true,
showOpenAll: true,
scrollable: true,
},
layouts: [],
});
@@ -88,6 +89,7 @@ describe("section behavior validation", () => {
showLabel: false,
collapsible: true,
showOpenAll: true,
scrollable: true,
},
});
});
+2
View File
@@ -61,6 +61,7 @@ export const containerSectionOptionsDefaults = {
showLabel: true,
collapsible: false,
showOpenAll: false,
scrollable: false,
} as const;
export const containerSectionOptionsSchema = z
@@ -71,6 +72,7 @@ export const containerSectionOptionsSchema = z
showLabel: z.boolean().default(containerSectionOptionsDefaults.showLabel),
collapsible: z.boolean().default(containerSectionOptionsDefaults.collapsible),
showOpenAll: z.boolean().default(containerSectionOptionsDefaults.showOpenAll),
scrollable: z.boolean().default(containerSectionOptionsDefaults.scrollable),
})
.default(containerSectionOptionsDefaults);