lighthouse icon indicating copy to clipboard operation
lighthouse copied to clipboard

Display plugins in footer of report

Open jburger424 opened this issue 5 years ago • 10 comments

Currently, at the footer of the report the LH version and GH issue link is included. I propose that we also include any used the plugins and respective issue links.

jburger424 avatar Nov 06 '19 19:11 jburger424

cool idea. sounds great. :)

paulirish avatar Nov 06 '19 20:11 paulirish

applied stack packs too?

connorjclark avatar Nov 06 '19 20:11 connorjclark

happy to implement this myself

jburger424 avatar Nov 06 '19 21:11 jburger424

still interest?

connorjclark avatar May 26 '20 20:05 connorjclark

Don't have the bandwidth at the moment, but can take this on next week.

jburger424 avatar May 26 '20 20:05 jburger424

Hey @jburger424, I'm interested in helping you out. Any hint where I can start?

thetodd avatar Oct 03 '20 15:10 thetodd

We recently added "Axe Version" to the runtime settings. #10729

image

@jburger424 do you think we should also put plugin version numbers here?

I propose that we also include any used the plugins and respective issue links.

Would linking to the npm page be sufficient? It'd be straightforward (https://www.npmjs.com/package/PACKAGE_NAME). Linking to the issues page would require adding that data in the Plugin config.

Suggestion:

An additional row in Runtime Settings table for each plugin. Plugin name links to npm (also also make Axe a link). Each plugin&version gets added to the new lhr.environment.credits). The hard part here is how to get the plugin version. Any ideas? would require("../../../node_modules/PACKAGE_NAME/package.json").version work in all our envs (+ some changes to bundler)?

connorjclark avatar Dec 10 '20 21:12 connorjclark

Yeah that seems like a good fit to me!

Linking to the package SGTM, can make sure to visibly link to issues in the readme.

Single row per plugin seems great to me. I think that the require method should work fine, but would need to verify.

jburger424 avatar Dec 11 '20 18:12 jburger424

Hey! Can I work on this issue?

nawed2611 avatar May 06 '22 11:05 nawed2611

I have an interest in working on this. Could you assign it to me? What are the files or folders I am working with?

Catalyst497 avatar Jun 06 '22 12:06 Catalyst497

Hi, I'd like to work on this issue. Could you clarify the plugins you want displayed? It's unclear to me from the current comment thread.

kwliang1 avatar Dec 20 '22 23:12 kwliang1

Hey ! Iam interested to work with this issue . Is this still active?

AnjaniChilumula123 avatar May 16 '23 14:05 AnjaniChilumula123

@connorjclark is there still any interest in updating the footer of reports? I see it has changed a bit since this comment.

Screen Shot 2023-06-21 at 11 32 52 AM

tannerdolby avatar Jun 21 '23 18:06 tannerdolby

@tannerdolby I think there's still some utility to this.

The best place for it now would be as part of the hover tooltip on the bottom-left item in the footer:

image

That is found here: https://github.com/GoogleChrome/lighthouse/blob/53e0a595af7512b9769debc973006dd3e45fb400/report/renderer/report-renderer.js#L157-L159


To people asking "may I work on this": the answer is always yes. We don't like to assign specific people, because sometimes people will volunteer for something then have something come up and the issue remains but "assigned". So please just comment here to "stake a claim" and send a PR. Thanks!

connorjclark avatar Jun 21 '23 19:06 connorjclark