bruno icon indicating copy to clipboard operation
bruno copied to clipboard

UX: Visualize if request body is provided

Open matrixik opened this issue 1 year ago • 2 comments

I have checked the following:

  • [X] I've searched existing issues and found nothing related to my issue.

Describe the feature you want to add

I would like to have some indicator that request body is filled in request. Now Params and Headers have counter if they are added, but Body have no indication at all that it's filled. Even simple dot would be nice.

Mockups or Images of the feature

image image

matrixik avatar Aug 05 '24 08:08 matrixik

Confirm. I think it needed for 'Scripts' tab too, if any symbol inside scripts field is exist. Sometimes you need to check a lot of requests and you don’t want to waste time going into the scripts and body tabs.

In my cases some requests define body inside scripts, some inside body tab.

SPIRIT-00 avatar Aug 06 '24 10:08 SPIRIT-00

I also like that idea. I've just played around with it a bit and I think this unicode character (●) would do the job quite well

Screenshot 2024-08-11 at 16 29 37

I'll try to create a PR for the issue to try it out 😄

Given that assertions also already have their count visualised, I'll also add the dot to the tests header.

N-Ziermann avatar Aug 11 '24 14:08 N-Ziermann

@N-Ziermann thank you for implementing it.

matrixik avatar Aug 19 '24 14:08 matrixik