ctrixcode / ctrixcode/Ctrix-Chat-App

Enhancement: Add Toast Notifications for Login and Signup Actions

Open
#36 5 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
5
Forks
15
PR merge metrics
No merged PRs in 30d

Description

HI @ctrixcode Currently, after a user logs in or signs up, there is no immediate visual feedback confirming the action’s success or failure. Adding toast notifications will improve the user experience by providing clear, real-time confirmation messages.

Expected Behavior

When a user successfully logs in, display a success toast such as:
“Login successful! Welcome back 👋”

When a login attempt fails, display an error toast such as:
“Invalid credentials. Please try again.”

When a user successfully signs up, display a success toast such as:
“Account created successfully! Please log in to continue.”

If signup fails (e.g., user already exists or invalid input), display an error toast message

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.