-
Notifications
You must be signed in to change notification settings - Fork 97
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
FLUID-6499: added font display swap for font faces #991
base: main
Are you sure you want to change the base?
Conversation
Could one of the admins verify that these changes are reasonable to test? If so, please reply with "ok to test". |
ok to test |
@TeddTech, thanks for the pull request. All commit messages into the infusion repository also need to be prefixed with the jira number in the format such as "FLUID-6499: add ...", like what you've done for the pull request title. Please change commit messages too. Thanks. |
CI job passed: https://ci.fluidproject.org/job/infusion-pull-request/403/ |
CI job passed: https://ci.fluidproject.org/job/infusion-pull-request/404/ |
will do |
CI job passed: https://ci.fluidproject.org/job/infusion-pull-request/405/ |
CI job passed: https://ci.fluidproject.org/job/infusion-pull-request/406/ |
@TeddTech, there's something terribly wrong with the commits in your PR. The commit |
I did a rebase removing the duplicate commits and only keeping my own |
CI job passed: https://ci.fluidproject.org/job/infusion-pull-request/407/ |
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.
Check review below
src/components/orator/css/Orator.css
Outdated
@@ -1,6 +1,7 @@ | |||
@font-face { | |||
font-family:'Orator-Icons'; | |||
src:url("../fonts/Orator-Icons.woff") | |||
src:url("../fonts/Orator-Icons.woff"); | |||
font-display: swap |
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.
Add ';' here.
CI job passed: https://ci.fluidproject.org/job/infusion-pull-request/408/ |
@TeddTech could you please update your last commit message to be in the correct format, similar to your previous commits. |
@TeddTech also, it's best practice to file a PR from a working branch, rather than using your master branch. For example if you needed to file another PR against the repository, you may accidentally include changes from this PR because it's from your master, and it's harder to keep things clean in general. |
CI job passed: https://ci.fluidproject.org/job/infusion-pull-request/409/ |
Thanks for the info @jobara. Will do from now on |
The purpose of this PR is to improve performance of websites that integrate infusion. At todays We Count check-in it was decided that leaving The value for |
Just to add a couple of clarifications about outcomes from today's WeCount check in:
|
CI job passed: https://ci.fluidproject.org/job/infusion-pull-request/416/ |
Description
Leverages the font-display CSS feature to ensure text is user-visible while webfonts are loading.
Steps to test
Expected behavior:
Ensure text remains visible during webfont load should no longer come up under Diagnostics because it has already been applied.
Additional information
N/A
Related issues
https://issues.fluidproject.org/browse/FLUID-6499