Skip to content

Recover referral invite form after send failures#214

Open
morganschp wants to merge 2 commits into
profullstack:masterfrom
morganschp:fix-referral-invite-failure-state
Open

Recover referral invite form after send failures#214
morganschp wants to merge 2 commits into
profullstack:masterfrom
morganschp:fix-referral-invite-failure-state

Conversation

@morganschp
Copy link
Copy Markdown

@morganschp morganschp commented May 21, 2026

Summary

  • recover the referral invite form after network failures or non-JSON error responses
  • add Clipboard API fallback copying for the referral link button
  • show a manual-copy error when both clipboard paths fail
  • add component regression coverage for send failures and copy fallback/failure paths

Fixes #131
Fixes #129

Validation

  • ./node_modules/.bin/vitest run src/app/dashboard/referrals/page.test.tsx
  • ./node_modules/.bin/eslint src/app/dashboard/referrals/page.tsx src/app/dashboard/referrals/page.test.tsx
  • ./node_modules/.bin/prettier --check src/app/dashboard/referrals/page.tsx src/app/dashboard/referrals/page.test.tsx
  • ./node_modules/.bin/tsc --noEmit --pretty false
  • git diff --check -- src/app/dashboard/referrals/page.tsx src/app/dashboard/referrals/page.test.tsx

uGig gig: https://ugig.net/gig/cmexbmp260001ju04n3qmkdko

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: invite form stays stuck when referral invite request fails bug: invite referral copy button fails when clipboard API is blocked

1 participant