Open all group-tree with Alt+Click on the arrow

NEW
Unassigned

Status

()

Firefox
Developer Tools: Console
P3
normal
a year ago
a year ago

People

(Reporter: nchevobbe, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

a year ago
This is something perf-html has and that allow to expand a node and all its children with Alt+Click.
It would be nice to have the same thing for groups in the console.


This would need a couple things :
- Pass a flag to the action if alt was pressed (See [1])
- In the action (See [2]), return the value of the flag
- In the reducer, if flag is true, push all subgroups to `messagesUiById` (See [3]). Subgroups can be retrieved by looking at `groupsById`. 

This should be enough since visible messages are then computed based on opened groups.

[1] http://searchfox.org/mozilla-central/rev/d441cb24482c2e5448accaf07379445059937080/devtools/client/webconsole/new-console-output/components/message.js#166
[2] http://searchfox.org/mozilla-central/rev/d441cb24482c2e5448accaf07379445059937080/devtools/client/webconsole/new-console-output/actions/messages.js#51-56
[3] http://searchfox.org/mozilla-central/rev/4a9f505eb849f0a646ad6c13eb669e579839b3a8/devtools/client/webconsole/new-console-output/reducers/messages.js#131
(Reporter)

Updated

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