Closed Bug 1908615 Opened 2 years ago Closed 2 years ago

Display all the DOM events of a record in the Debugger Tracer Sidebar

Categories

(DevTools :: Debugger, enhancement)

enhancement

Tracking

(firefox132 fixed)

RESOLVED FIXED
132 Branch
Tracking Status
firefox132 --- fixed

People

(Reporter: nchevobbe, Assigned: ochameau)

References

(Blocks 4 open bugs)

Details

Attachments

(5 external files)

The Tracer sidebar only display a few chosen event types at the moment, for clarity.
It would be interesting to be able to display any kind of events so you could really get the full picture of the recording.
This would come with quite some overhead, so we should only have a few chosen items we display by default, and then have a UI that would let the user pick the event types they want to display in the timeline.
We could use a similar UI to what we have in the compatibility panel, where you can access this "setting" through a button, and then it "replaces" the panel content; inside is, we'd have something similar to what we put in the Event Listener breakpoints panel, with all the events organized by category

Blocks: 1908616
Blocks: 1908613

Note that all events are displayed. But only some key and some mouse related events get a color.
Green for mouse and blue for key.
All the others are displayed, but with grey color.

A first step may be to provide a color for all event categories (categories being defined in the event breakpoint panel).
Then the left sidebar may be cluttered by too many colors. This is where the UI, allowing the user to see which events are recorded, and only display some of interests may help.

We might have to do both steps at once, as over-colored timeline may be a regression when you mostly care about user interactions.

Otherwise, it sounds great to have a panel replacing the call tree and have this UI update the timeline live. So that you can immediately see which events happen when, as well as see color definitions for all the colors displayed in the timeline.

That, instead of prefixing them with "DOM | ".

Summary: Allow to display any events in the Debugger Tracer Sidebar → Display all the DOM events of a record in the Debugger Tracer Sidebar
Assignee: nobody → poirot.alex
Status: NEW → ASSIGNED
Blocks: 1916755
Blocks: 1916756
Pushed by apoirot@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/17ff552e0f44 [devtools] Pass raw DOM event name from tracer RDP packet. r=devtools-reviewers,nchevobbe https://hg.mozilla.org/integration/autoland/rev/c9a97f8bf5da [devtools] Convey the DOM event target type when tracing DOM events. r=devtools-reviewers,nchevobbe https://hg.mozilla.org/integration/autoland/rev/a25473a1a0c8 [devtools] Display all recorded DOM Events in a dedicated view to filter them. r=devtools-reviewers,nchevobbe https://hg.mozilla.org/integration/autoland/rev/3d2492e6d11a [devtools] Support Ctrl + Click to select only one type of events. r=devtools-reviewers,nchevobbe https://hg.mozilla.org/integration/autoland/rev/5ef0b10c016d [devtools] Highlight DOM Events in the left timeline when hovering events in the events panel. r=devtools-reviewers,nchevobbe
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: