Recategorize a few items in the component preview (#35681)

Release Notes:

- N/A
This commit is contained in:
Danilo Leal 2025-08-05 20:11:43 -03:00 committed by GitHub
parent bc2108cbba
commit cc93175256
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 44 additions and 12 deletions

View file

@ -368,7 +368,15 @@ impl RenderOnce for ZedAiOnboarding {
impl Component for ZedAiOnboarding {
fn scope() -> ComponentScope {
ComponentScope::Agent
ComponentScope::Onboarding
}
fn name() -> &'static str {
"Agent Panel Banners"
}
fn sort_name() -> &'static str {
"Agent Panel Banners"
}
fn preview(_window: &mut Window, _cx: &mut App) -> Option<AnyElement> {

View file

@ -236,7 +236,7 @@ impl RenderOnce for AiUpsellCard {
impl Component for AiUpsellCard {
fn scope() -> ComponentScope {
ComponentScope::Agent
ComponentScope::Onboarding
}
fn name() -> &'static str {