You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Onboarding: require at least one competitor before finishing the competitors step #377
On the onboarding wizard, the Competitors step (step 5) does not require the user to add any competitor. When no competitor is selected, the primary button reads "Skip & start tracking" and lets the user advance / finish onboarding with zero competitors.
Competitors power a core part of the product (visibility gaps, competitor citations, share-of-voice). Landing on the dashboard with none makes the first-run experience feel empty and skips a step that materially improves every downstream insight.
With no selection the label becomes Skip & start tracking and handleFinish proceeds regardless of selectedCompetitorCount.
Other steps already gate advancement on having content, e.g. Topics (selectedTopics.size === 0) and Prompts (totalPrompts === 0). The competitors step has no equivalent guard.
Expected behavior
Require at least one competitor (suggested-selected or manually added) before the competitors step can be completed.
Disable the primary button when the effective competitor count is 0, mirroring the Topics/Prompts guards.
Drop the "Skip & start tracking" affordance so the step is no longer skippable.
Notes
Count should include both selected suggested competitors and manually added ones.
Keep validation client-side (button disabled) consistent with the other steps; no need for a new server check.
Activity