qwen-code/packages/cli/src/ui/components
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
..
messages Reduce excessive diff separators in CLI. (#535) 2025-05-25 10:26:51 -07:00
shared Add additional readline-like keybindings. (#524) 2025-05-23 22:13:57 -07:00
AboutBox.tsx 🧹 Format 2025-05-23 16:14:37 -07:00
AutoAcceptIndicator.tsx feat: Add auto-accept indicator and toggle 2025-05-17 22:27:22 -07:00
ConsolePatcher.tsx Make console message support more robust to logging in the middle of rendering. (#521) 2025-05-23 22:51:47 -07:00
ConsoleSummaryDisplay.tsx Add additional readline-like keybindings. (#524) 2025-05-23 22:13:57 -07:00
DetailedMessagesDisplay.tsx Make console message support more robust to logging in the middle of rendering. (#521) 2025-05-23 22:51:47 -07:00
Footer.tsx Remove CLI info from footer 2025-05-23 16:14:37 -07:00
Header.tsx
Help.tsx remove outdated $ echo example from help (#463) 2025-05-21 07:52:49 -07:00
HistoryItemDisplay.tsx Code review comment fixes and some refactors. (#525) 2025-05-24 00:44:17 -07:00
InputPrompt.tsx Fix bug updating the cursor after navigating history. (#507) 2025-05-23 09:40:01 -07:00
LoadingIndicator.test.tsx Code review comment fixes and some refactors. (#525) 2025-05-24 00:44:17 -07:00
LoadingIndicator.tsx Code review comment fixes and some refactors. (#525) 2025-05-24 00:44:17 -07:00
ShellModeIndicator.tsx feat: Allow Esc to exit shell mode 2025-05-20 22:47:11 -07:00
SuggestionsDisplay.tsx
ThemeDialog.tsx Merge InputPrompt and multiline-editor and move autocomplete logic directly into InputPrompt (#453) 2025-05-20 16:50:32 -07:00
Tips.tsx feat: Add GEMINI.md tip to UI 2025-05-24 12:40:06 -07:00