krishnaacharyaa / wanderlust

WanderLust is a MERN travel blog website 🚀 This project is aimed to help people to contribute in open source, upskill in react and master git.
https://wanderlust-beta.vercel.app/
MIT License
175 stars 839 forks source link

enhance-#301: Now Error messages are displaying below input field as message error instead of toast error. #302

Closed 0xmohitsen closed 1 month ago

0xmohitsen commented 1 month ago

Summary

This PR aims to achieve the #301 proposed enhancement for better user experience.

Description

This PR basically made correction in both frontend and backend.

Backend :-

  1. Changed in /signup handler
  2. Added some constant user response messages

Frontend :-

  1. Added setError method to display the error message below the input fields instead of toast error in both signin and signup page.
  2. Removed unnecessary validation from types.ts file in signup schema for confirmPassword.

Issue(s) Addressed

Closes : #301

Prerequisites

vercel[bot] commented 1 month ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
wanderlust ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 19, 2024 2:35pm
wanderlust-backend ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 19, 2024 2:35pm