ui: show no-agents banner on dashboard with link to onboarding step 2

When a company has no agents (e.g. user exited onboarding early), the
dashboard now shows an amber banner: "You have no agents. Create one
here" that opens the onboarding wizard directly at step 2 (agent
creation), skipping the company creation step.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Dotta
2026-03-03 11:37:19 -06:00
parent 1301bdd18a
commit 88149bbd29
5 changed files with 56 additions and 11 deletions

View File

@@ -186,7 +186,7 @@ function NoCompaniesStartPage() {
Get started by creating a company.
</p>
<div className="mt-4">
<Button onClick={openOnboarding}>New Company</Button>
<Button onClick={() => openOnboarding()}>New Company</Button>
</div>
</div>
<OnboardingWizard />