feat: when closing a tab, go to previous tab (MRU) not nearest neighbor (#784)

This commit is contained in:
Neil
2026-04-17 19:43:22 -07:00
committed by GitHub
parent 8d3494fe07
commit 8dbfec4e20
11 changed files with 372 additions and 26 deletions
+2 -1
View File
@@ -87,7 +87,8 @@ const tabGroupSchema = z.object({
id: z.string(),
worktreeId: z.string(),
activeTabId: z.string().nullable(),
tabOrder: z.array(z.string())
tabOrder: z.array(z.string()),
recentTabIds: z.array(z.string()).optional()
})
const tabGroupSplitDirectionSchema = z.enum(['horizontal', 'vertical'])