Skip to content

Conversation

@mrubens
Copy link
Collaborator

@mrubens mrubens commented Sep 25, 2025

Screenshot 2025-09-25 at 11 12 16 AM

Important

Adds Roo provider to welcome screen with feature flag control and telemetry tracking, updating translations for multiple languages.

  • Behavior:
    • Adds Roo provider to WelcomeView.tsx if roo-provider-featured feature flag is set to "test".
    • Tracks clicks on Roo provider using FEATURED_PROVIDER_CLICKED telemetry event.
  • Telemetry:
    • Adds FEATURED_PROVIDER_CLICKED to TelemetryEventName in telemetry.ts.
    • Updates rooCodeTelemetryEventSchema to include FEATURED_PROVIDER_CLICKED.
  • Localization:
    • Updates welcome.json in multiple locales to include Roo provider description and incentive.

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

@mrubens mrubens requested review from cte and jr as code owners September 25, 2025 18:37
@dosubot dosubot bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Sep 25, 2025
@hannesrudolph
Copy link
Collaborator

Where screenshots? :P

@dosubot dosubot bot added the UI/UX UI/UX related or focused label Sep 25, 2025
@mrubens
Copy link
Collaborator Author

mrubens commented Sep 25, 2025

Where screenshots? :P

Added

@hannesrudolph hannesrudolph added the Issue/PR - Triage New issue. Needs quick review to confirm validity and assign labels. label Sep 25, 2025
Copy link
Contributor

@roomote roomote bot left a comment

Choose a reason for hiding this comment

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

I found some issues that need attention. See inline comments for details.

// Check PostHog feature flag for Roo provider
useEffect(() => {
posthog.onFeatureFlags(function () {
setShowRooProvider(posthog?.getFeatureFlag("roo-provider-featured") === "test")
Copy link
Contributor

Choose a reason for hiding this comment

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

[P2] onFeatureFlags only updates after PostHog loads and this checks specifically for the 'test' variant. Initialize immediately and support boolean/variant values (true|'test'|'enabled'); run an initial check and then subscribe to updates.

href={provider.authUrl}
className="flex-1 border border-vscode-panel-border hover:bg-secondary rounded-md py-3 px-4 mb-2 flex flex-row gap-3 cursor-pointer transition-all no-underline text-inherit"
className="relative flex-1 border border-vscode-panel-border hover:bg-secondary rounded-md py-3 px-4 mb-2 flex flex-row gap-3 cursor-pointer transition-all no-underline text-inherit"
target="_blank"
Copy link
Contributor

Choose a reason for hiding this comment

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

[P3] Roo card uses target="_blank" even when href is '#'. Middle-click/keyboard open can create a dead tab despite preventDefault. Omit target for Roo or render as a button to avoid stray tabs.

@mrubens mrubens merged commit 8485548 into main Sep 25, 2025
8 of 9 checks passed
@mrubens mrubens deleted the roo_provider_on_welcome branch September 25, 2025 20:13
@github-project-automation github-project-automation bot moved this from New to Done in Roo Code Roadmap Sep 25, 2025
@github-project-automation github-project-automation bot moved this from Triage to Done in Roo Code Roadmap Sep 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Issue/PR - Triage New issue. Needs quick review to confirm validity and assign labels. size:M This PR changes 30-99 lines, ignoring generated files. UI/UX UI/UX related or focused

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants