Compare commits

...

3 Commits

Author SHA1 Message Date
Luke Parker 097e842bc2 chore(app): log persisted session info updates 2026-08-11 07:50:22 +00:00
Luke Parker b2846b5984 chore(app): clarify session tab debug log 2026-08-11 07:48:29 +00:00
Luke Parker 2f48e351a8 fix(app): handle untitled session tab info 2026-08-11 07:46:20 +00:00
+2 -2
View File
@@ -351,8 +351,8 @@ export const { use: useTabs, provider: TabsProvider } = createSimpleContext({
const key = tabKey(tab)
const next = { title: session.title, directory: session.location.directory }
const current = info[key]
console.log({ tab, session, current })
if (current?.title === next.title && current.directory === next.directory) return
if (current && current.title === next.title && current.directory === next.directory) return
console.debug("[tabs] update persisted session info", { key, sessionID: session.id, current, next })
setInfo(key, next)
},
select: navigateTab,