james icon indicating copy to clipboard operation
james copied to clipboard

Inspect multiple requests

Open ddneat opened this issue 10 years ago • 3 comments

Currently James only supports inspection of a single request. I would like to propose the support of inspecting multiple requests. It may look like the following draft:

james-request

Perhaps the inspection should be a particular section rather than an overlay. I'm looking forward to your feedback.

related issues: https://github.com/james-proxy/james/issues/62 https://github.com/james-proxy/james/issues/73 https://github.com/james-proxy/james/issues/44

ddneat avatar Jan 28 '16 19:01 ddneat

Makes sense to me

nerdbeere avatar Jan 28 '16 22:01 nerdbeere

As a completely unfamiliar person to this project, I was a bit unsure why the hostname was shown as the title in the header (in current master state). Having just the hostname isn't that much information (especially if 90% of your requests are on the same host, if not all).

Furthermore, if you're inspecting multiple requests, you can't really tell which one is which - especially based on @davidneat's mockup.

Two alternative suggestions:

  1. Show the filename (StandardMediaPlayerChromelessFlash.swf) in the header, using tabs
  2. Show the full address, but use a dropdown instead of tabs

First option might be problematic if the filename is long (such as the given swf example) or it might not just make sense, in the case of an API call such as /api/foo/1/bar. Second option might be a bit lengthy (perhaps add ellipsis mid-way to shorten), but it would also cut down on space used in the details section.

[edit] Further thought... initial mockup could work as-is if you use tooltips? Just depends on the user remembering which tab was which. If you're using keyboard shortcuts (ctrl+tab) and allow tab reordering, the user might not even be looking at the tab title anyway. The title still feels like a bit of a missed opportunity to me if it's only the hostname, though.

tomitm avatar Feb 01 '16 03:02 tomitm

@tomitm thanks for your great feedback! I totally agree, that just using the host is a lost opportunity. Both your suggestions seem reasonable. Using a proper dropdown might safe us from layout related difficulties and might be the best choice...

I guess this issue is also related to #122

ddneat avatar Feb 22 '16 08:02 ddneat