HI Peter!

Thank you for really quick feedback.

Looks like I've failed to express that, but the idea is to have generic 
XBlockTab living in edx platform (or in separate repo always installed with 
edx platform), so there would be exactly one XBlockTab (not one specific 
tab per XBlock). In such case the tab itself should not cause any 
import-export trouble.

Contents of the tab could, but that's just the case with normal course 
content, so I believe the same approach should be taken here (unrecognized 
blocks ignored). I believe we can extend/improve it to actually fail import 
or notify user more aggressively if some XBlock is not available.

And I've just looked into course Export XML - some work might be needed 
there, but nothing really problematic as far as I can tell.

To sum up: with proper implementation from author perspective import-export 
should not change at all. From developer perspective, export format won't 
change too - but maybe a bit extended. Code to perform export and import 
might need some alterations too, but nothing really complex.

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

On Tuesday, June 28, 2016 at 4:13:16 PM UTC+3, Peter Pinch wrote:
>
> How would this affect course import and export?
>
> I believe unrecognized blocks are ignored on import, but that may be 
> harder to do with tabs, since they are specified in policy.json.
>
> I'd also want to make sure that there is some meaningful logging and error 
> messaging to the user when a course is imported and the proper XBlockTab 
> hasn't been installed. 
>
> On Jun 28, 2016, at 9:06 AM, [email protected] <javascript:> wrote:
>
> 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
>  
> <https://groups.google.com/d/msgid/edx-code/ad852782-b1e2-46ba-85bc-8d93db72048a%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
>
>

-- 
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/0cf76be6-5293-4db6-a053-78052088b7f0%40googlegroups.com.

Reply via email to