qwen-code/packages/cli/src/ui
DeWitt Clinton 068b505d5e
Reduce excessive diff separators in CLI. (#535)
Increases the threshold for rendering diff separators in the CLI's diff display. Previously, a separator was shown for gaps of more than one context line, leading to excessive separators in diffs with many small changes close together (Issue #534).

By increasing `MAX_CONTEXT_LINES_WITHOUT_GAP` to 5, we allow for more context lines before a separator is added, significantly reducing visual clutter in such diffs.

Added a test case to `DiffRenderer.test.tsx` to verify that separators are not rendered for small gaps within the new threshold.
2025-05-25 10:26:51 -07:00
..
components Reduce excessive diff separators in CLI. (#535) 2025-05-25 10:26:51 -07:00
contexts Code review comment fixes and some refactors. (#525) 2025-05-24 00:44:17 -07:00
hooks Code review comment fixes and some refactors. (#525) 2025-05-24 00:44:17 -07:00
themes feat: Improve theme not found handling 2025-05-09 10:28:20 -07:00
utils fix: Ensure user written ! is treated opaquely if not in shell mode\n\n- Addresses an issue where commands prefixed with ! (e.g., !ls) were incorrectly handled by the shell command processor if the ! was added after initially typing the command.\n- Ensures that such commands are correctly forwarded to the Gemini model.\n- Updates useGeminiStream to be aware of shell mode to properly manage streaming state.\n\nFixes https://buganizer.corp.google.com/issues/418761305 2025-05-19 16:16:47 -07:00
App.tsx feat: Add GEMINI.md tip to UI 2025-05-24 12:40:06 -07:00
colors.ts UI Polish for theme selector (#294) 2025-05-08 16:00:55 -07:00
constants.ts Code review comment fixes and some refactors. (#525) 2025-05-24 00:44:17 -07:00
types.ts Make console message support more robust to logging in the middle of rendering. (#521) 2025-05-23 22:51:47 -07:00