On Tue, Jun 28, 2016 at 8:13 AM, Peter Pinch <pdpi...@gmail.com> 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. > In fact question could be extended to: in future any xblock can add a tab ? > > 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, eug...@opencraft.com 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/CFAAC85C-CE8E-4A56-819C-F1610A0C730A%40gmail.com > <https://groups.google.com/d/msgid/edx-code/CFAAC85C-CE8E-4A56-819C-F1610A0C730A%40gmail.com?utm_medium=email&utm_source=footer> > . > -- [image: Cristian Salamea on about.me] Cristian Salamea about.me/ovnicraft <http://about.me/ovnicraft> -- 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/CA%2B16coN%3DuptO3CmZSP9ZSq4PSosAUuGL6MVKjvrE0xiQf-nukw%40mail.gmail.com.