Skip to content

Improve Add Friend validation and error handling#51

Open
itsjayeshk wants to merge 1 commit into
0rigin-c0de:mainfrom
itsjayeshk:fix-add-friend-validation
Open

Improve Add Friend validation and error handling#51
itsjayeshk wants to merge 1 commit into
0rigin-c0de:mainfrom
itsjayeshk:fix-add-friend-validation

Conversation

@itsjayeshk
Copy link
Copy Markdown

Description

Improved the Add Friend flow by adding proper frontend and backend validation along with better error handling.

Changes Made

  • Added frontend validation for malformed inputs
  • Prevented whitespace-only submissions
  • Added loading state during submission
  • Improved API/network error handling
  • Added backend defensive validation
  • Returned proper 400 responses for invalid requests

Related Issue

Fixes #49

@itsjayeshk itsjayeshk requested a review from 0rigin-c0de as a code owner May 13, 2026 19:58
@netlify
Copy link
Copy Markdown

netlify Bot commented May 13, 2026

👷 Deploy request for piperchat01 pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 9beabfc

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.

[Docs]: Improve Add Friend validation and error handling

2 participants