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 response section #69

Closed
Monirzadeh opened this issue Aug 14, 2024 · 2 comments
Closed

improve response section #69

Monirzadeh opened this issue Aug 14, 2024 · 2 comments

Comments

@Monirzadeh
Copy link
Contributor

Is your feature request related to a problem? Please describe.
currently chapar simply show json response but it can improve. two improvement can make it better

  1. add syntax highlight for json response
  2. currently for copy you can click copy button (copy all the response) or select text with mouse but when you try to select part of response you cant select more than one line. please make it possible to select more that one line
@mirzakhany
Copy link
Collaborator

Hi, @Monirzadeh
This is a known issue and one of the things I have planned to solve.
Json viewer is in fact a list that render each line using a label widget, reason being the limitation of text widget when rendering large texts with can cause app to crash.

current solution has it own limitation but at least can show the result.
Possible fix is to build a widget that supports only rendering the visible part of the text.

@mirzakhany
Copy link
Collaborator

It's addressed in #100 and will be available in next release.

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

2 participants