Skip to content

feat: prompt user to fill in profile details before adding a company#5

Open
neversettle17-101 wants to merge 1 commit into
masterfrom
feat/issue-3
Open

feat: prompt user to fill in profile details before adding a company#5
neversettle17-101 wants to merge 1 commit into
masterfrom
feat/issue-3

Conversation

@neversettle17-101

Copy link
Copy Markdown
Owner

Summary

  • Adds a UserDetailsModal that appears when the user first focuses the company name input and their profile is missing name or email
  • The modal lets them fill in all profile fields (name, email, title, location, previous company, university) and save inline without navigating away
  • Once saved (or skipped), the modal won't show again for the session — tracked via a useRef flag

Behaviour

  1. User visits the home page and clicks on the company name input
  2. If name or email is not set in their profile, a modal slides in prompting them to fill in their details
  3. They can save and continue, or skip for now
  4. The workflow then proceeds as normal

Closes #3

Test plan

  • Start with a fresh/empty profile — focus the company input, confirm modal appears
  • Fill in name + email and click "Save & continue" — confirm data is saved and modal closes
  • Click "Skip for now" — confirm modal closes and doesn't reappear on re-focus
  • If profile already has name + email, confirm modal does NOT appear on focus
  • Confirm all existing outreach functionality is unaffected

🤖 Generated with Claude Code

When a user focuses the company name input for the first time and their
profile is missing name or email, a modal prompts them to fill in their
details. Closes #3

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.

Prompt the user to input user details

1 participant