Skip to content

Fix/profile input validation#23

Open
adi-codeartist001 wants to merge 2 commits into
indresh404:mainfrom
adi-codeartist001:fix/profile-input-validation
Open

Fix/profile input validation#23
adi-codeartist001 wants to merge 2 commits into
indresh404:mainfrom
adi-codeartist001:fix/profile-input-validation

Conversation

@adi-codeartist001
Copy link
Copy Markdown

Fixes #17

Adds frontend validation for social link inputs before saving to Firestore.

Changes made:

  • src/pages/Profile.jsx — added regex validation for LinkedIn URL, Instagram username, and Discord username before API call
  • Shows inline toast error if invalid input is entered
  • Prevents Firestore update if validation fails

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • Enhancement (non-breaking change which adds functionality)

@vercel
Copy link
Copy Markdown

vercel Bot commented May 26, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
ranker-hub Ready Ready Preview, Comment May 26, 2026 6:16am

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.

Enchance validation section of profile

1 participant