fix: address review findings (#5275)

This commit is contained in:
Jinjing
2026-06-12 11:43:39 -07:00
committed by GitHub
parent 528a9292aa
commit d2a3f12baa
21 changed files with 667 additions and 28 deletions
+2 -1
View File
@@ -245,7 +245,8 @@ export function getDefaultSettings(homedir: string): GlobalSettings {
httpProxyUrl: '',
httpProxyBypassRules: '',
electronHttp1CompatibilityMode: false,
openLinksInApp: true,
openLinksInApp: false,
openLinksInAppPreferencePrompted: false,
openInApplications: [...DEFAULT_OPEN_IN_APPLICATIONS],
rightSidebarOpenByDefault: true,
showGitIgnoredFiles: true,
+3
View File
@@ -2185,6 +2185,9 @@ export type GlobalSettings = {
* The setting stays opt-in so existing workflows continue to use the system browser
* until the user explicitly wants worktree-scoped in-app browsing. */
openLinksInApp: boolean
/** Why: terminal link routing asks once at first use instead of silently
* changing where links open for new users. */
openLinksInAppPreferencePrompted: boolean
/** Extra launcher rows for the worktree "Open in" submenu. VS Code is always shown first. */
openInApplications?: OpenInApplication[]
/** Deprecated: migration/backward-compat only. Use PersistedUIState.rightSidebarOpen. */