Closed Bug 1770932 Opened 3 years ago Closed 7 months ago

Show profile details in the network throttling menu items

Categories

(DevTools :: Netmonitor, enhancement, P3)

enhancement

Tracking

(firefox136 fixed)

RESOLVED FIXED
136 Branch
Tracking Status
firefox136 --- fixed

People

(Reporter: jdescottes, Assigned: jdescottes)

References

(Blocks 1 open bug)

Details

Attachments

(5 files)

In Bug 1770882 we are adding a title to the Menu button which gives details about the selected profile.

We could also surface a less verbose version in the menu items themselves.

Attached image proposal_4_no_icon.png

Note that for the version with icons, I think we can also simply omit the icon for the latency. Users will probably be able to guess that it's latency, and this will still be explicitly written in the tooltip of the selected profile.

Thank you for the patch, Julian!

I like the last screenshot (comment #4)

Some comments/ideas:

  1. What about using a tab \t between the profile name and details, so the details are rendered as a column. Something like:
GPRS        (50Kbps, 20Kbps, 500ms)
Regular 2G  (250Kbps, 50Kbps, 300ms)
Good 2G     (450Kbps, 150Kbps, 150ms)
...

Not sure how feasible this would be, we'd likely need to calculate the label manually (impact on localization) and the font might be an isssue (using spaces instead of \t). So, this is questinable.

  1. What about adding one more Learn More (or Help menu item (+ separator) at the end. It could point to our docs? It would have to be one of the two pages depending on whether the menu is opened in Network monitor or RDM. But, this would allow the user to easily learn about the numbers.

https://firefox-source-docs.mozilla.org/devtools-user/responsive_design_mode/index.html#network-throttling
https://firefox-source-docs.mozilla.org/devtools-user/network_monitor/throttling/index.html

  1. Every context menu item could have a tooltip with more details, e.g. those which are in the first screenshot (comment #1)

Thanks for the feedback, re 3) I agree, it would be great to have a tooltip for each context menu item, but I could not make it work, even when setting the "tooltiptext" attribute correctly on each item. Might need more investigation.

I like the screenshot on Comment 4 as well. Doesn't feel as congested as the others.

What i felt might be confusing was knowing which was download or upload,
but i think in most places download is mostly first before upload,so that should be ok.

Duplicate of this bug: 1939669
Assignee: nobody → jdescottes
Status: NEW → ASSIGNED
Pushed by jdescottes@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/11009038ca28 [devtools] Show profile details in the network throttling menu items r=devtools-reviewers,nchevobbe
Status: ASSIGNED → RESOLVED
Closed: 7 months ago
Resolution: --- → FIXED
Target Milestone: --- → 136 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: