Closed Bug 1500354 Opened 6 years ago Closed 5 years ago

[remote-dbg-next] Add favicons for about:debugging and about:devtools-toolbox

Categories

(DevTools :: about:debugging, enhancement, P1)

enhancement

Tracking

(firefox68 fixed)

RESOLVED FIXED
Firefox 68
Tracking Status
firefox68 --- fixed

People

(Reporter: jdescottes, Assigned: jdescottes)

References

(Blocks 2 open bugs)

Details

(Whiteboard: [remote-debugging-reserve] old-remote-debugging-ng-m3)

Attachments

(5 files)

Most user facing about:pages have a favicon defined (about:preferences, about:addons). We could define a favicon for about:debugging as well to make it easier to identify in the tab list.
Attached image image.png
filter on remote-debugging-next-move-m3-to-m2
filter on remote-debugging-next-move-m3-to-m2
filter on remote-debugging-next-move-m3-to-m2
No longer blocks: remote-debugging-ng-m3
Priority: P3 → P2
Whiteboard: old-remote-debugging-ng-m3
Priority: P2 → P3

How about the wrench icon? https://design.firefox.com/icons/viewer/#developer

This is in the category of DevTools, and the wrench kind of represents debugging

Assignee: nobody → jdescottes
Status: NEW → ASSIGNED
Summary: [remote-dbg-next] Define a favicon for about:debugging → [remote-dbg-next] Add favicons for about:debugging and about:devtools-toolbox
Attached image image.png

Screenshot with:

  • wrench icon for about:debugging
  • window icon for about:devtools-toolbox (temporary)
  • custom title for about:devtools-toolbox

For the about:devtools-toolbox title the pattern is:

  • for local targets: Toolbox - {target type} / {target title}
  • for remote targets: Toolbox ({connection type}) - {target type} / {target title}
  • for error page: Toolbox - error occurred

I think it's nice to have the connection type, but for "Network" that also means you are less likely to see the target type and title. Maybe remote targets should be Toolbox - {target type} / {target title} ({connection type}) instead?

Sorry to bother you again for this :) The Wrench icon looks good for about:debugging, I'm now looking for an icon for the "tabs" we open to debug targets. I am using the "window" icon in the screenshot above, because it kind of looks like a toolbox. Do you have any suggestion? Should we create a new icon?

Flags: needinfo?(victoria)
Priority: P3 → P1
Whiteboard: old-remote-debugging-ng-m3 → [remote-debugging-reserve] old-remote-debugging-ng-m3
Blocks: 1547814
Pushed by jdescottes@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/e9e6acc1b0cc
Use wrench favicon for about:debugging r=ladybenko
https://hg.mozilla.org/integration/autoland/rev/dbb2526ae6eb
Use window favicon for about:devtools-toolbox r=ladybenko
https://hg.mozilla.org/integration/autoland/rev/6596c844c27e
Add title to about:devtools-toolbox tabs r=ladybenko
Flags: needinfo?(jdescottes)

Sorry about this!

This test should close the about:devtools-toolbox tab that is opened but instead it just calls toolbox.destroy.
Therefore we still have a tab now named "Toolbox - Worker / https://[...]" listed in the tabs.
And we are waiting until there are no targets in about:debugging that match the worker's script URL to detect that the worker has been removed. But since the about:devtools-toolbox tab is still there, and has the worker's URL in its title, it confuses our findDebugTargetByText helper.

Some tests were also waiting for "about:devtools-toolbox" to appear in the list of targets. I updated them to rely on the new title.

Flags: needinfo?(jdescottes)
Pushed by jdescottes@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/e23349259529
Use wrench favicon for about:debugging r=ladybenko
https://hg.mozilla.org/integration/autoland/rev/635651230a22
Use window favicon for about:devtools-toolbox r=ladybenko
https://hg.mozilla.org/integration/autoland/rev/0471422dc4af
Add title to about:devtools-toolbox tabs r=ladybenko
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 68

(Sorry I hadn't responded to the need info sooner -- the window icon does seem good for now :))

Flags: needinfo?(victoria)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: