Skip to content

In JSON Preview counting the content in collapsed root property is missing #8596

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

Open
1 of 4 tasks
hmundle opened this issue Apr 9, 2025 · 0 comments
Open
1 of 4 tasks
Labels
B-bug Bug: general classification S-unverified Status: Unverified by maintainer

Comments

@hmundle
Copy link

hmundle commented Apr 9, 2025

Expected Behavior

This is about the JSON preview for API responses.

If you collapse a property, Insomnia shows the number of properties or array items, which are inside. This is a great feature.
Image

It is expected, that this count number shows up for the root node as well, if I collapse it.

Actual Behavior

Counting the content is not working for root node, only for the others:

Image

Reproduction Steps

  1. Do a request on API, which returns a complex JSON object
  2. Go to response Preview
  3. Collapse the root node

Actually, it is the same for JSON Bodies in the HTTP request

Is there an existing issue for this?

Which sync method do you use?

  • Git sync.
  • Insomnia Cloud sync.
  • Local only

Additional Information

No response

Insomnia Version

11.0.2

What operating system are you using?

Windows

Operating System Version

Windows 10 Enterprise 22H2

Installation method

Implicit updates

Last Known Working Insomnia version

No response

@hmundle hmundle added B-bug Bug: general classification S-unverified Status: Unverified by maintainer labels Apr 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
B-bug Bug: general classification S-unverified Status: Unverified by maintainer
Projects
None yet
Development

No branches or pull requests

1 participant