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

[SVCS-566]Update MFR Loading Spinner To Follow OSF Style Guide #324

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

NyanHelsing
Copy link
Contributor

@NyanHelsing NyanHelsing commented Mar 26, 2018

Ticket

https://openscience.atlassian.net/browse/SVCS-566

Purpose

Get rid of old loading spinner

Changes

replaced old spinner with new pure css osf-style spinner

Side effects

None

QA Notes

#Deployment Notes

@NyanHelsing NyanHelsing changed the title Update mfr loader [][SVCS-566]Update mfr loader Mar 26, 2018
@coveralls
Copy link

coveralls commented Mar 26, 2018

Coverage Status

Coverage remained the same at 71.117% when pulling c20b137 on birdbrained:update-mfr-loader into 5caac67 on CenterForOpenScience:develop.

Copy link
Contributor

@cslzchen cslzchen left a comment

Choose a reason for hiding this comment

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

The code hasn't been updated for more than a month. Can you rebase to the latest MFR, reset/refactor the commits into one or two, and test a few extensions locally? A few screenshots are recommended in the PR/ticket so I know what to and not to expect. Back to you, thanks! 🔥

@cslzchen cslzchen self-assigned this Jun 18, 2018
@cslzchen cslzchen changed the title [][SVCS-566]Update mfr loader [SVCS-566]Update MFR Loading Spinner To Follow OSF Style Guide Oct 26, 2018
AddisonSchiller and others added 2 commits October 26, 2018 11:55
Users prefer the pulsing ball to the COS-logo spinner.  Please see
https://centerforopenscience.github.io/osf-style/style.html#loader

This doesn't really affect the iframe content served by MFR. Instead,
this changes happens in the mfr.js and mfr.css files loaded from MFR
by the site hosting the iframe.  The fact that mfr.js is included in
most iframe content templates is a development artifact and will be
eventually removed.
[skip ci]

Three commits that has been squashed:

Anchor loader pulsar to avoid jumping around

 * Hide iframe until load message is received.

 * Use absolute positioning for loader.

Fix iframe hiding to avoid breaking stl, pdb, and images

 * Switch to using `opacity: 0.0` instead of `display: none` to hide
   iframes that are still being built.  Use of `display: none` was
   causing OpenGL-based renderers (pdb and 3D-object) to fail, and was
   disabling image zoom for large images.

Only style the mfr loader'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants