Skip to content

Node-based terminal manager for AI coding agents — tmux-backed terminals and parallel agent sessions as draggable nodes on an infinite pan/zoom canvas. macOS, Linux, and a browser Server Edition.

fix(kanban): keep the header's Filter / Views menus above the columns

eneskirca57d57e791b47
diff --git a/src/renderer/styles.css b/src/renderer/styles.css
index 4a4af0704..567149d58 100644
--- a/src/renderer/styles.css
+++ b/src/renderer/styles.css
@@ -11448,6 +11448,13 @@ button.group-node__setup:disabled {
controls cluster (top-right), so column headers never sit under those icons. */
.kanban-header {
flex: 0 0 auto;
+ /* Above the board (issue #1350): the Filter / Views menus are absolutely positioned INSIDE this
+ strip, and under Liquid Glass the strip AND every `.kanban-col` carry a backdrop-filter, which
+ makes each of them its own stacking context. A menu's z-index then only ranks it inside the
+ strip, and the columns — later siblings at the same `auto` level — painted over it. Ranking
+ the strip itself above the board is the only order a child cannot escape from. */
+ position: relative;
+ z-index: 1;
display: flex;
align-items: center;
gap: 10px;
diff --git a/src/renderer/styles.kanban.test.ts b/src/renderer/styles.kanban.test.ts
index 0b00c9232..70fee8036 100644
--- a/src/renderer/styles.kanban.test.ts
+++ b/src/renderer/styles.kanban.test.ts
@@ -49,3 +49,21 @@ describe('Card modal ⌘M view stacking (issue #389 resize handles)', () => {
expect(overlay).toBeGreaterThanOrEqual(upload)
})
})
+
+describe('Header menus over the columns (issue #1350)', () => {
+ const bare = CSS.replace(/\/\*[\s\S]*?\*\//g, '')
+
+ it('ranks the header strip above the board, so its Filter / Views menus cannot sink under a column', () => {
+ // Under Liquid Glass both the strip and every column carry a backdrop-filter (the glass chrome
+ // rule below), i.e. each is a stacking context; a menu's own z-index cannot leave the strip,
+ // so the strip must outrank the columns itself.
+ const header = bare.match(/\n\.kanban-header\s*{([^}]*)}/)
+ expect(header, '.kanban-header rule').toBeTruthy()
+ expect(header![1]).toMatch(/position:\s*relative;/)
+ const z = Number(/z-index:\s*(\d+)/.exec(header![1])?.[1])
+ expect(z).toBeGreaterThanOrEqual(1)
+ expect(bare).toMatch(/\.kanban-header,\s*\.kanban-col,[\s\S]{0,400}backdrop-filter/)
+ // The columns themselves stay unranked: equal `auto` is what let a later column win.
+ expect(bare.match(/\n\.kanban-col\s*{([^}]*)}/)![1]).not.toMatch(/z-index/)
+ })
+})