feat(app): bring v2 visibility settings to web (#32174)

This commit is contained in:
Luke Parker
2026-06-13 13:13:12 +02:00
committed by GitHub
parent 9ae4a5139f
commit 45e4606fa4
11 changed files with 86 additions and 147 deletions
+2 -2
View File
@@ -20,8 +20,8 @@ type TabsInput = {
export const getSessionKey = (dir: string | undefined, id: string | undefined) => `${dir ?? ""}${id ? `/${id}` : ""}`
export function shouldShowFileTree(input: { desktopV2: boolean; showFileTree: boolean; opened: boolean }) {
return input.opened && (!input.desktopV2 || input.showFileTree)
export function shouldShowFileTree(input: { visible: boolean; opened: boolean }) {
return input.opened && input.visible
}
export const createSessionTabs = (input: TabsInput) => {