feat: Add cloud task button for opening tasks in Roo Code Cloud#7572
feat: Add cloud task button for opening tasks in Roo Code Cloud#7572
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
|
@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.