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

Improve UX of JSON Formatting UI #197

Open
nojomyth-dev opened this issue Jul 3, 2024 · 0 comments
Open

Improve UX of JSON Formatting UI #197

nojomyth-dev opened this issue Jul 3, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@nojomyth-dev
Copy link
Contributor

nojomyth-dev commented Jul 3, 2024

Is your feature request related to a problem? Please describe.

The UX of the current JSON formatting is mediocre at best. It is not possible to enter anything after the json, nor does it format once an error is in the JSON. The auto formatting should be smoother to the user.

Describe the solution you'd like
Make the auto formatting for json more smooth. It should allow to enter errors while marking where the exact error in the JSON is. Furthermore, it should not move too much text around on error and place the cursor correctly / ideally at the next valid spot of the json (when typing ", it should autocomplete the other " and then place the cursor inside the apostrophes).
Have it autocomplete brackets too (maybe). And add something to automatically fix unquoted strings.
Add a minify feature.
Add an escape feature for easier copy and further usage.

Describe alternatives you've considered
None, really.

Additional context
https://jsonformatter.com/
Try this UX first and then adapt similar process.

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

No branches or pull requests

1 participant