Open Bug 1656093 Opened 4 years ago Updated 4 years ago

Header panel URL section - Improve context menu for copying URL parts

Categories

(DevTools :: Netmonitor, enhancement, P3)

enhancement

Tracking

(Not tracked)

People

(Reporter: victoria, Unassigned)

References

(Blocks 1 open bug)

Details

Related to this bug: Right-click does not work in text-based netmonitor sidepanels, here are some improvements we can make to the context menu in the Network summary panel.

• Copy —> Only shows up in context menu if text is selected. Copies only the visible selected text.

• Copy URL —> Shows up when right-clicking anywhere in the URL section, whether it's collapsed or expanded. Example copied text: https://secure.gravatar.com/avatar/ebd4587ed8defa355da479181861cc5f?d=mm&size=64

• Copy JSON —> Shows up when right-clicking anywhere in the URL section. Example copied text: {"GET":{"scheme":"https","host":"secure.gravatar.com","filename":"/avatar/ebd4587ed8defa355da479181861cc5f","query":{"d":"mm","size":"64"},"remote":{"Address":"192.0.73.2:443"}}}

• Copy All —> I don't fully understand how this is currently different from Copy JSON

• When right-clicking on one of the rows in the expanded view (Scheme, Host, Filename, $param, Address), we could show a related option called "Copy Scheme," Copy Host," etc. Alternatively, it could be nice to auto-select the row when right-clicking any of those rows, so that the regular Copy option shows up and the selection clearly shows what will be copied.

Example of "auto-select the row when right-clicking" UI - In  > About This Mac window. (Only selects the value part, but does the whole thing even when there are spaces.)

Thanks for opening Victoria.
With Bug 1523614 landing, we fixed and unified the copy/copy all behavior.
These have nice follow up suggestions to discuss.

Severity: -- → S3
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.