[BD-13] refactor: Remove unused XModule classes - #31173
Conversation
|
Thanks for the pull request, @Cup0fCoffee! When this pull request is ready, tag your edX technical lead. |
4cef89f to
36a8f22
Compare
This one is a bit tricky. We can import course-xmodules.tar.gz, as it cannot be created directly in Studio (source: #26873). |
Agrendalath
left a comment
There was a problem hiding this comment.
I just left one small suggestion.
👍
- I tested this: checked that it's not breaking existing XBlocks (including
AnnotatableBlock,CustomTagBlock, etc.) - I read through the code
- I checked for accessibility issues: n/a
- Includes documentation: n/a
- I made sure any change in configuration variables is reflected in the corresponding client's
configuration-securerepository: n/a
|
@ormsbee, I just left one small suggestion on the PR, but it's good to go from my end. Would you like to take a look? Edit: my message got duplicated somehow, so I deleted the other one. |
|
@Cup0fCoffee, I guess |
|
@Agrendalath: Just one quick sanity check–after these class removals, will we still have the ability to edit the raw OLX of unknown XBlock types in Studio? If the answer to that is yes, I don't have anything to add here. Is the primary regression risk area going to be Studio authoring? |
|
@0x29a Nice catch! Removing it. |
Removing js file related to it as well, since it's not being used anywhere, unlike with other removed descriptors.
5566921 to
c6895f4
Compare
c6895f4 to
3e9437c
Compare
By "unknown XBlock types" do you mean "XBlocks that are not (and were not) installed in the platform but are imported in a course"? If yes, then it is not working for me on the devstack using the current If you mean editing raw OLX of blocks like
That's right. |
|
@Agrendalath: Sounds good, thank you for the detailed explanation. |
|
@Cup0fCoffee 🎉 Your pull request was merged! Please take a moment to answer a two question survey so we can improve your experience in the future. |
|
EdX Release Notice: This PR has been deployed to the staging environment in preparation for a release to production. |
|
EdX Release Notice: This PR has been deployed to the production environment. |
1 similar comment
|
EdX Release Notice: This PR has been deployed to the production environment. |
Description
This PR removes XModule classes that are no longer being used after the conversion of all the XModules to standard XBlocks.
Testing instructions
Test that when editing in studio the following XBlock work that same as before these changes:
VideoBlock- especially tabs when editingWordCloudBlockOther notes
How can we test#31173 (comment)CustomTagBlock?Private-ref: BB-6732