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

Collapse all and expand all buttons for json responses #1530

Open
rasitayaz opened this issue Apr 27, 2024 · 3 comments
Open

Collapse all and expand all buttons for json responses #1530

rasitayaz opened this issue Apr 27, 2024 · 3 comments
Labels
feature request New feature or request

Comments

@rasitayaz
Copy link

Please describe feature/problem details and the solution you'd like.
I believe collapse/expand all button(s) next to "copy" at the top right corner for collapsing the entire object with a single click would be a useful feature, just like the ones in Firefox:

resim

Describe alternatives you've considered
None

Are you using the free version/paid version/trial:
Free version

@rasitayaz rasitayaz added the feature request New feature or request label Apr 27, 2024
@rangav
Copy link
Collaborator

rangav commented Apr 30, 2024

@rasitayaz the feature is already exisits, currently not planing to add any new buttons

Screenshot 2024-04-30 at 04 26 51

@rangav rangav closed this as completed Apr 30, 2024
@rangav rangav closed this as not planned Won't fix, can't repro, duplicate, stale Apr 30, 2024
@rasitayaz
Copy link
Author

rasitayaz commented Apr 30, 2024

I believe I couldn't explain myself, I'm talking about "collapse all" and "expand all" buttons. the arrows next to objects only collapse/expand the object/array next to it.

image
  • And if you press "collapse all", all the children of the parent object/array get collapsed;
image
  • After that, if you expand one of them using the arrow next to it, its children will still be collapsed because "collapse all" and "expand all" work recursively;
image

Buttons don't necessarily need to be next to "copy", they can also be in this context menu;

image

@rangav
Copy link
Collaborator

rangav commented Apr 30, 2024

Got it, thanks for the feedback, will review it.

@rangav rangav reopened this Apr 30, 2024
@rasitayaz rasitayaz changed the title Simple collapse/expand all button for json responses Simple collapse all and expand all button for json responses Apr 30, 2024
@rasitayaz rasitayaz changed the title Simple collapse all and expand all button for json responses Collapse all and expand all button for json responses Apr 30, 2024
@rasitayaz rasitayaz changed the title Collapse all and expand all button for json responses Collapse all and expand all buttons for json responses Apr 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants