-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Hotfix - LMS: Revised CSS Architecture (resolves LMS_1020) #1320
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
Conversation
|
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.
Indentation looks wrong here
|
The only issues I'm seeing are around whitespace, and are optional to fix for this hotfix. |
|
@talbs looks good. I'd like to check it once more on staging once it's up since I can't load it on my own local. |
|
After much finagling (thanks to @singingwolfboy and @jarv), I've been able to proof these new production-level css files on a sandbox. I ran https://gist.github.com/psebborn/1885511#file-countcssrules-js in the console on a course view (which contains all of our produced CSS). Here is a screengrab of the results (note that the gist's warning message syntax is broken - our rules are under the limit here - http://blogs.msdn.com/b/ieinternals/archive/2011/05/14/10164546.aspx). the counts per sheet above the warning are what matter I'll re-test this once its good to be placed on staging. |
|
@cpennington and @frrrances, thanks for the help. I've addressed the indentation notes. |
|
This commit is on staging. We have decided to wait until Tuesday to release it. But please go ahead and test it on staging and give your thumbs up or thumbs down for this PR. |
|
@talbs thanks for tackling this! you've done a heck of a job getting this to done. I noticed a few things in our review:
I'm going to keep digging in so I will let you know if I come across anything else. |
|
@talbs: One last question if you have the pipeline working on your local, have you checked the old front-end/marketing site? Once you've tackled all the issues I mentioned, this is good to go. 👍 Thanks again for taking this beast on! |
|
Closing this PR as we're trying to get this work into the current release planned for 10-17. A new PR for that effort has been made - https://github.com/edx/edx-platform/pull/1365 |





This is a copy of an original pull request made against master - https://github.com/edx/edx-platform/pull/1320
This LMS work helps to:
This work brought up large concerns:
These two points really concern me and I highly recommend a very deep revamp/cleaning of the Sass architecture shortly. I've tested the display of many pages locally, but each page's display should really be stress-tested to ensure there are no visual regressions. If you want to test the number of rules being used, crack open your console and run this gist in a view - https://gist.github.com/psebborn/1885511
Per Rob/Miki, its been decided to merge this change into the release branch.