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

Add spinner while google fonts load instead of showing a blank page #214

Merged
merged 1 commit into from
Feb 9, 2023

Conversation

matiasbenedetto
Copy link
Contributor

@matiasbenedetto matiasbenedetto commented Feb 8, 2023

This PR adds a spinner while the google fonts data load (which can take some time in slow connections because it is a big file).
Instead of showing a blank screen, we can show part of the interface with a spinner and some text saying it is loading.

Before:

Screencast.from.09-02-23.00.09.40.webm

After:

Screencast.from.09-02-23.00.05.52.webm

@matiasbenedetto matiasbenedetto added the enhancement New feature or request label Feb 8, 2023
Copy link
Member

@mikachan mikachan left a comment

Choose a reason for hiding this comment

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

Nice improvement, works well 👍

@matiasbenedetto matiasbenedetto merged commit c7fb87e into trunk Feb 9, 2023
@madhusudhand madhusudhand deleted the add/spinner-while-loading-google-fonts branch February 16, 2023 06:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants