Commit Graph

128 Commits

Author SHA1 Message Date
Matthew Harrison-Jones d9bf76db22 CSS improvements (#994)
* Update button styling
* Add Travis test to check for outdated CSS files
This will only fail if the SCSS is updated and CSS is re-built.
2016-06-10 21:46:44 +02:00
Peter Hedenskog 73ef9f733c show header size first in tables, then transfer and content size (#992) 2016-06-10 10:00:29 +02:00
Matthew Harrison-Jones d0c1811515 Start work on moving to SASS for CSS (#990)
Use `npm run build:css` to build the CSS files after changes
2016-06-10 09:39:29 +02:00
Tobias Lidskog 5c6c29b23a Update to latest pug-lint and fix lint errors. (#974) 2016-06-06 20:37:16 +02:00
Jonathan Lee feb1098dad Only show 1st vs 3rd summary in HTML output if it has data and show default storage location for HTML ouput in help menu (#976) 2016-06-05 10:26:45 +02:00
Tobias Lidskog c5379dbf6e Show other results even if one plugin has error. (#950)
- always show results from plugins that succeed
- provide some context to the error by including the plugin name
- style errors with beautiful pink background

Test by running:
bin/sitespeed.js http://www.expressen.se -n1 -b chrome --webpagetest.key foo
2016-05-24 08:15:51 +02:00
soulgalore 1190bc862f linting 2016-05-22 10:46:05 +02:00
Jonathan Lee ebe3f59777 Adding responseCodes to summary for graphit and summary HTML page (#944)
* Adding responseCodes to summary for graphite

* Adding 200, 301, and 404 response counts to summary html page
2016-05-22 09:45:57 +02:00
soulgalore f290e0bccd only show content types that has requests 2016-05-20 22:21:48 +02:00
soulgalore 7d2fa540b1 put content types under contentType namespace (and pick up all types) closes #942 2016-05-20 22:19:42 +02:00
soulgalore 6c9a61d92a spaces between each run (looks better) 2016-05-19 18:23:29 +02:00
soulgalore f00d39bdbc safeguarding missing browsertime 2016-05-19 18:13:36 +02:00
soulgalore be889b35a5 lint for jade 2016-05-19 14:14:27 +02:00
soulgalore 9b10ede597 cleaner display of visual metrics 2016-05-19 14:06:08 +02:00
soulgalore 9e291b45c8 hack to get visualmetrics in each run data 2016-05-19 13:07:24 +02:00
soulgalore 33329b5ed0 rollback for vm 2016-05-19 09:50:13 +02:00
soulgalore 5d46d6ea70 focus visual metrics 2016-05-19 09:43:24 +02:00
Jonathan Lee 3c6c855b09 Converting list of offenders in advice sections to unordered list to match resource hints (#941) 2016-05-19 09:30:37 +02:00
Jonathan Lee b4c69ac6ae Only toggle the adjacent element advice for the show/hide button clicked on the detailed HTML page (#940) 2016-05-19 09:30:16 +02:00
soulgalore 91fee35ac4 pick up visualmetrics 2016-05-19 09:26:42 +02:00
soulgalore 9ed3aa6d4c support for collecting visualMetrics from Browsertime 2016-05-17 21:54:15 +02:00
soulgalore 414ad6dddf show first vs third party #915 2016-05-17 08:11:38 +02:00
Tobias Lidskog d66f1164bc Check for plugin data before rendering html. 2016-05-16 03:40:17 +02:00
Jonathan Lee 4ec9213616 Unescaping <br> in page summary report for dns-prefetch (#929)
* Unescaping <br /> in page summary report for dns-prefetch

* Cleaner solution without using the dangerous unescape
2016-05-15 08:50:56 +02:00
Tobias Lidskog 2297d4d4d1 Exclude pages with no data from Pages page.
This is the case for pages with just errors (no data from any plugins).
2016-05-13 18:07:48 +02:00
soulgalore cc2d140149 push about alpha 1 2016-05-13 11:55:03 +02:00
soulgalore fff903fdd1 use first paint if availible 2016-05-13 11:54:06 +02:00
soulgalore ef1883aad8 layout cleanup 2016-05-13 11:44:56 +02:00
soulgalore c459adc420 show browsertime summary metrics on summary page 2016-05-13 11:41:13 +02:00
soulgalore ce8750451c use the first page metrics from pagexray 2016-05-13 10:51:17 +02:00
soulgalore ed8ae9fdc8 rename browsertime.page to browsertime.pageSummary to follow the standard 2016-05-13 10:31:03 +02:00
soulgalore 743711e770 simplify structure removing array structure 2016-05-13 10:11:57 +02:00
soulgalore 4adcda3e5d linting for jade 2016-05-13 09:31:42 +02:00
soulgalore 8233a18f05 return 0 for non existing values (probably right for most cases) 2016-05-13 01:49:06 +02:00
soulgalore 7cdaaba90f align table content to the top 2016-05-13 01:36:50 +02:00
soulgalore fd0ed99473 errors in the menu 2016-05-13 01:32:40 +02:00
soulgalore de6b8a52be don't show pages if the run failed 2016-05-12 22:55:42 +02:00
soulgalore 95fdaa0edc check for failing browsertime 2016-05-12 21:46:07 +02:00
soulgalore 8d66b9831a safeguarding missing browsertime metrics 2016-05-12 18:21:46 +02:00
Tobias Lidskog 528b73bde3 Simplify time output using plural helper. 2016-05-12 00:44:06 +02:00
Tobias Lidskog 072e4bcde0 Add pageSummary for coach data.
Allows for html template to be slightly cleaner as well.
2016-05-12 00:32:50 +02:00
Tobias Lidskog dab1f39402 Use empty string instead of 0 for missing sizes. 2016-05-12 00:32:50 +02:00
Tobias Lidskog 49280a74d9 Fix get render helper to use default value.
Previously it would show the default value if a property was falsy (including 0). Now only fall back to the default if the property is truly missing.
2016-05-12 00:32:50 +02:00
Tobias Lidskog c0839b5dec Avoid crash if pagexray data is missing. 2016-05-12 00:32:50 +02:00
Tobias Lidskog 584f0ce86d Indent template and simplify if:s. 2016-05-12 00:32:50 +02:00
Tobias Lidskog 7359b0d950 Fix render crash if firstPaint timing was missing. 2016-05-12 00:32:50 +02:00
Tobias Lidskog 719fa343be Better handling of improper data for label helpers 2016-05-12 00:32:34 +02:00
Tobias Lidskog 8b967e5784 Use an array to store data for each run. 2016-05-12 00:32:34 +02:00
Tobias Lidskog d64ce1185e Hide detail button for empty coach results. 2016-05-12 00:32:34 +02:00
soulgalore 01cea80de9 double check for first paint 2016-05-11 21:50:12 +02:00