Innovateninjas / Paws-frontend

A fast responsive webapp that allows you to report injured stray animals to the nearest NGOs.
https://pawss.vercel.app
GNU General Public License v3.0
60 stars 99 forks source link

Updated the UI for edit/save functionality for user details/info when displaying #286

Closed dev-rsiva closed 3 months ago

dev-rsiva commented 4 months ago

Description

I updated the complete UI with in-line editing and saving the existing/logged in user information, such as name and phone number.

  1. Validation for name is implemented by displaying an error message when the user inputs invalid information.
    1. Validation for phone numbers is implemented by displaying an error message when the user inputs invalid information.

Related Issue

Note: Sign-up/login is not working, so, i have changed the conditions/state and worked in the project. Once the changes are made, I restore the original conditions/state.

Screenshots / GIFs (if applicable)

The video of the implemented UI is attached for your reference.

[

https://github.com/Innovateninjas/Paws-frontend/assets/131841846/cbaf5d16-55a9-430a-82b3-224e46d0ba7c

](url)

Checklist:

-

Additional Notes

-

codewarnab commented 4 months ago

you can contact @anirbanmajumder0 for any query about sending request to backend updating details

codewarnab commented 4 months ago

Description

I updated the complete UI with in-line editing and saving the existing/logged in user information, such as name and phone number.

  1. Validation for name is implemented by displaying an error message when the user inputs invalid information.
  2. Validation for phone numbers is implemented by displaying an error message when the user inputs invalid information.

Related Issue

Note: Sign-up/login is not working, so, i have changed the conditions/state and worked in the project. Once the changes are made, I restore the original conditions/state.

Screenshots / GIFs (if applicable)

The video of the implemented UI is attached for your reference.

[

11.05.2024_17.29.42_REC.mp4 ](url)

Checklist:

Additional Notes

just checked registration and login is working file please check the contribution.md for setting the envs and if you are still unable to login please share what issue are your facing

codewarnab commented 3 months ago

@dev-rsiva it will be better if you create a new branch/fork and put the changes their UserProfile.jsx has changed much