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

chore: point lighthouse to blog to reproduce https://github.com/facebook/docusaurus/issues/9379 #9393

Merged
merged 5 commits into from
Oct 12, 2023

Conversation

johnnyreilly
Copy link
Contributor

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

I'm trying to make #9379 more visible. This PR adds the blog URL of the Docusaurus website to the evalutated URLs.

Test Plan

If this surfaces console errors in lighthouse then it demostrates it's an underlying issue with the Docusaurus blog section - though weirdly one that only seems to surface on Ubuntu

Test links

Deploy preview: https://deploy-preview-_____--docusaurus-2.netlify.app/

Related issues/PRs

#9379

@netlify
Copy link

netlify bot commented Oct 12, 2023

[V2]

Name Link
🔨 Latest commit 2d51156
🔍 Latest deploy log https://app.netlify.com/sites/docusaurus-2/deploys/6527d836850fca0007f62282
😎 Deploy Preview https://deploy-preview-9393--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 configuration.

@github-actions
Copy link

github-actions bot commented Oct 12, 2023

⚡️ Lighthouse report for the deploy preview of this PR

URL Performance Accessibility Best Practices SEO PWA Report
/ 🟠 87 🟢 97 🟢 92 🟢 100 🟠 89 Report
/docs/installation 🟠 83 🟢 98 🟢 92 🟢 100 🟠 89 Report

@johnnyreilly
Copy link
Contributor Author

@slorber I'm not seeing the addition of the /blogs endpoint show up here for some reason - does the PR need to be merged for us to be able to see /blog resultsor something (because I'm coming from a fork)?

image

@slorber
Copy link
Collaborator

slorber commented Oct 12, 2023

@slorber I'm not seeing the addition of the /blogs endpoint show up here for some reason - does the PR need to be merged for us to be able to see /blog resultsor something (because I'm coming from a fork)?

image

I think yes because we choose to use "pull_request_target" instead of "pull_request". Don't remember why exactly but I think it was related to security reasons, otherwise it's unsafe to add a comment.

Added a trailing slash because we use that for deploy previews + a more diverse set of Docusaurus pages

Thanks

@slorber slorber added the pr: internal This PR does not touch production code, or is not meaningful enough to be in the changelog. label Oct 12, 2023
@slorber slorber merged commit 209aae6 into facebook:main Oct 12, 2023
7 checks passed
@johnnyreilly johnnyreilly deleted the patch-1 branch October 12, 2023 12:12
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