Commit Graph

36 Commits

Author SHA1 Message Date
Peter Hedenskog 36e78875a7
Make it easier to understand what each tab do (#1985)
* Make it easier to understand what each tab do
2018-04-20 08:30:23 +02:00
soulgalore 7555bb1a85 fix correct index for video and screenshots 2018-04-13 16:43:43 +02:00
Peter Hedenskog 375d70160d
Upgrade to first alpha of Browsertime 3.0 (#1970)
* initial commit for getting BT 3.0 to work
2018-04-07 14:04:23 +02:00
Peter Hedenskog 184af2aa8c
Use sharp to change screenshot size or convert to JPG (#1838) 2017-12-05 19:48:32 +01:00
Tobias Lidskog d621049827 Plugin tab polish (#1794)
* Avoid crash for plugin has nothing to render.

Plugins that register a pug file, but has nothing to render (e.g. when WPT timed out for all urls), would still have their pugs rendered. This would break the assumption there was data to render, leading to a crash.

Unhandled rejection TypeError: Cannot read property 'run' of undefined on line 13

Filtering out the plugin pugs where there’s data from messages fixes this crash.

* Allow eslinting on js-files in html templates.

* Simplify css/js/pug for tab rendering.

* Split inline js into separate .js file (to allow linting and syntax highlighting in editor).
* Update js/css to show all tabs by default, and then hide them on page load via javascript. That way all content is visible if js fails to load, instead of all content being hidden.

* Don’t scroll page when switching result tab.

* Rename pagexray image for consistency.

* More granular checks for missing plugin data.

* Reflect tab switches in url fragment.
2017-11-15 20:03:00 +01:00
Peter Hedenskog 2ae94525db
Let plugins register pugs = generate HTML (#1784)
* Let plugins register pugs = generate HTML

There are three types (two implemented here):
* pug for the page summary page
* pug for the run pages
* pug for a summary page

This commit moves out the pugs for WebPageTest and GPSI so we
have them as example plugins.

There are still some love needed for the CSS.

* fix generic css

* lint

* js fix for right tabs and adding name to each tab

* plugins doc
2017-11-09 05:54:37 +01:00
soulgalore c26034152f simplify screenshot check 2017-10-30 05:24:07 +01:00
Peter Hedenskog ba1d40d9e9
Datacollector break free (#1767) 2017-10-29 19:57:00 +01:00
soulgalore 5a90d062d3 visual complete 95 and 99 2017-09-13 23:06:39 +02:00
Peter Hedenskog ab06346336 Remove nbsp that breaks the HTML when you do many runs #1621 (#1624) 2017-05-23 22:09:55 +02:00
Peter Hedenskog 39f2da71ed include browser name in downloas filenames #1594 2017-04-28 09:56:10 +02:00
Pascal Borreli bfad8af63c Don't try to display unexistant screenshot (#1571)
Signed-off-by: Pascal Borreli <pascal@borreli.com>
2017-04-12 20:09:10 +02:00
Peter Hedenskog e171f49223 try render summary and tabs even if we got an error 2017-03-23 13:48:33 +01:00
Peter Hedenskog cc22d1010c Set download names (#1538) 2017-03-22 07:01:29 +01:00
soulgalore b9a5c1700f if we don't have Browsertime metrics, use WPT as backup 2017-03-20 23:07:51 +01:00
soulgalore 857a14d80b take care of long URLs #1528 2017-03-19 23:19:57 +01:00
Peter Hedenskog 38bc9e4fd1 First step to make WebPageTest result page more usable. (#1522)
* Show request per content type
* Show request per domain
* More metrics
* Unify showing of metrics so we have one pug file for WPT
2017-03-16 21:44:25 +01:00
soulgalore 9f4d2fa8e8 pug lint 2017-03-14 16:28:55 +01:00
soulgalore 00c26597d2 re-use CSS 2017-03-14 16:12:01 +01:00
Peter Hedenskog 671a7e701e keep metrics name insync 2017-03-14 11:47:28 +01:00
soulgalore 773971fc49 highlight each run so you see where you are 2017-03-14 10:33:29 +01:00
soulgalore 0b235c7f89 unify how we shod runInfo closes #1493 2017-03-05 13:01:40 +01:00
Peter Hedenskog 5a4cc55791 Add visual complete 85% and upgrade BT (#1488) 2017-03-03 00:02:06 +01:00
Peter Hedenskog b8717773da decode the URI on each individiual run page 2016-12-20 09:11:35 +01:00
Jonathan Lee 198a330492 First pass at supporting URL aliases for #1326 (#1374)
* First pass at supporting URL aliases for #1326

* Add to HTML output support for URL aliasing - #1326

* Adding tests and docs for #1326
2016-12-12 00:06:20 -05:00
Peter Hedenskog 59b9bd5c85 show last visual change 2016-12-05 01:26:16 -05:00
Tobias Lidskog defbc354e4 Fix generation of paths to screenshots. 2016-09-29 09:17:02 +02:00
Moe Maleki 4906581fde Make it possible to link to specific tabs on page/run pages #1087
Make it possible to link to specific tabs on page/run pages #1087

Make it possible to link to specific tabs on page/run pages #1087
2016-09-19 09:00:27 -07:00
Peter Hedenskog ec4935b550 Move waterfall to summary (#1167) 2016-08-29 08:51:28 +02:00
soulgalore 9714b1086d moved tabs to it own pug file 2016-07-27 14:45:40 +02:00
Peter Hedenskog d14bc0e368 Move content into tabs (#1086)
Lets move content into tabs.  Right now it's CSS only but maybe we change that in the future. #872
2016-07-27 10:33:23 +02:00
Jonathan Lee 014bd1982d Sync'ing up menu text on page summary and run summary (#1046) 2016-07-09 08:02:26 +02:00
Peter Hedenskog 42450ec5dd Collect screenshots from Browsertime
Chrome is easy, Firefox needs to crop the image to the current viewport.
There's also changes to the layout, to make the image fit in better (and
we can do this much better).

See this as a first move for #952 and let us improve.
2016-06-22 09:44:27 +02:00
soulgalore 45c840b313 fix: show the url on individual page and for each run 2016-06-20 14:24:04 +02:00
Jonathan Lee b8685411fa Use PerfCascade to show waterfall on page summary and individual runs from collected HAR (#997)
This pull request adds support for a waterfall view on the page summary(defaults: off) and and each individual run HTML output using PerfCascade. (#876) A CLI option is available to turn on the waterfall view on the page summary using --html.showWaterfallSummary
2016-06-11 16:24:20 -04:00
soulgalore f0cc234186 Change Jade to Pug
Yep Pug is the new Jade and lets use that.
2016-06-10 22:16:33 +02:00
Renamed from lib/plugins/html/templates/url/run.jade (Browse further)