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

Update the font cache buster parameter #20945

Merged
merged 1 commit into from
Jul 4, 2023
Merged

Conversation

bx80
Copy link
Contributor

@bx80 bx80 commented Jun 28, 2023

Description:

Recent changes have added new glyphs to the Matomo icon font, this PR updates the cache buster parameter in the icons stylesheet to invalidate any browser font caching and make sure the updated font is used.

Review

@bx80 bx80 added Task Indicates an issue is neither a feature nor a bug and it's purely a "technical" change. not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org. labels Jun 28, 2023
@bx80 bx80 added this to the 5.0.0 milestone Jun 28, 2023
@bx80 bx80 self-assigned this Jun 28, 2023
@bx80 bx80 requested a review from sgiehl June 28, 2023 04:27
@bx80
Copy link
Contributor Author

bx80 commented Jun 28, 2023

Related documentation update PR

@sgiehl
Copy link
Member

sgiehl commented Jul 3, 2023

Looks fine. Do we also need this change for 4.x-dev, guess the font had been adjusted there as well?

@sgiehl
Copy link
Member

sgiehl commented Jul 3, 2023

Also I was wondering if we should maybe write a quick github action, that checks if the font files are updated in a PR and if so parses the icons.css to check if the parameter was updated as well?

@sgiehl sgiehl merged commit ae21977 into 5.x-dev Jul 4, 2023
@sgiehl sgiehl deleted the update-font-cachebuster branch July 4, 2023 11:55
@bx80 bx80 mentioned this pull request Jul 6, 2023
11 tasks
@bx80
Copy link
Contributor Author

bx80 commented Jul 6, 2023

@sgiehl I've added a quick PR for a github action to check if the cachebuster was updated with the font.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org. Task Indicates an issue is neither a feature nor a bug and it's purely a "technical" change.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants