Add an onboarding banner for the Agent panel (#30050)

This PR adds an onboarding banner for the Agent panel:

<img width="262" alt="Screenshot 2025-05-06 at 6 54 58 PM"
src="https://github.com/user-attachments/assets/52849e64-7d5d-488c-8456-4d7bd97f8ebd"
/>

Release Notes:

- N/A
This commit is contained in:
Marshall Bowers 2025-05-06 19:41:04 -04:00 committed by GitHub
parent 0db8668404
commit 300da3b718
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 176 additions and 6 deletions

View file

@ -316,11 +316,11 @@ impl TitleBar {
let banner = cx.new(|cx| {
OnboardingBanner::new(
"Git Onboarding",
IconName::GitBranchSmall,
"Git Support",
"Agentic Onboarding",
IconName::ZedAssistant,
"Agentic Editing",
None,
zed_actions::OpenGitIntegrationOnboarding.boxed_clone(),
zed_actions::agent::OpenOnboardingModal.boxed_clone(),
cx,
)
});