Skip to content

Add settings info to the message shown as each run starts #568

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 5, 2023

Conversation

jackbrewer
Copy link
Contributor

@jackbrewer jackbrewer commented Apr 4, 2023

Adds a function to embellish the "Running Lighthouse on example/" message using supplied settings. This helps verify settings have been picked up correctly without needing to wait and review the final report output. I wonder if it's too wordy – maybe we look again if we expose more settings in future.

Screenshots taken locally. The changes affect the output of a single console.log so should be identical in build logs

Examples

Single run, no custom settings
image

Multi-page run, no custom settings
image

With a single custom setting
image

With multiple custom settings
image

@netlify
Copy link

netlify bot commented Apr 4, 2023

👷 Deploy Preview for plugin-lighthouse processing.

Name Link
🔨 Latest commit 4245790
🔍 Latest deploy log https://app.netlify.com/sites/plugin-lighthouse/deploys/642c39c0ddc2af00084c1d30

@jackbrewer jackbrewer self-assigned this Apr 4, 2023
@jackbrewer jackbrewer requested a review from aitchiss April 4, 2023 15:04
@jackbrewer jackbrewer marked this pull request as ready for review April 4, 2023 15:04
@jackbrewer jackbrewer requested a review from a team April 4, 2023 15:04
Copy link
Contributor

@aitchiss aitchiss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great!

@jackbrewer jackbrewer merged commit 3bb2cc3 into main Apr 5, 2023
@jackbrewer jackbrewer deleted the jbr/addSettingsDetailsToStartMessage branch April 5, 2023 08:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants