10000 Fix Flash of Unstyled Content by removing remaining Flipcause integration by marcelm · Pull Request #12182 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content

Fix Flash of Unstyled Content by removing remaining Flipcause integration #12182

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

Merged
merged 2 commits into from
Sep 20, 2018
Merged

Conversation

marcelm
Copy link
Contributor
@marcelm marcelm commented Sep 20, 2018

The aim is to fix the “Flash of Unstyled Content” when loading any matplotlib documentation site (just reload a couple of times and it is quite visible). The problem is the <iframe> in the footer that is part of the Flipcause integration. Removing it gets rid of the FOUC.

It appears that the entire Flipcause integration is not used anymore
since commit 5c3b3ef, in which
the JavaScript Flipcause buttons were replaced with normal links. That
commit removed the JavaScript part of the Flipcause integration, but
not the styles. This PR removes the rest.

I could not test this locally as my Sphinx build would not finish.

This also removes all remaining Flipcause integration code.

The problem is the <iframe> in the footer that is part of the Flipcause
integration. Removing it gets rid of the FOUC.

It appears that the entire Flipcause integration is not used anymore
since commit 5c3b3ef, in which
the JavaScript Flipcause buttons were replaced with normal links. That
commit removed the JavaScript part of the Flipcause integration, but
not the styles.
A space character was missing
@ImportanceOfBeingErnest
Copy link
Member

Similar to #12181 this should be PR'ed against the master branch, not v3.0.0-doc.

@marcelm marcelm changed the base branch from v3.0.0-doc to master September 20, 2018 12:24
@marcelm
Copy link
Contributor Author
marcelm commented Sep 20, 2018

Yes, thanks, I had to search a bit until I found where I had to click to change the base branch.

@timhoffm timhoffm added this to the v3.0.x milestone Sep 20, 2018
@tacaswell tacaswell modified the milestones: v3.0.x, v3.0.0-doc Sep 20, 2018
@tacaswell tacaswell merged commit 6776e0c into matplotlib:master Sep 20, 2018
@marcelm marcelm deleted the fix-fouc branch September 21, 2018 08:38
@tacaswell
Copy link
Member

@meeseeksdev backport to v3.0.0-doc

meeseeksmachine pushed a commit to meeseeksmachine/matplotlib that referenced this pull request Sep 21, 2018
tacaswell added a commit that referenced this pull request Sep 21, 2018
…182-on-v3.0.0-doc

Backport PR #12182 on branch v3.0.0-doc (Fix Flash of Unstyled Content by removing remaining Flipcause integration)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
0