From 5909c2f663e848472268fd34f529465a3ce8a755 Mon Sep 17 00:00:00 2001 From: Keith Guerin Date: Thu, 12 Mar 2026 22:02:51 -0700 Subject: [PATCH] chore(cli): regenerate settings schema/docs and fix final lint error --- docs/cli/settings.md | 6 ++-- docs/reference/configuration.md | 20 +++++------ .../src/ui/components/LoadingIndicator.tsx | 2 -- schemas/settings.schema.json | 34 +++++++++---------- 4 files changed, 30 insertions(+), 32 deletions(-) diff --git a/docs/cli/settings.md b/docs/cli/settings.md index 71b2bce962..2b447b2627 100644 --- a/docs/cli/settings.md +++ b/docs/cli/settings.md @@ -54,7 +54,7 @@ they appear in the UI. | Dynamic Window Title | `ui.dynamicWindowTitle` | Update the terminal window title with current status icons (Ready: ◇, Action Required: ✋, Working: ✦) | `true` | | Show Home Directory Warning | `ui.showHomeDirectoryWarning` | Show a warning when running Gemini CLI in the home directory. | `true` | | Show Compatibility Warnings | `ui.showCompatibilityWarnings` | Show warnings about terminal or OS compatibility issues. | `true` | -| Hide Tips | `ui.hideTips` | Hide helpful tips in the UI | `false` | +| Hide Startup Tips | `ui.hideTips` | Hide the introductory tips shown at the top of the screen. | `false` | | Escape Pasted @ Symbols | `ui.escapePastedAtSymbols` | When enabled, @ symbols in pasted text are escaped to prevent unintended @path expansion. | `false` | | Show Shortcuts Hint | `ui.showShortcutsHint` | Show basic shortcut help ('?') when the status line is idle. | `true` | | Hide Banner | `ui.hideBanner` | Hide the application banner | `false` | @@ -73,8 +73,8 @@ they appear in the UI. | Use Background Color | `ui.useBackgroundColor` | Whether to use background colors in the UI. | `true` | | Incremental Rendering | `ui.incrementalRendering` | Enable incremental rendering for the UI. This option will reduce flickering but may cause rendering artifacts. Only supported when useAlternateBuffer is enabled. | `true` | | Show Spinner | `ui.showSpinner` | Show the spinner during operations. | `true` | -| Show Tips | `ui.showStatusTips` | Show helpful tips in the footer while the model is working. | `true` | -| Show Wit | `ui.showStatusWit` | Show witty loading phrases in the footer while the model is working. | `false` | +| Hide Footer Tips | `ui.hideStatusTips` | Hide helpful tips in the footer while the model is working. | `false` | +| Hide Footer Wit | `ui.hideStatusWit` | Hide witty loading phrases in the footer while the model is working. | `true` | | Error Verbosity | `ui.errorVerbosity` | Controls whether recoverable errors are hidden (low) or fully shown (full). | `"low"` | | Screen Reader Mode | `ui.accessibility.screenReader` | Render output in plain-text to be more screen reader accessible | `false` | diff --git a/docs/reference/configuration.md b/docs/reference/configuration.md index f3d0d38975..776b7499d5 100644 --- a/docs/reference/configuration.md +++ b/docs/reference/configuration.md @@ -242,7 +242,7 @@ their corresponding top-level category object in your `settings.json` file. - **Requires restart:** Yes - **`ui.hideTips`** (boolean): - - **Description:** Hide helpful tips in the UI + - **Description:** Hide the introductory tips shown at the top of the screen. - **Default:** `false` - **`ui.hideIntroTips`** (boolean): @@ -340,24 +340,24 @@ their corresponding top-level category object in your `settings.json` file. - **Description:** Show the spinner during operations. - **Default:** `true` -- **`ui.showStatusTips`** (boolean): - - **Description:** Show helpful tips in the footer while the model is working. - - **Default:** `true` - -- **`ui.showStatusWit`** (boolean): - - **Description:** Show witty loading phrases in the footer while the model is - working. +- **`ui.hideStatusTips`** (boolean): + - **Description:** Hide helpful tips in the footer while the model is working. - **Default:** `false` +- **`ui.hideStatusWit`** (boolean): + - **Description:** Hide witty loading phrases in the footer while the model is + working. + - **Default:** `true` + - **`ui.statusHints`** (enum): - - **Description:** @deprecated Use ui.showStatusTips and ui.showStatusWit + - **Description:** @deprecated Use ui.hideStatusTips and ui.hideStatusWit instead. What to show in the status line: tips, witty comments, both, or off (fallback to shortcuts help). - **Default:** `"tips"` - **Values:** `"tips"`, `"witty"`, `"all"`, `"off"` - **`ui.loadingPhrases`** (enum): - - **Description:** @deprecated Use ui.showStatusTips and ui.showStatusWit + - **Description:** @deprecated Use ui.hideStatusTips and ui.hideStatusWit instead. What to show in the status line: tips, witty comments, both, or off (fallback to shortcuts help). - **Default:** `"tips"` diff --git a/packages/cli/src/ui/components/LoadingIndicator.tsx b/packages/cli/src/ui/components/LoadingIndicator.tsx index fb76f17036..d0a030a807 100644 --- a/packages/cli/src/ui/components/LoadingIndicator.tsx +++ b/packages/cli/src/ui/components/LoadingIndicator.tsx @@ -35,8 +35,6 @@ export const LoadingIndicator: React.FC = ({ currentLoadingPhrase, wittyPhrase, showWit = false, - showTips: _showTips = true, - errorVerbosity: _errorVerbosity = 'full', elapsedTime, inline = false, rightContent, diff --git a/schemas/settings.schema.json b/schemas/settings.schema.json index 1351182fcf..62d6e52488 100644 --- a/schemas/settings.schema.json +++ b/schemas/settings.schema.json @@ -297,9 +297,9 @@ "type": "boolean" }, "hideTips": { - "title": "Hide Tips", - "description": "Hide helpful tips in the UI", - "markdownDescription": "Hide helpful tips in the UI\n\n- Category: `UI`\n- Requires restart: `no`\n- Default: `false`", + "title": "Hide Startup Tips", + "description": "Hide the introductory tips shown at the top of the screen.", + "markdownDescription": "Hide the introductory tips shown at the top of the screen.\n\n- Category: `UI`\n- Requires restart: `no`\n- Default: `false`", "default": false, "type": "boolean" }, @@ -462,32 +462,32 @@ "default": true, "type": "boolean" }, - "showStatusTips": { - "title": "Show Tips", - "description": "Show helpful tips in the footer while the model is working.", - "markdownDescription": "Show helpful tips in the footer while the model is working.\n\n- Category: `UI`\n- Requires restart: `no`\n- Default: `true`", - "default": true, + "hideStatusTips": { + "title": "Hide Footer Tips", + "description": "Hide helpful tips in the footer while the model is working.", + "markdownDescription": "Hide helpful tips in the footer while the model is working.\n\n- Category: `UI`\n- Requires restart: `no`\n- Default: `false`", + "default": false, "type": "boolean" }, - "showStatusWit": { - "title": "Show Wit", - "description": "Show witty loading phrases in the footer while the model is working.", - "markdownDescription": "Show witty loading phrases in the footer while the model is working.\n\n- Category: `UI`\n- Requires restart: `no`\n- Default: `false`", - "default": false, + "hideStatusWit": { + "title": "Hide Footer Wit", + "description": "Hide witty loading phrases in the footer while the model is working.", + "markdownDescription": "Hide witty loading phrases in the footer while the model is working.\n\n- Category: `UI`\n- Requires restart: `no`\n- Default: `true`", + "default": true, "type": "boolean" }, "statusHints": { "title": "Status Line Hints", - "description": "@deprecated Use ui.showStatusTips and ui.showStatusWit instead. What to show in the status line: tips, witty comments, both, or off (fallback to shortcuts help).", - "markdownDescription": "@deprecated Use ui.showStatusTips and ui.showStatusWit instead. What to show in the status line: tips, witty comments, both, or off (fallback to shortcuts help).\n\n- Category: `UI`\n- Requires restart: `no`\n- Default: `tips`", + "description": "@deprecated Use ui.hideStatusTips and ui.hideStatusWit instead. What to show in the status line: tips, witty comments, both, or off (fallback to shortcuts help).", + "markdownDescription": "@deprecated Use ui.hideStatusTips and ui.hideStatusWit instead. What to show in the status line: tips, witty comments, both, or off (fallback to shortcuts help).\n\n- Category: `UI`\n- Requires restart: `no`\n- Default: `tips`", "default": "tips", "type": "string", "enum": ["tips", "witty", "all", "off"] }, "loadingPhrases": { "title": "Loading Phrases", - "description": "@deprecated Use ui.showStatusTips and ui.showStatusWit instead. What to show in the status line: tips, witty comments, both, or off (fallback to shortcuts help).", - "markdownDescription": "@deprecated Use ui.showStatusTips and ui.showStatusWit instead. What to show in the status line: tips, witty comments, both, or off (fallback to shortcuts help).\n\n- Category: `UI`\n- Requires restart: `no`\n- Default: `tips`", + "description": "@deprecated Use ui.hideStatusTips and ui.hideStatusWit instead. What to show in the status line: tips, witty comments, both, or off (fallback to shortcuts help).", + "markdownDescription": "@deprecated Use ui.hideStatusTips and ui.hideStatusWit instead. What to show in the status line: tips, witty comments, both, or off (fallback to shortcuts help).\n\n- Category: `UI`\n- Requires restart: `no`\n- Default: `tips`", "default": "tips", "type": "string", "enum": ["tips", "witty", "all", "off"]