jet-client-support icon indicating copy to clipboard operation
jet-client-support copied to clipboard

Json output not correctly updated with collapsed objects

Open marc-van-breemen opened this issue 1 year ago • 1 comments

Example:

I have a request that returns 2 objects (= orders). I collapse both orders:

image

Then I make a request that returns more objects, including the ones I did collapse. I then don't see the other orders:

image

The only clue are the higher line numbers shown.

What I expect to see is that:

  • The 2 orders still being collapsed and the other orders shown not collapsed.
  • OR all orders shown expanded.

marc-van-breemen avatar May 23 '24 11:05 marc-van-breemen

Thank you for reporting this issue.

Actually, JetClient reuses JSON functionality from the IntelliJ platform. This behavior is a bug within the IntelliJ platform and can be reproduced with any JSON file.

However, I will look into this and try to provide a fix in the future.

AntonShuvaev avatar May 24 '24 20:05 AntonShuvaev

I’ve updated the functionality so that all folded regions are now expanded with each response. The issue should be resolved now.

AntonShuvaev avatar Sep 16 '24 12:09 AntonShuvaev