You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently if the AJAX request fails when adding a new comment there is no success or error message so the user has no confirmation.
Success message is not required as the user can see the comment on the screen if it succeeds but the user will not be aware if the comment fails, currently it simply logs to the console but we should render a message on the users screen.
There is some validation for comments that are too short (to prevent empty comments being added), so when this validation fails the user should also be shown a message.
Currently if the AJAX request fails when adding a new comment there is no success or error message so the user has no confirmation.
Success message is not required as the user can see the comment on the screen if it succeeds but the user will not be aware if the comment fails, currently it simply logs to the console but we should render a message on the users screen.
There is some validation for comments that are too short (to prevent empty comments being added), so when this validation fails the user should also be shown a message.
See
src/components/comment/NewComment.tsx
:The text was updated successfully, but these errors were encountered: