-
Notifications
You must be signed in to change notification settings - Fork 2
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
Google Lighthouse Fixes #92
Conversation
Signed-off-by: Nicholas Bucher <[email protected]>
Signed-off-by: Nicholas Bucher <[email protected]>
Signed-off-by: Nicholas Bucher <[email protected]>
Signed-off-by: Nicholas Bucher <[email protected]>
Issues linked to changelog: |
@@ -1,4 +1,4 @@ | |||
<!DOCTYPE html> | |||
<!doctype html> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
huh; I never knew this should be lowercase
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this was actually a prettier fix, and not in the lighthouse score.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apparently it's not case sensitive, so it should be okay either way.
width: 100%; | ||
} | ||
background-size: cover; | ||
object-fit: cover; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice! I actually used this once on a personal project once ages ago, but I 1000% forgot this existed; thanks for the reminder ;)
Description
This PR includes fixes related to Google Lighthouse testing on the home and APIs pages. We have less control over the API details page since we use the Redoc and Swagger libraries for viewing the API schema, but these improvements carried over to that page as well.
role
attributes were removed.Results
Some of the suggestions are related to what the
VITE_PORTAL_SERVER_URL
and image environment variables are set to, so those scores will depend on user configurations.The home page and APIs page had very similar scores, and improvements, so I will just include the home page scores here.
Before lighthouse fixes (on the home page):
lighthouse-before-improvements.pdf
After lighthouse fixes (on the home page):
lighthouse-after-improvements.pdf
BOT NOTES:
resolves https://github.com/solo-io/gloo-mesh-enterprise/issues/15009