Skip to content

Commit 43dc92f

Browse files
committed
feat(settings): add options for diff view auto focus and tab management
1 parent 8c48cb8 commit 43dc92f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

packages/types/src/global-settings.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,9 @@ export const globalSettingsSchema = z.object({
8080

8181
rateLimitSeconds: z.number().optional(),
8282
diffEnabled: z.boolean().optional(),
83+
diffViewAutoFocus: z.boolean().optional(),
84+
autoCloseRooTabs: z.boolean().optional(),
85+
autoCloseAllRooTabs: z.boolean().optional(),
8386
fuzzyMatchThreshold: z.number().optional(),
8487
experiments: experimentsSchema.optional(),
8588

@@ -164,6 +167,9 @@ export const GLOBAL_SETTINGS_KEYS = keysOf<GlobalSettings>()([
164167

165168
"rateLimitSeconds",
166169
"diffEnabled",
170+
"diffViewAutoFocus",
171+
"autoCloseRooTabs",
172+
"autoCloseAllRooTabs",
167173
"fuzzyMatchThreshold",
168174
"experiments",
169175

0 commit comments

Comments
 (0)