Add recording state UI to the profiling popup
Categories
(DevTools :: Performance Tools (Profiler/Timeline), enhancement, P3)
Tracking
(firefox78 fixed)
Tracking | Status | |
---|---|---|
firefox78 | --- | fixed |
People
(Reporter: fvsch, Assigned: gregtatum)
References
Details
Attachments
(2 files)
Right now the "recording" state is communicated indirectly in the doorhanger menu:
- Call to action is "Start Recording": not currently recording
- Call to actions are "Discard" and "Capture": i guess we're recording? maybe?
I brought it up on chat.mozilla.org and Nazim showed the attached mockup (from Victoria?) which is a good solution. A quick discussion followed:
- Nazim Adding the elapsed time is maybe not desirable because it adds some JS execution? (Nazim: "I think we didn't want to add the incremental time at the end, because that also needs some code to run in an interval")
- It's good to hide the Settings section, especially since showing a disabled
<select>
element can be confusing ("disabled" states are often misunderstood by users). - But maybe show the current preset used, as a simple text label?
- Ongoing activity could be shown with a flashing red dot, using a CSS animation if that's not costly?
Label suggestions for presets:
Recording…
Using preset: Web Developer
and:
Recording…
Using custom settings
Visual suggestion for a flashing red dot next to the "Recording…" label:
Comment 1•4 years ago
|
||
Nazim Adding the elapsed time is maybe not desirable because it adds some JS execution? (Nazim: "I think we didn't want to add the incremental time at the end, because that also needs some code to run in an interval")
The assumption is that a 1s timer interval should not skew anything, especially as the popup will not stay open while the user reproduces the issue.
But maybe show the current preset used, as a simple text label?
Keeping the preset visible somehow would be a nice reminder to have. Not sure though if that is a question users have while recording.
Ongoing activity could be shown with a flashing red dot, using a CSS animation if that's not costly?
CSS animations will likely show up more often as they will cause a 60fps animation on the compositor.
Updated•4 years ago
|
Comment 2•4 years ago
|
||
Pinging Greg just to keep the discussion going :-)
Assignee | ||
Comment 3•4 years ago
|
||
I'll leave this bug as the work to implement Victoria's design, but we need to make sure the UI doesn't animate or update, as it shows up in profiles.
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 4•4 years ago
|
||
Pushed by gtatum@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0d900cb13dd4 Add recording state UI to the profiling popup; r=julienw
Comment 6•4 years ago
|
||
bugherder |
Description
•