Skip to content

Conversation

@Githubguy132010
Copy link
Contributor

@Githubguy132010 Githubguy132010 commented May 13, 2025

Enhance user experience by preventing trimming of input values in ChatTextArea and PromptsView, allowing for more flexible input handling. Add jest-mock-extended for improved testing capabilities.


Important

Refactor input handling in ChatTextArea and PromptsView to prevent trimming, and enhance testing with jest-mock-extended.

  • Behavior:
    • Prevents trimming of input values in ChatTextArea and PromptsView to allow more flexible input handling.
    • Updates writeToFileTool.ts to handle missing parameters more gracefully and removes redundant checks.
  • Testing:
    • Adds jest-mock-extended to package.json for improved testing capabilities.
    • Introduces comprehensive tests in writeToFileTool.test.ts to cover various scenarios including file writing and error handling.
  • Misc:
    • Minor whitespace adjustment in ChatTextArea.tsx.

This description was created by Ellipsis for 31374f7. You can customize this summary. It will automatically update as commits are pushed.

Githubguy132010 and others added 8 commits May 8, 2025 16:29
- In ChatTextArea, modified input handling to prevent trimming of values when setting state, ensuring that user input is preserved.
- Updated PromptsView to avoid trimming role definitions and custom instructions when updating modes, allowing for more flexible input handling.
- Adjusted AutosizeTextarea to ensure that the trigger for resizing is set without trimming the value, improving user experience when interacting with the text area.
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
@changeset-bot
Copy link

changeset-bot bot commented May 13, 2025

⚠️ No Changeset found

Latest commit: 31374f7

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. enhancement New feature or request labels May 13, 2025
@github-project-automation github-project-automation bot moved this from New to Done in Roo Code Roadmap May 13, 2025
SmartManoj pushed a commit to SmartManoj/Raa-Code that referenced this pull request Jun 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request size:L This PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant