Closed Bug 1121086 Opened 10 years ago Closed 10 years ago

Update Recording Notices

Categories

(DevTools :: Performance Tools (Profiler/Timeline), defect, P1)

37 Branch
x86
macOS
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1082695

People

(Reporter: jsantell, Assigned: jsantell)

References

Details

For the new performance tool, we need some labels that make sense. 1) Start recording panel, like profiler. Currently: "Click on the [clock] button to start recording JavaScript function calls." 2) Stop recording panel, like profiler. Currently: "Click on the [clock] button again to stop profiling." 3) Scenario that's not handled currently in the profiler. If I start a profile via console.profile("test"), and click on that recording in the profiler, I get the message/panel from 2) -- which doesn't actually stop recording, as this is only for manual recordings. The text should be something like "Currently recording profile." or something.
Blocks: 1120699
Flags: needinfo?(vporof)
Flags: needinfo?(paul)
Blocks: 1121196
Couldn't we make [2] also stop console.profile()?
Flags: needinfo?(paul)
@Paul: Yes, that we could do which would also solve [3], but then we have conflicting state of the clock button in the top toolbar with the one in the main panel in [2]. Which could be fine, dunno. Something to think about. I think some message, like "Currently profiling 'test' from console.profile" or something, where the user can't do anything but wait for the consle.profileEnd(label) to be called.
No longer blocks: 1121196
Let's talk about this in more detail in the next week's meeting. I like comment 2, though.
Flags: needinfo?(vporof)
Let's go with these for now: Empty notice: "Click on the [clock] button to start recording JavaScript function calls." Recording notice: "Click on the [clock] button to stop recording." And we'll need a new panel for when we're recording something via console calls, which we don't have yet, but can add the panel here: console recording notice: 'Currently recording "[PROFILE NAME]".'
No longer blocks: 1120699
Depends on: 1120699
No longer blocks: perf-tool-v2
Blocks: perf-tool-v2
No longer blocks: enable-perf-tool
Not specifically blocking v2.
No longer blocks: perf-tool-v2
Now that we know everything this tool will do when it moves up to Aurora, we should make better labels for the recording notices. The console.profile bug 1077464 adds the console recording notice message.
Blocks: perf-tool-v2
Depends on: 1077464
Summary: New Performance Labels → Update Recording Notices
Blocks: perf-tool-papercuts
No longer blocks: perf-tool-v2
P1 because needs to be done potentially before the uplift. l10n.
Assignee: nobody → jsantell
Status: NEW → ASSIGNED
Priority: -- → P1
This was resolved during the labeling audit in bug 1082695.
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.