Skip to content

fix(ui): update broken Terms of Service link in /auth (#23027)#23029

Closed
bdmorgan wants to merge 4 commits into
mainfrom
fix/tos-privacy-link
Closed

fix(ui): update broken Terms of Service link in /auth (#23027)#23029
bdmorgan wants to merge 4 commits into
mainfrom
fix/tos-privacy-link

Conversation

@bdmorgan
Copy link
Copy Markdown
Collaborator

Summary

This PR fixes the broken Terms of Service and Privacy Notice link displayed in the /auth command and standardizes documentation links across the codebase.

Details

  • Updated packages/cli/src/ui/auth/AuthDialog.tsx to use the shortened redirect URL https://geminicli.com/docs/tos-privacy, which resolves the reported 404 issue.
  • Updated packages/cli/src/ui/auth/__snapshots__/AuthDialog.test.tsx.snap to reflect the URL change.
  • Standardized documentation links (ToS, FAQ, Policy Engine, Keyboard Shortcuts) in README.md, CONTRIBUTING.md, docs/index.md, and other files to use their shortened redirect paths for consistency and reliability.
  • Updated VS Code companion README.md with the corrected ToS link.

Related Issues

Fixes #23027

How to Validate

  1. Run the /auth command in the CLI.
  2. Verify that the displayed Terms of Service URL is https://geminicli.com/docs/tos-privacy.
  3. Click the link (or copy-paste) to ensure it redirects correctly to the ToS page.
  4. Check links in README.md and docs/index.md to ensure they also point to valid locations.

Pre-Merge Checklist

  • Updated relevant documentation and README (if needed)
  • Added/updated tests (if needed)
  • Noted breaking changes (if any)
  • Validated on required platforms/methods:
    • MacOS
      • npm run

@bdmorgan bdmorgan requested review from a team as code owners March 19, 2026 00:00
@gemini-code-assist
Copy link
Copy Markdown
Contributor

Summary of Changes

Hello, 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 addresses and resolves a critical issue where the Terms of Service link within the /auth command was broken, leading to a 404 error. Beyond this immediate fix, the changes also standardize the format of various documentation links throughout the project, ensuring all references point to valid and consistent locations. This improves the overall reliability and user experience when navigating documentation.

Highlights

  • Fixes broken Terms of Service link: The Terms of Service and Privacy Notice link displayed in the /auth command has been updated to a working, shortened URL, resolving a reported 404 issue.
  • Standardizes documentation links: Various documentation links across the codebase, including ToS, FAQ, Policy Engine, and Keyboard Shortcuts, have been standardized to use shortened redirect paths for consistency and reliability.
  • Updates VS Code companion README: The README.md for the VS Code companion extension has been updated with the corrected Terms of Service link.
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.

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.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Mar 19, 2026

Size Change: -48 B (0%)

Total Size: 26.2 MB

Filename Size Change
./bundle/chunk-3HJTL4LL.js 0 B -3.63 MB (removed) 🏆
./bundle/chunk-BQ7ATBJT.js 0 B -13.5 MB (removed) 🏆
./bundle/core-A3LADOF7.js 0 B -41.4 kB (removed) 🏆
./bundle/devtoolsService-TNPY32P2.js 0 B -27.7 kB (removed) 🏆
./bundle/interactiveCli-VVTED4MG.js 0 B -1.61 MB (removed) 🏆
./bundle/oauth2-provider-XMIGBZBM.js 0 B -9.19 kB (removed) 🏆
./bundle/chunk-LY7GY6P3.js 13.5 MB +13.5 MB (new file) 🆕
./bundle/chunk-O2SC6H4C.js 3.63 MB +3.63 MB (new file) 🆕
./bundle/core-PU7YW4NV.js 41.4 kB +41.4 kB (new file) 🆕
./bundle/devtoolsService-56HOYW3V.js 27.7 kB +27.7 kB (new file) 🆕
./bundle/interactiveCli-BX7ER3SP.js 1.61 MB +1.61 MB (new file) 🆕
./bundle/oauth2-provider-X3B7SQJS.js 9.19 kB +9.19 kB (new file) 🆕
ℹ️ View Unchanged
Filename Size Change
./bundle/chunk-34MYV7JD.js 2.45 kB 0 B
./bundle/chunk-37ZTTFQF.js 966 kB 0 B
./bundle/chunk-5AUYMPVF.js 858 B 0 B
./bundle/chunk-664ZODQF.js 124 kB 0 B
./bundle/chunk-DAHVX5MI.js 206 kB 0 B
./bundle/chunk-G4TMH6EN.js 1.95 MB 0 B
./bundle/chunk-IUUIT4SU.js 56.5 kB 0 B
./bundle/chunk-RJTRUG2J.js 39.8 kB 0 B
./bundle/devtools-36NN55EP.js 696 kB 0 B
./bundle/dist-T73EYRDX.js 356 B 0 B
./bundle/gemini.js 697 kB -17 B (0%)
./bundle/getMachineId-bsd-TXG52NKR.js 1.55 kB 0 B
./bundle/getMachineId-darwin-7OE4DDZ6.js 1.55 kB 0 B
./bundle/getMachineId-linux-SHIFKOOX.js 1.34 kB 0 B
./bundle/getMachineId-unsupported-5U5DOEYY.js 1.06 kB 0 B
./bundle/getMachineId-win-6KLLGOI4.js 1.72 kB 0 B
./bundle/memoryDiscovery-KKSSU3SI.js 922 B 0 B
./bundle/multipart-parser-KPBZEGQU.js 11.7 kB 0 B
./bundle/node_modules/@google/gemini-cli-devtools/dist/client/main.js 221 kB 0 B
./bundle/node_modules/@google/gemini-cli-devtools/dist/src/_client-assets.js 227 kB 0 B
./bundle/node_modules/@google/gemini-cli-devtools/dist/src/index.js 11.5 kB 0 B
./bundle/node_modules/@google/gemini-cli-devtools/dist/src/types.js 132 B 0 B
./bundle/sandbox-macos-permissive-open.sb 890 B 0 B
./bundle/sandbox-macos-permissive-proxied.sb 1.31 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
./bundle/sandbox-macos-strict-open.sb 4.82 kB 0 B
./bundle/sandbox-macos-strict-proxied.sb 5.02 kB 0 B
./bundle/src-QVCVGIUX.js 47 kB 0 B
./bundle/tree-sitter-7U6MW5PS.js 274 kB 0 B
./bundle/tree-sitter-bash-34ZGLXVX.js 1.84 MB 0 B
./bundle/undici-4X2YZID5.js 360 B 0 B

compressed-size-action

Copy link
Copy Markdown
Contributor

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

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 fixes a broken Terms of Service link and aims to standardize documentation URLs. The changes correctly update several links to a shorter, more consistent format. However, the standardization is incomplete, as several links that follow the old pattern were not updated across multiple files. I've left specific comments pointing out the missed opportunities for standardization, referencing the rule about maintaining consistency in documentation. Completing this would improve consistency and maintainability of the documentation.

Comment thread README.md

- **License**: [Apache License 2.0](LICENSE)
- **Terms of Service**: [Terms & Privacy](./docs/resources/tos-privacy.md)
- **Terms of Service**: [Terms & Privacy](./docs/tos-privacy)
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

Thanks for updating the Terms of Service link. I noticed several other links in this file that could also be standardized to follow the new URL structure. For example:

  • Line 285: [**Configuration Guide**](./docs/reference/configuration.md)
  • Line 287: [**Keyboard Shortcuts**](./docs/reference/keyboard-shortcuts.md)
  • Line 333: [**FAQ**](./docs/resources/faq.md)

Updating these would make the link structure fully consistent with the changes in this PR.

References
  1. Maintain consistency in documentation. When information about a feature is present in multiple documents, ensure all instances are updated or removed together to avoid contradictions. This principle also applies to maintaining a consistent link structure within documentation.


- [Gemini CLI: Quotas and Pricing](../resources/quota-and-pricing.md).
- [Gemini CLI: Terms of Service and Privacy Notice](../resources/tos-privacy.md).
- [Gemini CLI: Terms of Service and Privacy Notice](../resources/tos-privacy).
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

Thanks for updating this link. For consistency, the 'Quotas and Pricing' link on the preceding line should also be updated to remove the /resources/ path and .md extension, similar to the change you made here.

References
  1. Maintain consistency in documentation. When information about a feature is present in multiple documents, ensure all instances are updated or removed together to avoid contradictions. This principle also applies to maintaining a consistent link structure within documentation.

Comment thread docs/index.md Outdated
details.
- **[Terms and privacy](./resources/tos-privacy.md):** Official notices and
terms.
- **[Terms and privacy](./tos-privacy):** Official notices and terms.
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

While you've updated the 'Terms and privacy' link, several other links in this section still use the old /resources/ path and .md extension. To complete the standardization, please update the following links as well:

  • [FAQ](./resources/faq.md)
  • [Quota and pricing](./resources/quota-and-pricing.md)
  • [Troubleshooting](./resources/troubleshooting.md)
  • [Uninstall](./resources/uninstall.md)

This will ensure consistency across the documentation.

References
  1. Maintain consistency in documentation. When information about a feature is present in multiple documents, ensure all instances are updated or removed together to avoid contradictions. This principle also applies to maintaining a consistent link structure within documentation.

This commit fixes the Lychee link checker errors in the pre-submit workflow by converting several absolute repository paths that resolve to the file system root during tests to correct relative paths. Also corrects the broken 'Terms and privacy' link in index.md.
This restores absolute root-relative paths in CONTRIBUTING.md and README.md, and adds them to .lycheeignore. Because CONTRIBUTING.md is symlinked in docs/, relative paths resolve incorrectly during link checking but work on GitHub. Ignoring them prevents the false positive link check failures.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Link to the gemini-cli tos on the /auth screen is in correct due to a docs directory change

1 participant