Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Input validation and error messages #43

Open
mplaine opened this issue May 3, 2022 · 0 comments
Open

Input validation and error messages #43

mplaine opened this issue May 3, 2022 · 0 comments

Comments

@mplaine
Copy link
Collaborator

mplaine commented May 3, 2022

Problem 1: Currently, input image dimensions are only validated on the server side.
Solution 1: Validate input image dimensions also on the client side. For example, see https://makitweb.com/how-to-validate-image-width-and-height-before-upload-using-javascript/

Problem 2: In addition, error details sent as a response from the server are NOT shown to the user in the user interface, but only on the console.
Solution 2: Show error details also to the user in the user interface as part of the generic error message.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant