ae-andre / insights-bench

An online community of conversation, built with the MERN stack, that will allow those with personal, financial or career-related problems to talk them through with others, in either a private or a public channel.
MIT License
0 stars 3 forks source link

Moretoasts #88

Closed kwubbenhorst closed 7 months ago

kwubbenhorst commented 7 months ago

Five more toasts -- too many carbs but hey...

These ones more gracefully handle --an invalid login on the login page (big red box saying "User cannot be authenticated" was harshing my mellow) --an input of a username that is not unique on the listenerSignup --an input of a password that is too short on the listenerSignup --an input of a username that is not unique on the sharerSignup --an input of a password that is too short on the sharerSignup

Time they are displayed is 2 seconds, but we might consider displaying them longer. Once toast is cold it is swept off the table.

tchan128 commented 7 months ago

@kwubbenhorst Do you think you can add a toast for the private conversation form as well? We were testing and found that when user submits over 500 character for the more detail box, it deosn't submit it but there's no indication for what's wrong. Would be neat to add that 0/500 span there too!! Super neat toasts and functionality.