Designate an xBlock as being mobile-ready (for webview)

Description

(to be reviewed by Platform team)

Implementation Design Proposal

  • Create a new xBlock Mixin class for mobile-ready xBlocks

    • the mixin will have one additional field: mobile_webview_ready (need to finalize on name)

  • Mark the CAPA assessments and HTML xBlocks as mobile ready.

  • Action: Communication with OpenEdx developers

  • Future Note: update demo xblock to have mobile-rendering method and possibly have a mobile-preview mode in the xblock developer toolset.

From Platform meeting: consider using @XBlock.tag

OR

  • Alternatively or in addition, there can be a server-instance specific django setting for which xblock types are considered mobile ready for that server instance.

  • This allows edx.org to have a say in addition to the xblock developer. For example, certain things such as mobile testing and updating CSS for all configurations of an xBlock can be vetted.

From Cale:

  • Use XBlock.tag() for mobile_available

Steps to Reproduce

None

Reason for Variance

None

Release Notes

None

Assignee

Nimisha Asthagiri

Reporter

Nimisha Asthagiri

Labels

Customer

None

URL

None

Groups with Read-Only Access

None

Actual Points

None

Reach

None

Impact

None

Open edX Discourse Thread

None

Platform Map Area (Levels 1 & 2)

None

Platform Map Area (Levels 3 & 4)

None

Contributor Name

None

Blended Project Status Page

None

Story Points

2

Epic Link

Fix versions

Due date

2015/06/08

Priority

Unset
Configure