Skip to content

Conversation

@Juice10
Copy link
Contributor

@Juice10 Juice10 commented Jul 4, 2025

Ported from Kilo Code

Original PR: Kilo-Org/kilocode#867
Original Author: Justin Halsall

Changes Summary

This PR contains the changes from the original Kilo Code PR, adapted for the Roo Code repository. The changes include:

  • Added a 'Copy Prompt' button to TaskActions.tsx.
  • Added a new changeset file.
  • Stripped all kilocode_change comments.
  • Adapted changeset file for Roo Code.
  • Fixed linting issues in the Roo Code repository.

Important

Add 'Copy Prompt' button to TaskActions in TaskActions.tsx with clipboard functionality and feedback.

  • Feature:
    • Add 'Copy Prompt' button to TaskActions in TaskActions.tsx using useCopyToClipboard.
    • Button shows feedback icon based on showCopyFeedback state.
  • Changeset:
    • Add stale-rivers-travel.md to document the new feature.
  • Misc:
    • Remove kilocode_change comments.
    • Fix linting issues.

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

Juice10 added 2 commits July 4, 2025 11:40
Ported from Kilo Code PR: Kilo-Org/kilocode#867
Original Author: Justin Halsall

Changes:
- Added  hook and its usage in .
- Added a "Copy Prompt" button to .
- Created a new changeset file .

Stripped Kilo Code specific comments:
- Removed single-line  comments.
- Removed multi-line  blocks.

Files modified:
- webview-ui/src/components/chat/TaskActions.tsx
- .changeset/stale-rivers-travel.md
@Juice10 Juice10 requested review from cte, jr and mrubens as code owners July 4, 2025 14:20
@dosubot dosubot bot added size:S This PR changes 10-29 lines, ignoring generated files. enhancement New feature or request labels Jul 4, 2025
@hannesrudolph hannesrudolph added the Issue/PR - Triage New issue. Needs quick review to confirm validity and assign labels. label Jul 4, 2025
The button is already wrapped in a conditional that checks for item?.task, so checking !item in the disabled prop is unnecessary.
Copy link
Member

@daniel-lxs daniel-lxs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @Juice10

I made a tiny change to remove a rendundant check disabled={buttonsDisabled || !item} since it's already wrapped in a conditional that checks item?.task.

Looks good!

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Jul 4, 2025
@daniel-lxs daniel-lxs moved this from Triage to PR [Needs Review] in Roo Code Roadmap Jul 4, 2025
@hannesrudolph hannesrudolph added PR - Needs Review and removed Issue/PR - Triage New issue. Needs quick review to confirm validity and assign labels. labels Jul 4, 2025
@mrubens mrubens merged commit 7a0a6de into RooCodeInc:main Jul 4, 2025
17 checks passed
@github-project-automation github-project-automation bot moved this from New to Done in Roo Code Roadmap Jul 4, 2025
@github-project-automation github-project-automation bot moved this from PR [Needs Review] to Done in Roo Code Roadmap Jul 4, 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 lgtm This PR has been approved by a maintainer PR - Needs Review size:S This PR changes 10-29 lines, ignoring generated files.

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

4 participants