Revamp onboarding notification setup (#2670)

This commit is contained in:
Neil
2026-05-22 23:47:31 -07:00
committed by GitHub
parent de96ac5678
commit 58accdf8a8
34 changed files with 868 additions and 288 deletions
+2 -1
View File
@@ -31,7 +31,7 @@ export const DEFAULT_HIDE_SLEEPING_WORKSPACES = false
// Why: the onboarding wizard's last step index. Centralized so backfill,
// clamps, and UI step references all agree on the same upper bound.
export const ONBOARDING_FINAL_STEP = 5
export const ONBOARDING_FINAL_STEP = 6
export const ORCA_BROWSER_PARTITION = 'persist:orca-browser'
// Why: blank browser tabs must start from an inert guest URL that does not
@@ -120,6 +120,7 @@ export function getDefaultNotificationSettings(): NotificationSettings {
agentTaskComplete: true,
terminalBell: false,
suppressWhenFocused: true,
customSoundId: 'system',
customSoundPath: null,
customSoundVolume: 100
}
+1
View File
@@ -441,6 +441,7 @@ const onboardingValueKindSchema = z.enum([
'agent',
'theme',
'notifications',
'agent_setup',
'integrations',
'repo'
])
+12
View File
@@ -1354,6 +1354,18 @@ export type NotificationSettings = {
agentTaskComplete: boolean
terminalBell: boolean
suppressWhenFocused: boolean
customSoundId:
| 'system'
| 'two-tone'
| 'bong'
| 'thump'
| 'blip'
| 'sonar'
| 'blop'
| 'ding'
| 'clack'
| 'beep'
| 'custom'
customSoundPath: string | null
customSoundVolume: number
}