You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit bd5cd80
Browse filesBrowse the repository at this point in the historyBrowse files
feat: a clear title bar moves the window with vertical tabs, not the sidebar (#189)
With vertical tabs and the title bar off, a row of the terminal's own
ground over the terminal (no line, no name) holds the window buttons and
moves the window; the sidebar's empty space no longer does.
Claude-Session: https://claude.ai/code/session_017XYVRPzvhLpPCr75uB6uaA
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
ok(bare.rows===0&&!bare.mark,`no title bar at all, nor the app's icon (${JSON.stringify(bare)})`)
2242
+
ok(bare.rows===1&&!!bare.clear&&!bare.mark,`one bar, the clear one, with no icon or name (${JSON.stringify(bare.clear)})`)
2243
+
ok(bare.clear.top===0&&bare.clear.height>=28&&Math.abs(bare.clear.left-bare.navRight)<=1,`over the terminal only, from the sidebar's edge (${JSON.stringify(bare.clear)}, sidebar ends ${bare.navRight})`)
2244
+
ok(bare.clear.border==='0px'&&bare.hostTop===bare.clear.height,`no line under it, the terminal right below (${bare.clear.border}, terminal at ${bare.hostTop})`)
2233
2245
ok(bare.navTop===0,`the sidebar starts at the top of the window (${bare.navTop})`)
2234
2246
ok(bare.inFoot,"the +, Settings and the sidebar's button are at its foot")
2235
2247
ok(bare.firstRowTop<=10,`only tabs at the top (the first row at ${bare.firstRowTop}px)`)
2236
-
ok(bare.close&&!bare.cog&&bare.right<=12&&bare.top<=8,`the window's three buttons float at the top right, alone (${JSON.stringify(bare)})`)
2248
+
ok(bare.close&&!bare.cog&&bare.clear.holds&&bare.right<=12&&bare.top<=8,`the window's three buttons are in it, at the top right, alone (${JSON.stringify(bare)})`)
2237
2249
// THE DRAG ITSELF, as Windows decides it (owner, 2026-10-11: "i cant drag
2238
2250
// the window"): 2 is HTCAPTION, a press that moves the window.
ok(!!(awaituntil(()=>page.evaluate(()=>document.querySelectorAll('[data-title-bar]').length===1&&!document.querySelector('[data-window-buttons]')),3000,50)),'Show title bar puts the bar back, with the buttons in it')
2273
+
ok(!!(awaituntil(()=>page.evaluate(()=>document.querySelectorAll('[data-title-bar]').length===1&&!document.querySelector('[data-title-bar="clear"]')&&!!document.querySelector('[data-app-mark]')),3000,50)),'Show title bar puts the full bar back')
2260
2274
awaitsetPref(page,'tab-layout','horizontal')
2261
2275
ok(!!(awaituntil(()=>page.evaluate(()=>!!document.querySelector('[data-tab-strip]')&&!document.querySelector('[data-tab-sidebar]')),3000,50)),'Horizontal puts the strip back')
0 commit comments