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

If AJAX request fails - provide user-friendly way to see error #522

Closed
romaninsh opened this issue Jul 6, 2018 · 0 comments · Fixed by #529
Closed

If AJAX request fails - provide user-friendly way to see error #522

romaninsh opened this issue Jul 6, 2018 · 0 comments · Fixed by #529
Assignees
Labels
bug 🪲 Clarity 🔍 Makes things easier to understand. first impression 🤓 Issue may discourage new users

Comments

@romaninsh
Copy link
Member

Sometimes AJAX request fails and it gives you this loading window forever:

2018-07-05_09-19-42-a9f965ac8eae3cc157b5ffce04793b64

I think JavaScript code should be able to pick up this problem and instead of only
showing it in the console, provide message like this:

"Server request failed. To see error click here". This can also be different (see implementation of form submission).

The link could point to the URL where request was sent.

This is mostly relevant for Modal windows. Form already have a pretty decent
error handling.

@romaninsh romaninsh added bug 🪲 first impression 🤓 Issue may discourage new users Clarity 🔍 Makes things easier to understand. labels Jul 6, 2018
ibelar added a commit that referenced this issue Jul 23, 2018
romaninsh added a commit that referenced this issue Jul 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🪲 Clarity 🔍 Makes things easier to understand. first impression 🤓 Issue may discourage new users
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants