Display filmstrip if we collect visual metrics and remove the video. (#2724)
This commit is contained in:
parent
4795484a85
commit
23cbd2b81c
|
|
@ -127,6 +127,8 @@ module.exports = {
|
|||
let doWeHaveFilmstrip =
|
||||
options.browsertime.chrome.enableTraceScreenshots === true ||
|
||||
(options.browsertime.video === true &&
|
||||
options.browsertime.videoParams.createFilmstrip === true) ||
|
||||
(options.browsertime.visualMetrics === true &&
|
||||
options.browsertime.videoParams.createFilmstrip === true);
|
||||
|
||||
if (doWeHaveFilmstrip === false) {
|
||||
|
|
|
|||
|
|
@ -131,7 +131,7 @@ block content
|
|||
section#video-panel
|
||||
include ../video/index.pug
|
||||
|
||||
if options.browsertime.video && options.videoParams.createFilmstrip || options.browsertime.chrome.enableTraceScreenshots
|
||||
if (options.browsertime.video || options.browsertime.visualMetrics) && options.videoParams.createFilmstrip || options.browsertime.chrome.enableTraceScreenshots
|
||||
section#filmstrip-panel
|
||||
include ../filmstrip/index.pug
|
||||
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
if options.browsertime.video
|
||||
a(id='video', href='#video', onclick='return selectTab(this, true);')
|
||||
| Video
|
||||
if options.browsertime.video && options.videoParams.createFilmstrip || options.browsertime.chrome.enableTraceScreenshots
|
||||
if (options.browsertime.video || options.browsertime.visualMetrics) && options.videoParams.createFilmstrip || options.browsertime.chrome.enableTraceScreenshots
|
||||
a(id='filmstrip', href='#filmstrip', onclick='return selectTab(this, true);')
|
||||
| Filmstrip
|
||||
if d.coach && d.coach.run
|
||||
|
|
|
|||
|
|
@ -136,7 +136,7 @@ block content
|
|||
section#video-panel
|
||||
include ../video/index.pug
|
||||
|
||||
if options.browsertime.video && options.videoParams.createFilmstrip || options.browsertime.chrome.enableTraceScreenshots
|
||||
if (options.browsertime.video || options.browsertime.visualMetrics) && options.videoParams.createFilmstrip || options.browsertime.chrome.enableTraceScreenshots
|
||||
section#filmstrip-panel
|
||||
include ../filmstrip/index.pug
|
||||
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
if options.browsertime.video
|
||||
a(id='video', href='#video', onclick='return selectTab(this, true);')
|
||||
| Video
|
||||
if options.browsertime.video && options.videoParams.createFilmstrip || options.browsertime.chrome.enableTraceScreenshots
|
||||
if (options.browsertime.video || options.browsertime.visualMetrics) && options.videoParams.createFilmstrip || options.browsertime.chrome.enableTraceScreenshots
|
||||
a(id='filmstrip', href='#filmstrip', onclick='return selectTab(this, true);')
|
||||
| Filmstrip
|
||||
if d.coach && d.coach.pageSummary
|
||||
|
|
|
|||
Loading…
Reference in New Issue