Skip to content

Mobile copy & empty-state cleanup: desktop "on the left" copy, broken-image placeholders, profile empty states, sign-out destination, industries error state, "1 months ago" #387

Closed

Description

@thinkclay

Environment: local web at 375×812 (mobile viewport). pnpm supa start, pnpm env-local pnpm exec supabase --workdir packages functions serve api (see the supabase-CLI-pin issue), pnpm web. Worker login: [email protected] / password123. Employer login: [email protected] / password123 (org unicorn).

Found during the 2026-07-16 mobile smoke test.

Bundle of small, related fixes:

  1. Desktop copy on mobile: Profile → Certifications says "Search and add certifications on the left" (twice: packages/scf-core/features/profile/profile-certifications-right.tsx, also check profile-skills-right.tsx). Mobile stacks vertically — rewrite copy (or gate per layout).
  2. Broken feed images: community/dashboard posts render missing images as huge empty gray blocks (~40% of viewport). Add onError fallback: hide the image or show a compact placeholder.
  3. Profile section empty states: "Soft Skills Analysis" card is a bare heading + Edit button (no empty state); sections show "Edit" when empty where sibling sections show "Add X" + explainer — make them consistent.
  4. Work Authorization negatives: unset fields render as asserted negatives ("✗ US Resident") — show "Not provided" styling instead of red ✗ for merely-missing data.
  5. Sign-out destination: signing out lands on the 3-slide marketing carousel + cookie banner; returning users should land on the login screen.
  6. Pluralization: job cards show "1 months ago" — fix the relative-date helper (grep "months ago"; e.g. packages/scf-core/components/jobs/JobCard.tsx).
  7. Industries load failure: the Complete Your Profile gate shows "No industries available" with no error/retry when the reference API call fails (observed when edge functions were down). Distinguish "failed to load (retry)" from "empty".

Acceptance: each item verified at 375×812 with the seeded logins.

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

    UXagent-readymobilepriority: medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions