You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This change consolidates 2 different menus in a dialog that contains 3
options to customize an exported performance trace: 1. Include
annotations 2. Include script content (Behind experiment flag) 3.
Include script source maps (Behind experiment flag)
Include annotations This option only shows up if annotations exists on
the trace. Replaces the previous option to whether or not include
existing annotation in the trace.
Include script content This option only shows up when the experiment
flag (Enable collecting enhanced traces) is on. Controls whether or not
script content will be included.
Include script source content This option only shows up when the
experiment flag (Enable collecting source text from compiled script) is
on, also this option will be disabled if the 'Include script content' is
not selected. Controls whether or not to include the script source
content (sourcemaps) in the exported trace.
Before: https://imgur.com/a/rajLmNc
After: https://imgur.com/a/2H0t2uG
Bug: 432043591
Change-Id: I0acc5778db84025f19a3f8431793dcf3e3ef1cbe
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6803185
Reviewed-by: Connor Clark <[email protected]>
Commit-Queue: Vidal Diazleal <[email protected]>
Copy file name to clipboardExpand all lines: front_end/panels/timeline/TimelinePanel.ts
+25-79Lines changed: 25 additions & 79 deletions
Original file line number
Diff line number
Diff line change
@@ -123,18 +123,6 @@ const UIStrings = {
123
123
* @description Tooltip text that appears when hovering over the largeicon load button
124
124
*/
125
125
loadTrace: 'Load trace…',
126
-
/**
127
-
* @description Tooltip text that appears when hovering over the largeicon download button
128
-
*/
129
-
saveTrace: 'Save trace…',
130
-
/**
131
-
* @description An option to save trace with annotations that appears in the menu of the toolbar download button. This is the expected default option, therefore it does not mention annotations.
132
-
*/
133
-
saveTraceWithAnnotationsMenuOption: 'Save trace',
134
-
/**
135
-
* @description An option to save trace without annotations that appears in the menu of the toolbar download button
136
-
*/
137
-
saveTraceWithoutAnnotationsMenuOption: 'Save trace without annotations',
138
126
/**
139
127
* @description Text to take screenshots
140
128
*/
@@ -228,16 +216,6 @@ const UIStrings = {
228
216
* @description Text in Timeline Panel of the Performance panel
0 commit comments