GoogleChrome / GoogleChrome/lighthouse
Add Flow "Save HTML" support to Viewer
- Dominant language
- JavaScript
- Stars
- 30.8k
- Forks
- 9.8k
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 20
Description
From https://github.com/GoogleChrome/lighthouse/pull/13260
And https://github.com/GoogleChrome/lighthouse/pull/13419
Adding flow assets to save as HTML doubles the bundle size. We should load those resources async. For now there is no button to save flow as HTML in the viewer.
Relevant TODO:
https://github.com/GoogleChrome/lighthouse/blob/d1bd86a6372f4ebe4bfbd629b5445158ec968215/viewer/app/src/lighthouse-report-viewer.js#L258
Contributor guide
Research direction
Start at viewer/app/src/lighthouse-report-viewer.js around the referenced TODO, then read Lighthouse PRs 13260 and 13419 for the flow asset and HTML-saving context. Trace how the viewer loads report resources and identify the existing save-HTML path. Done means the viewer offers flow HTML saving without eagerly doubling the bundle size.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100