Conversation
Summary of ChangesHello, 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 significantly upgrades the SVG snapshot generation capabilities within the CLI. It introduces the ability to correctly render various text styles, including bold, italic, underline, and hyperlinks, directly into the SVG output. This enhancement ensures that visual representations of terminal content are more accurate and rich, addressing a previous limitation in style rendering. Highlights
Changelog
Using Gemini Code AssistThe 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
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 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
|
There was a problem hiding this comment.
Code Review
This pull request adds support for bold, italic, underline, and link styles in the SVG snapshots generated for terminal output. The core logic is updated in packages/cli/src/test-utils/svg.ts to read these styles from xterm.js cells and apply corresponding SVG attributes. The changes also include an update to a test file to align with the repository's testing conventions for environment variables. My main feedback is on the use of private xterm.js APIs to retrieve link information, which is a bit fragile. I've left a comment with a suggestion to mitigate this.
|
Size Change: -2 B (0%) Total Size: 25.8 MB ℹ️ View Unchanged
|
There was a problem hiding this comment.
Strikethrough is the only one that doesn't work now
Summary
Fixes #20936