Skip to content

Commit

Permalink
Merge pull request #9 from caesar2164/update-readme-feb2019
Browse files Browse the repository at this point in the history
Update readme to explain xBlock behavior
  • Loading branch information
caesar2164 authored Apr 10, 2019
2 parents 65fcd0c + 857fcf1 commit 07db7b7
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,17 @@ Customization
-------------
The button label, introduction, and steps can both be customized by clicking the `Edit` button on the component.

The steps of the platform tour are respresented as a list of dictionaries. There
are 16 original steps that can be amended or removed.
The steps of the platform tour are respresented as a set of checkboxes. Users in studio can uncheck checkboxes to
prevent steps from being shown to users in the LMS.

v1 features and limitations
---------------------------
- Checkbox selections are saved as a list of keys.
- Making any changes in Studio (or just clicking the Save button for the component in Studio) saves the list of
keys to the database, which effectively "locks" the list.
- This means the "order" and "step selection" of the list is saved, and does not automatically update with new
versions of the xBlock.
- Changes to the values corresponding to the following keys: `title`, `element`, `intro`, and `position` in the
`default_steps.py` file **DO** get applied even if the xblock is saved into the database in Studio.
- However, the order and choice selection **DOES NOT** update. (i.e. if the xblock is updated to change the order
in which the steps are displayed or a new step is added.)

0 comments on commit 07db7b7

Please sign in to comment.