Skip to content

Team Lead first-run onboarding UX polish #259

@ChesterSchendel

Description

@ChesterSchendel

Found during the 2026-05-29 prod end-to-end test. The invite → accept → tier-flip pipeline works on prod; these are UX/copy refinements on top of it.

Items

  1. Post-accept landing page. A newly invited Team Lead lands on the Home page, not the Dashboard. Should route to /dashboard (or /dashboard/team) after accepting + signing in. Governed by the after-sign-in redirect (NEXT_PUBLIC_CLERK_AFTER_SIGN_IN_URL / invite-accept target). Related to existing task Add hyperlinks throughout blog posts #8.

  2. "Welcome back." shown to first-time users. src/app/dashboard/page.tsx line 495: {firstName ? \Hi, ${firstName}.` : "Welcome back."}`. Two stacked problems:

    • The fallback copy "Welcome back." is a returning-user phrase — wrong for a first-timer.
    • Root cause of the fallback firing: the Team Lead's first/last name entered in the /admin/clients provisioning form does NOT propagate to their Clerk user profile (Clerk org invitations don't auto-populate the accepting user's name). So firstName is null. Fix: apply the collected name to the user on provisioning/acceptance, AND fix the fallback copy for genuinely-nameless first visits.
  3. Transient blank "Clerk" modal (~2s) during invite acceptance. A blank screen with an empty "Clerk" modal flashes for ~2 seconds during the handoff. Confusing. Soften with a branded loading/interstitial state if possible.

  4. "Set up your team" banner appearing white/late. The banner is coded green (TeamSetupBanner.tsx, bg-ladder-green) and the yesterday's flash-prevention gating (server-computed needsTeamSetup, gated on the dashboard fetch) is present in deployed code. Reporter saw it "white." NEEDS REPRO: determine whether it briefly flashes white→green (a pop-in / layout shift as dashboard data loads) vs. stays persistently white (a regression). Capture a screen recording.

Related

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions