Closed
Bug 1428442
Opened 5 years ago
Closed 5 years ago
Enable highlighting the tab of more than one tool at a time (like when the debugger is paused)
Categories
(DevTools :: Framework, enhancement, P2)
Tracking
(firefox60 fixed)
RESOLVED
FIXED
Firefox 60
Tracking | Status | |
---|---|---|
firefox60 | --- | fixed |
People
(Reporter: yzen, Assigned: yzen)
References
Details
Attachments
(1 file, 1 obsolete file)
10.21 KB,
patch
|
gregtatum
:
review+
|
Details | Diff | Splinter Review |
Right now it is only possible to highlight 1 tool at a time (debugger OR network monitor), it is possible that more than one tool is currently active/has an affect on other tools so this functionality needs to be expanded to account for that.
Comment 1•5 years ago
|
||
Do you mean being able to see more than 1 tool at the same time? Like the split console for instance? If so, then this is a duplicate of bug 1121414.
Flags: needinfo?(yzenevich)
Assignee | ||
Comment 2•5 years ago
|
||
Ah, I should've been more descriptive. This is just related to the indication of an active tool - e.g. the green colored tab highlighting (debugger for example).
Flags: needinfo?(yzenevich)
Comment 3•5 years ago
|
||
Oh I see. Thanks for clarifying.
Summary: Enable highlighting more than one tool at a time. → Enable highlighting the tab of more than one tool at a time (like when the debugger is paused)
Updated•5 years ago
|
Severity: normal → enhancement
Priority: -- → P2
Assignee | ||
Comment 4•5 years ago
|
||
Attachment #8947821 -
Flags: review?(pbrosset)
Comment 5•5 years ago
|
||
Comment on attachment 8947821 [details] [diff] [review] 1428442 patch Review of attachment 8947821 [details] [diff] [review]: ----------------------------------------------------------------- Thanks Yura. Will forward this to Greg who has been working on this code last.
Attachment #8947821 -
Flags: review?(pbrosset) → review?(gtatum)
Comment 6•5 years ago
|
||
Comment on attachment 8947821 [details] [diff] [review] 1428442 patch Review of attachment 8947821 [details] [diff] [review]: ----------------------------------------------------------------- Looks like a pretty straightforward patch. Please update the browser_toolbox_highlight.js to take into account the new behavior, and then I'll be comfortable with an r+. Thanks! devtools/client/framework/test/browser_toolbox_highlight.js ::: devtools/client/framework/components/toolbox-tab.js @@ +46,5 @@ > > const className = [ > "devtools-tab", > currentToolId === id ? "selected" : "", > + highlightedTools && highlightedTools.has(id) ? "highlighted" : "", You could make this line simpler by having highlightedTools non-optional in the PropTypes, but I'll leave it up to you with what you want to do. ::: devtools/client/framework/components/toolbox-toolbar.js @@ +26,5 @@ > // List of command button definitions. > toolboxButtons: PropTypes.array, > // The id of the currently selected tool, e.g. "inspector" > currentToolId: PropTypes.string, > + // An optionally highlighted tools, e.g. "inspector" I would like to see this comment mention that this prop is a Set, since it's a bit ambiguos when declared as an PropTypes.object.
Attachment #8947821 -
Flags: review?(gtatum) → review-
Assignee | ||
Comment 7•5 years ago
|
||
Updated test, addressed comments, thanks!
Attachment #8947821 -
Attachment is obsolete: true
Attachment #8948515 -
Flags: review?(gtatum)
Comment 8•5 years ago
|
||
Comment on attachment 8948515 [details] [diff] [review] 1428442 patch v2 Review of attachment 8948515 [details] [diff] [review]: ----------------------------------------------------------------- Looks great, thanks!
Attachment #8948515 -
Flags: review?(gtatum) → review+
Pushed by yura.zenevich@gmail.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/d719873a21a9 enabling tab highlighting for more than one tool at a time. r=gregtatum
Comment 10•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/d719873a21a9
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
status-firefox60:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 60
Updated•5 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•