-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Show the Roo provider on the welcome screen #8317
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
|
Where screenshots? :P |
Added |
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.
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") |
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.
[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" |
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.
[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.
Important
Adds Roo provider to welcome screen with feature flag control and telemetry tracking, updating translations for multiple languages.
WelcomeView.tsxifroo-provider-featuredfeature flag is set to "test".FEATURED_PROVIDER_CLICKEDtelemetry event.FEATURED_PROVIDER_CLICKEDtoTelemetryEventNameintelemetry.ts.rooCodeTelemetryEventSchemato includeFEATURED_PROVIDER_CLICKED.welcome.jsonin multiple locales to include Roo provider description and incentive.This description was created by
for 376c8f1. You can customize this summary. It will automatically update as commits are pushed.