-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
feat!: Replace sass with vanilla css in custom tag block #35759
Conversation
a8236d6
to
a8d22cc
Compare
Sandbox deployment successful 🚀 |
a8d22cc
to
b29a51e
Compare
Sandbox deployment successful 🚀 |
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.
Hey @farhan , thanks for this PR as well as the error report on customtag. I'm still looking into whether customtag block needs to be fixed or removed, which I'd like to do before we merge this PR. I'll get back to you shortly.
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.
On second thought, after reviewing this PR's diff and realizing how small it is, I think it is safe to merge this PR now. The changes here shouldn't overlap at all with the backend error you're seeing. I'll look into the customtag error as a followup 👍🏻
@farhan Glad to see this land. In the future, though, please merge edx-platform changes only within the time window. I know that the time window is mostly outside your working hours--always feel free to message Feanil or I and we're happy to merge any pre-approved PR during our working hours. |
2U Release Notice: This PR has been deployed to the edX production environment. |
1 similar comment
2U Release Notice: This PR has been deployed to the edX production environment. |
feat!: Replace sass with vanilla css in custom tag block
Parent story: #35300
Tasks:
Convert Sass variable into css variables
Compile the css file of the block following given steps.
xmodule/static/css-builtin-blocks
.Replace add_sass_to_fragment to add_css_to_fragment in blocks
.py
fileRemove all .scss files linked to the block under xmodule/assets.
Testing Notes:
npm run build
to run webpack and compile sass files../manage.py lms collectstatic
in lms shell to re-collect static files../manage.py cms collectstatic
in cms shell to re-collect static files.Testing Known Issues:
When I try to add any block from following entry pionts in editor, it throws error.