Hello world!

*Background*: OEP is a new (suggested) format for proposing changes to Open 
edX platform. More 
details: https://github.com/edx/open-edx-proposals/blob/master/oeps/oep-0001.rst

*Idea: *Allow XBlocks to be displayed in a course tab (like Progress, 
Discussion, etc.)

*Motivation: *

   - In order to completely pull out discussions from edx-platform. 
   discussion XModule is (almost) converted to an XBlock 
   <https://github.com/edx/edx-platform/pull/12582>. The next step would be 
   to replace course discussion tab with discussion XBlock-based solution.
   - This might be useful for building instructor tools (example of a tool 
   that could benefit from this 
   
<https://github.com/open-craft/problem-builder/blob/master/problem_builder/instructor_tool.py>).
 
   This is related to other thread on mailing list 
   <https://groups.google.com/forum/#!topic/edx-code/Zd2sKQaMhHI> - kind of 
   alternative implementation.

*Tentative implementation details: *

*tl;dr*: XBlockTab (working name) will be similar to existing StaticTab 
(powers "Custom Page" feature) and use nested XBlocks concept to allow 
using any XBlock (component?) in a Tab.

Overall, it would work like that:

   - "Pages" page in Studio will have "Add XBlock Page" button added; this 
   button will cause XBlockTab to be added to a course
   - In studio XBlockTab will expose UI for adding XBlocks and (most 
   likely) other components (problems, video, etc.), similar to one found in 
   course Outline editor (Unit page). At a glance it looks like it could be 
   exact same UI, but it is not 100% clear yet.
   - Components added to an XBlockTab will be persisted to the modulestore 
   using the same mechanism to allow nested XBlocks.
   - In LMS, XBlockTab will render its children (nested) components 
   sequentially - much like "Unit" (aka vertical module).


I'm about writing an OEP this week, so feedback and ideas are very welcome.

Regards,
Eugeny
@Opencraft <http://opencraft.com>

-- 
You received this message because you are subscribed to the Google Groups 
"General Open edX discussion" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/edx-code/ad852782-b1e2-46ba-85bc-8d93db72048a%40googlegroups.com.

Reply via email to