httptoolkit icon indicating copy to clipboard operation
httptoolkit copied to clipboard

No indicator that the request was mocked

Open egi-gjevori opened this issue 4 years ago • 4 comments

Great tool, awesome UI.

My issue is that in case a request was mocked it does not have an indicator just to differ from the other requests. Would be great if the mocked requests had a highlight on them.


Does this affect you too? Click the +:smiley: icon in the top right and add a :+1: on issues to help decide where HTTP Toolkit goes next, or go take a look & vote on the most popular ideas so far.

egi-gjevori avatar Sep 15 '21 09:09 egi-gjevori

Good idea! This data (the id of the rule which handled each request) is actually available internally in the UI for every item already, it's just not shown, so this is easy in theory. Just a matter of working out how to show this.

Any ideas how you'd like this info to appear?

pimterry avatar Sep 15 '21 13:09 pimterry

One way would be changing the background of the row to a different color. This way it becomes really clear that the request has been mocked.

egi-gjevori avatar Sep 15 '21 14:09 egi-gjevori

Or we can use Get (M) M meaning Mocked which should show "Mocked" on hover?

shirshak55 avatar Jan 04 '22 07:01 shirshak55

I agree with @shirshak55: Create an extra column in the table with an indicator.

image

roschaefer avatar Mar 18 '22 14:03 roschaefer

This is now live! Enjoy:

image

Screenshot from 2023-02-22 18-56-03

pimterry avatar Feb 22 '23 18:02 pimterry