-
Notifications
You must be signed in to change notification settings - Fork 2.8k
feat: Add cloud task button for opening tasks in Roo Code Cloud #7572
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
- Added CloudTaskButton component with QR code generation - Integrated button into TaskActions component - Button is gated by extensionBridgeEnabled flag - Added translation keys for new UI elements - Uses qrcode library for QR code generation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewing my own code is like debugging in production - technically possible but morally questionable.
|
@roomote-agent look through the PR comments (and my responses) and implement feedback when appropriate. |
|
I've reviewed the PR comments and feedback. I'll implement the following changes based on @brunobergher's responses:
Working on these changes now... |
- Replace hardcoded URL with constant matching getRooCodeApiUrl from cloud package - Add aria-label to cloud task button for better accessibility - Add aria-label to QR code canvas for screen readers - Create comprehensive test suite with 12 passing tests - Fix TypeScript error for QRCode callback parameter
|
I've successfully implemented all the requested changes based on the PR feedback: ✅ Changes Implemented
📊 Test ResultsAll 12 tests are passing successfully: The CI checks are currently running and should pass shortly. |
Summary
This PR adds a new CloudTaskButton component that allows users to open tasks in Roo Code Cloud when the extension bridge is enabled.
Changes
userInfo?.extensionBridgeEnabledconditionImplementation Details
https://app.roocode.com/task/{taskId}Testing
Screenshots
The button appears in the task actions bar when enabled and opens a dialog with the cloud URL and QR code.
Related
Requested via Slack mention
Important
Adds
CloudTaskButtonto open tasks in Roo Code Cloud with QR code, integrated intoTaskActions, with conditional visibility and comprehensive tests.CloudTaskButtoncomponent inCloudTaskButton.tsxto open tasks in Roo Code Cloud with QR code generation.CloudTaskButtonintoTaskActions.tsxafterShareButton.userInfo?.extensionBridgeEnabled.qrcodelibrary topackage.jsonfor QR code generation.CloudTaskButton.spec.tsxwith 8 tests covering rendering, dialog interaction, and QR code generation.This description was created by
for 5123a26. You can customize this summary. It will automatically update as commits are pushed.