-
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
"Graphical Slider Tool" integration into studio #497
Conversation
Please remove cms/templates/widgets/graphical_slider_tool-edit.html from PR |
Please add comment to css why we need it. |
Good to go, as soon as you will address all comments. |
@auraz, done. |
Sorry, 2 failing tests here: xmodule.tests.test_export.RoundTripTestCase.test_graphicslidertool_roundtrip |
Ouch... I'll fix them. My fault. |
@chrisndodge, I've fixed tests and solved pep8 issues. |
Tried branch. Looks good. @talbs does one of the UI people want to review the CSS edits? |
resource_string(__name__, 'js/src/graphical_slider_tool/gst.js') | ||
|
||
] | ||
'coffee': [resource_string(__name__, 'js/src/javascript_loader.coffee')], |
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.
Rather than setting these here, I think it would be better to have something like:
@property
def configuration(self):
return stringify_children(html.fromstring(self.data).xpath('configuration')[0])
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.
@cpennington, thanks for your suggestions. Done.
@property | ||
def configuration(self): | ||
return stringify_children( | ||
html.fromstring(self.data).xpath('configuration')[0]) |
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.
Nitpick: per https://edx-wiki.atlassian.net/wiki/display/ENG/Python+Guidelines?src=search, the final )
should be on the next line.
@cpennington, done python style fix. |
👍 |
"Graphical Slider Tool" integration into studio
…errors Catch errors in module load
…cs_list Fix metrics tab downloads for split mongo courses.
add aes key for cms env
* [feat] Add ID verification Alert to course home if a user has a verified seat, but is in the unverified certificate status state, the certificateStatusAlert will now show a message letting the learner know they need to verify in order to earn a certificate. This does not remove the message about the verification deadline in the right sidebar of the course home.
We add new field "data" and remove "render" and "configuration", but we don't add backward compatibility functionality, cause this "blade" have been never used before with Mongo, so we haven't any stored data and everything will work fine.
@auraz, @cpennington, please review