timeline-viewer icon indicating copy to clipboard operation
timeline-viewer copied to clipboard

Add the ability to compile timeline-viewer to an offline static applicaiton

Open samccone opened this issue 7 years ago • 3 comments
trafficstars

Then publish this tool to npm,

samccone avatar Nov 29 '17 17:11 samccone

I've been thinking about refactoring it a bit, like https://github.com/ChromeDevTools/timeline-viewer/pull/46 But we need more activity on this project. Sam, do you wanna collaborate?

denar90 avatar Nov 29 '17 19:11 denar90

@samccone what's the ideal user flow user?

npm install -g view-trace ... view-trace awesome-trace.DDMMYYYY.json

This opens up a webpage in your default browser, etc?

paulirish avatar Apr 18 '18 16:04 paulirish

oh that would be very cool, another (useful for me) option would be

view-trace MY_TRACE.json --save

would save a MY_TRACE.html file that could be shared directly to view the given trace without having to download anything from the internet.

The reason why this is useful for us to because we want to generate trace files as part of a build process so that folks can look at the breakdown in time by directly clicking the "processed" trace file.

Thanks!

samccone avatar Apr 20 '18 00:04 samccone