-
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
Add ui in studio for conditional_module. #11710
Add ui in studio for conditional_module. #11710
Conversation
Thanks for the pull request, @oksana-slu! I've created OSPR-1177 to keep track of it in JIRA. JIRA is a place for product owners to prioritize feature reviews by the engineering development teams. Feel free to add as much of the following information to the ticket:
All technical communication about the code itself will still be done via the GitHub pull request interface. As a reminder, our process documentation is here. If you like, you can add yourself to the AUTHORS file for this repo, though that isn't required. Please see the CONTRIBUTING file for more information. |
Thanks for the PR! I just took a quick glance at it, and the approach looks good to me (simple, and doesn't impact our longer term plans to make this an XBlock). I'm not really familiar with this module, but my only concern would be around data migration -- testing that old courses still import correctly with the new fields, and that there aren't odd ways to create legitimate conditional blocks that would break your UI, etc. |
@scottrish product review? |
d23a863
to
fe964ca
Compare
@justinabrahms @ormsbee |
@oksana-slu This will need UX review as well as regular engineering review. I've created a second ticket in JIRA, you can find it there. |
@jbarciauskas |
Hi! Thank you for the sandbox setup here and the details, I'm excited for what this will enable for our course teams in Studio! I would love to set up some time to review this in more detail to make sure I understand all the configuration options and the workflow for authors. Would it be possible to find some time to meet virtually? If it helps with scheduling we can use calendly.com/marcotuts Thanks! |
@marcotuts |
@marcotuts did you get together to review this? |
@jbarciauskas We did meet, and THIS is the PR that I owe a product review / response. I will get to that before Monday for sure, apologies for the delay on this @oksana-slu! Thanks |
@marcotuts ping |
@marcotuts we need to do something with this PR. If we aren't going to be able to respond, we should say that. |
Here is a summary of the product feedback so far.
@oksana-slu - I'm able to occasionally access the sandbox, could that be updated again? Apologies again for the delay on this. FYI's |
@felipemontoya I know this PR still needs to undergo a review, but I wanted to call out the Flow control XBlock work you did and see if it would be possible spark some discussions with @oksana-slu and team in the future (after this PR, more than likely) about how certain conditional block fields might be improved. As an example, the flow control XBlock's message area being a WYSIWYG area is interesting. Similarly, the (more extensible) actions / options you have in the flow xblock might be interesting to explore further within the 'conditional' block world. |
@marcotuts |
@oksana-slu Sorry, I can move my comment for 8 to the other PR, you are correct that it mostly concerns this other PR's effort. Thanks! |
@marcotuts |
@oksana-slu - Any sense of when you will be able to get to the conditional poll bokchoy test failure? After this @andy-armstrong can continue his review. |
@marcotuts See @oksana-slu's comment regarding getting help about that test specifically. Any idea who can help with that from our end? |
@andy-armstrong - Are there any confluence pages / suggestions we could link @oksana-slu to re: common issues with: "local test success / jenkins test fail" situations. I know it came up in conversation that it might be a situation of needing some sort of wait() or time related delay? I couldn't find the correct Confluence resource myself. edit: cc'ed @benpatterson in case he has suggestions on 'common / semi-common testing issues' documentation that might exist currently. |
@oksana-slu @marcotuts here's a wiki with some tips for Bok Choy: https://openedx.atlassian.net/wiki/pages/viewpage.action?pageId=39583991 |
@marcotuts @andy-armstrong |
1f35b2a
to
c45d2ff
Compare
@andy-armstrong @marcotuts |
@oksana-slu That's great news that you got all the tests to pass! I'll be able to re-review this on Monday. Could you check that the sandbox is up-to-date before I start. Also, did you address the label changes that @catong recommended? |
@andy-armstrong login: staff@example.com |
@oksana-slu for some reason, I'm not seeing the "Conditional Location ID" on the sandbox for any components that I add to the course. That makes it hard to use the feature (although I can work around it). Does it need rebasing to pick up that feature? |
@oksana-slu the feature works great! I have a few pieces of feedback on the UI but nothing that cannot be treated as follow-on stories just so you can merge all your hard work here.
You can see a live component in my test course on your sandbox:
I'm going to review the code now. |
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.
@oksana-slu thanks for addressing all of my feedback. This is a fantastic feature and looks ready to go from my standpoint. I'll merge it once we have the necessary sign off from the other reviewers.
@catong can you re-review when you have a chance to verify that the strings are all as you had in mind. Thanks! |
It looks like it takes multiple "source" components and applies the same And yes, some documentation will definitely be necessary, if nothing else Very glad to have this functionality moving into Studio. On Mon, Oct 3, 2016 at 12:15 PM, Andy Armstrong notifications@github.com
|
@Colin-Fredericks Thanks for the feedback, Colin. I agree that we need a variety of documentation to help folks with this feature. Note that there is some help text beneath each attribute in the settings modal: I'd still like to see documentation on the page detailing what to do, because it starts out as a blank page with a single edit button. We also need online documentation if authors are going to be able to work out what to do. |
@catong do you have an ETA for a review of this PR? The documentation changes you requested have all been made, so my preference would be to merge this and have a follow-up story to add some inline help text. Thanks! |
@andy-armstrong I agree that improvements to the inline help can follow, but the accompanying course author documentation is still in progress. I think it is Product's (@sstack22) call whether to get this feature out on prod without accompanying doc. |
Sorry - I guess it was @marcotuts who was involved with this PR. |
@catong Note that the RC has been cut for next week's release, so the feature won't be live until the following week at the earliest. I also think that it is okay if the documentation isn't released at the same time, since this is an esoteric feature that must be enabled through an advanced setting, so folks won't be affected by it unless they've been following this work. @sstack22, are you comfortable giving thumbs in @marcotuts's absence, or shall we wait for him to return? Thanks. |
@andy-armstrong Thanks for clarifying the release timing. I thought this week's RC had not yet been cut today and did want @sstack22's confirmation. |
@andy-armstrong - I can definitely review, but most likely will be able to on Tuesday. Let me know if this is urgent though! |
cc'ed @andy-armstrong, @catong, @sstack22 - Ok to merge this in as in I think. A separate follow-on story for in-context documentation can be added to the backlog, and any announcement of this UI in studio can be gated until we have the base documentation. Thoughts on that? (Excited to see this nearing merge!) |
@oksana-slu @marcotuts @catong I've created a new JIRA story to add some inline documentation to this view: https://openedx.atlassian.net/browse/TNL-5732 I'm going to go ahead and merge this PR now. Thanks for the great work here, @oksana-slu! |
Background: Usage and modification of Conditional Module can be undertaken only with course import/export mechanism. Now Creation and modification of Conditional Mode are enabled within Studio functionality.
Studio Updates: The next file is modified: common/lib/xmodule/xmodule/conditional_module.py . For new functionality, the next tests are corrected: common/lib/xmodule/xmodule/tests/test_conditional.py; the new tests are added.
LMS Updates: None
Testing: