Skip to content

fix(patch): cherry-pick 0a7ee67 to release/v0.8.2-pr-10900 to patch version v0.8.2 and create version 0.8.3#10928

Closed
gemini-cli-robot wants to merge 1 commit into
release/v0.8.2-pr-10900from
hotfix/v0.8.2/0.8.3/stable/cherry-pick-0a7ee67/pr-10900
Closed

fix(patch): cherry-pick 0a7ee67 to release/v0.8.2-pr-10900 to patch version v0.8.2 and create version 0.8.3#10928
gemini-cli-robot wants to merge 1 commit into
release/v0.8.2-pr-10900from
hotfix/v0.8.2/0.8.3/stable/cherry-pick-0a7ee67/pr-10900

Conversation

@gemini-cli-robot

Copy link
Copy Markdown
Collaborator

This PR automatically cherry-picks commit 0a7ee67 to patch version v0.8.2 in the stable release to create version 0.8.3.

@gemini-code-assist

Copy link
Copy Markdown
Contributor

Summary of Changes

Hello @gemini-cli-robot, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request focuses on enhancing accessibility within the CLI by introducing a dedicated screen reader mode. It includes a new configuration option to activate this mode and provides clear user feedback through a notification when the mode is active, guiding users on how to manage the setting. This change is being delivered as a patch release, v0.8.3.

Highlights

  • Cherry-Pick for Patch Release: The pull request automatically cherry-picks commit 0a7ee67 to patch version v0.8.2, leading to the creation of version 0.8.3.
  • New Accessibility Setting: Introduced a new configuration setting, ui.accessibility.screenReader, which enables a plaintext interactive view for improved screen reader compatibility. This setting defaults to false.
  • Screen Reader Notification: Implemented a persistent notification within the CLI that appears when screen reader mode is active, providing instructions on how to disable it by modifying the settings.json file.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces a new screen reader accessibility mode. The changes include updating the documentation and settings schema, and adding a notification in the UI when this mode is active. My review focuses on the implementation of this new notification. I've identified a high-severity issue where the path to the settings file is hardcoded in a UI component, which can lead to incorrect instructions for the user due to the CLI's layered configuration system. I've provided suggestions to remove the hardcoded path and improve the user-facing message to be more accurate and robust.

Comment on lines +14 to +17
import { homedir } from 'node:os';
import path from 'node:path';

const settingsPath = path.join(homedir(), '.gemini', 'settings.json');

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

Hardcoding the path to the settings file is brittle. The Gemini CLI supports multiple configuration files with a specific order of precedence (e.g., user, project, system). If the screen reader setting is enabled in a higher-precedence file like a project's .gemini/settings.json, editing the user-level file at the hardcoded path will not disable the feature, leading to user confusion.

This path logic should be removed from the UI component. The path, if needed, should be provided by the application's configuration service.

Comment on lines +39 to +42
<Text>
You are currently in screen reader-friendly view. To switch out, open{' '}
{settingsPath} and remove the entry for {'"screenReader"'}.
</Text>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

The instruction to the user is ambiguous and relies on a hardcoded path that may be incorrect. The setting is ui.accessibility.screenReader, but the message only refers to "screenReader". Also, it suggests removing the entry, when setting it to false is the correct way to disable it.

A clearer and safer message would be to instruct the user on the setting they need to change, without specifying a file path.

        <Text>
          You are currently in screen reader-friendly view. To switch out, set `ui.accessibility.screenReader` to `false` in your settings file.
        </Text>

@github-actions

Copy link
Copy Markdown

Size Change: +538 B (0%)

Total Size: 17.6 MB

ℹ️ View Unchanged
Filename Size Change
./bundle/gemini.js 17.6 MB +538 B (0%)
./bundle/sandbox-macos-permissive-closed.sb 1.03 kB 0 B
./bundle/sandbox-macos-permissive-open.sb 830 B 0 B
./bundle/sandbox-macos-permissive-proxied.sb 1.31 kB 0 B
./bundle/sandbox-macos-restrictive-closed.sb 3.29 kB 0 B
./bundle/sandbox-macos-restrictive-open.sb 3.36 kB 0 B
./bundle/sandbox-macos-restrictive-proxied.sb 3.56 kB 0 B

compressed-size-action

@chrstnb chrstnb closed this Oct 13, 2025
@chrstnb chrstnb deleted the hotfix/v0.8.2/0.8.3/stable/cherry-pick-0a7ee67/pr-10900 branch October 13, 2025 13:47
@sripasg sripasg added the size/s A small PR label Jun 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/s A small PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants