httptoolkit / httptoolkit-ui

The UI of HTTP Toolkit
https://httptoolkit.com
GNU Affero General Public License v3.0
292 stars 108 forks source link

Add Duration/Size columns to the header of view-event list. #55

Open Haoxiqiang opened 2 years ago

Haoxiqiang commented 2 years ago
image

The request list shows the duration/size may be more intuitive for analysis.

CLAassistant commented 2 years ago

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Haoxiqiang commented 2 years ago

ok, I'll do it later.

Haoxiqiang commented 2 years ago

Refactored the code.

Most of the time, the space is actually enough, even if it is not enough, the path part can be compressed. A button on the right side of this may not be pretty, I'll think about how to do it.

pimterry commented 2 years ago

Great, thanks for refactoring that :+1:.

A button on the right side of this may not be pretty, I'll think about how to do it.

To be clear, I'm imagining something like this:

Screenshot from 2022-09-28 15-43-28

When clicking those dots, it can just open a little menu beneath with checkboxes, something like:

Show extra columns:

[ ] Duration
[ ] Response body size

I'm sure you're right that on a normal screen it fits fine in most cases, but there's definitely lots of users with much smaller screens, and at 1024x768 it's already all pretty squeezed!