qwen-code/packages/cli/src/ui
Jacob Richman b4c16d1f56
Code review comment fixes and some refactors. (#525)
No intentional different behavior aside for tweaks suggested from the code review of #506 Refactor: Extract console message logic to custom hook

This commit refactors the console message handling from App.tsx into a new custom hook useConsoleMessages.

This change improves the testability of the console message logic and declutters the main App component.

Created useConsoleMessages.ts to encapsulate console message state and update logic.
Updated App.tsx to utilize the new useConsoleMessages hook.
Added unit tests for useConsoleMessages.ts to ensure its functionality.
I deleted and started over on LoadingIndicator.test.tsx as I spent way too much time trying to fix it before just regenerating the tests as the code was easier to write tests for from scratch and the existing tests were not that good (I added them in the previous pull request).
2025-05-24 00:44:17 -07:00
..
components Code review comment fixes and some refactors. (#525) 2025-05-24 00:44:17 -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 Code review comment fixes and some refactors. (#525) 2025-05-24 00:44:17 -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