()
| 239 | } |
| 240 | |
| 241 | private notificationsGroup(): SettingDefinitionGroup<SettingsKey> { |
| 242 | return { |
| 243 | type: "group", |
| 244 | heading: "Notifications", |
| 245 | items: [ |
| 246 | { |
| 247 | name: "Announce Updates", |
| 248 | desc: "Display release notes when a new version is installed. This includes new features, demo videos, and bug fixes.", |
| 249 | control: { |
| 250 | type: "dropdown", |
| 251 | key: "announceUpdates", |
| 252 | defaultValue: "major", |
| 253 | options: { |
| 254 | all: "Show updates on each new release", |
| 255 | major: |
| 256 | "Show updates only on major releases (new features, breaking changes)", |
| 257 | none: "Don't show", |
| 258 | }, |
| 259 | }, |
| 260 | }, |
| 261 | { |
| 262 | name: "Show Capture Notifications", |
| 263 | desc: "Display a notification when content is captured successfully to confirm the operation completed.", |
| 264 | control: { type: "toggle", key: "showCaptureNotification" }, |
| 265 | }, |
| 266 | { |
| 267 | name: "Show Input Cancellation Notifications", |
| 268 | desc: "Display a notification when an input prompt is cancelled without submitting. Disable this to avoid extra notices when dismissing prompts.", |
| 269 | control: { |
| 270 | type: "toggle", |
| 271 | key: "showInputCancellationNotification", |
| 272 | }, |
| 273 | }, |
| 274 | ], |
| 275 | }; |
| 276 | } |
| 277 | |
| 278 | private globalVariablesGroup(): SettingDefinitionGroup<SettingsKey> { |
| 279 | return { |
no outgoing calls
no test coverage detected