feat(desktop): clarify active state in create-workspace source selector#676
Conversation
Replace the low-contrast Tabs strip for Git Repo / Local Directory / Image with a ToggleGroup segmented control. Each option shows an icon, label, and hint, and the active option is unmistakable via primary color, tint, and border. Panels render conditionally on the selected source type. Addresses the source-selector portion of #671.
✅ Deploy Preview for images-devsy-sh canceled.
|
✅ Deploy Preview for devsydev canceled.
|
|
Warning Review limit reached
Next review available in: 1 minute Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (3)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
The source selector no longer uses Tabs, so role="tabpanel" is gone. Tag each source panel with data-testid="source-panel" and update the e2e template-selection locators to match.
Summary
The create-workspace wizard used a
Tabsstrip to switch between Git Repo, Local Directory, and Image, but its active state was too low-contrast to read at a glance (reported in #671).ToggleGroupsegmented control (the shadcn-svelte component added in feat(desktop): add shadcn-svelte config and Toggle/ToggleGroup components #674).Tabs.Content, so the selector and its panels use one component system.Depends on #674 (already merged).
Addresses the source-selector portion of #671.