Skip to content

Onboarding: require at least one competitor before finishing the competitors step #377

Closed

Description

@gkhngyk

Problem

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.

Current behavior

web/src/app/[locale]/(onboarding)/dashboard/onboarding/page.tsx

  • The step button is only disabled while saving:
    <Button className="w-full" onClick={handleFinish} disabled={savingCompetitors}>
  • 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

  1. added
    enhancement
    on Jul 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions