Skip to content
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

misc: adjust Lighthouse CI #7324

Merged
merged 3 commits into from
May 4, 2022
Merged

misc: adjust Lighthouse CI #7324

merged 3 commits into from
May 4, 2022

Conversation

lex111
Copy link
Contributor

@lex111 lex111 commented May 4, 2022

Pre-flight checklist

  • I have read the Contributing Guidelines on pull requests.
  • If this is a code change: I have written unit tests and/or added dogfooding pages to fully verify the new behavior.
  • If this is a new API or substantial change: the PR has an accompanying issue (closes #0000) and the maintainers have approved on my working plan.

Motivation

Final touches for Lighthouse CI: make the URL column shorter and change the current doc page, since home page docs have YT video that will distort the real scores.

image

@lex111 lex111 added the pr: maintenance This PR does not produce any behavior differences to end users when upgrading. label May 4, 2022
@lex111 lex111 requested review from slorber and Josh-Cena as code owners May 4, 2022 14:23
@facebook-github-bot facebook-github-bot added the CLA Signed Signed Facebook CLA label May 4, 2022
@netlify
Copy link

netlify bot commented May 4, 2022

[V2]

Name Link
🔨 Latest commit b8523ec
🔍 Latest deploy log https://app.netlify.com/sites/docusaurus-2/deploys/62728fed62c1b300089e53c8
😎 Deploy Preview https://deploy-preview-7324--docusaurus-2.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@github-actions
Copy link

github-actions bot commented May 4, 2022

⚡️ Lighthouse report for the changes in this PR

URL Performance Accessibility Best Practices SEO PWA Report
https://deploy-preview-7324--docusaurus-2.netlify.app/ 🟠 55 🟢 100 🟢 92 🟢 100 🟢 90 View report
https://deploy-preview-7324--docusaurus-2.netlify.app/docs/ 🟠 69 🟢 94 🟢 92 🟢 90 🟢 90 View report

@@ -20,7 +20,7 @@ const createMarkdownTableRow = ({

const createSingleRow = ({summary, testUrl, reportPublicUrl}) => {
const normalizedBody = {
url: testUrl,
url: new URL(testUrl).pathname,
Copy link
Collaborator

Choose a reason for hiding this comment

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

Let's use a Markdown link, so we can click and go to the actual URL.

@Josh-Cena Josh-Cena added pr: internal This PR does not touch production code, or is not meaningful enough to be in the changelog. and removed pr: maintenance This PR does not produce any behavior differences to end users when upgrading. labels May 4, 2022
Copy link
Collaborator

@Josh-Cena Josh-Cena left a comment

Choose a reason for hiding this comment

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

Great stuff, let's try this

@Josh-Cena Josh-Cena merged commit 3a7e666 into main May 4, 2022
@Josh-Cena Josh-Cena deleted the lex111/adjust-lighthouse-ci branch May 4, 2022 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed Signed Facebook CLA pr: internal This PR does not touch production code, or is not meaningful enough to be in the changelog.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants