Settings UI does not indicate invalid input
Created by: beyang
- Sourcegraph version: As of 2f49dbb15d5baf3a15c12765dab89330cf157a64
Steps to reproduce:
- Go to user settings
- Change the value of the config JSON to be invalid. E.g,. something like "{}}"
- Hit "Save Changes"
Expected behavior:
An error appears informing the user that the format is invalid.
Actual behavior:
You see the "Saving..." loading indicator, which indefinitely hangs. The contents of the editor silently revert back to what was previously saved in the backend.