Features/Optional activity updates: Difference between revisions
No edit summary |
|||
| (7 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
[[Category:FeatureLanded|Optional activity updates]] | [[Category:FeatureLanded|Optional activity updates]] | ||
</noinclude> | </noinclude> | ||
| Line 33: | Line 32: | ||
== Scope and implementation == | == Scope and implementation == | ||
A initial implementation can be found in [https://github.com/tchx84/sugar/commits/optional-updates | A initial implementation can be found in [https://github.com/tchx84/sugar/commits/optional-updates here]. The changes are: | ||
* extend microformat parser to extract a new olpc-activity-optional field. | * extend microformat parser to extract a new olpc-activity-optional field. | ||
| Line 40: | Line 39: | ||
* do not select activities marked as optional in the updater UI list. | * do not select activities marked as optional in the updater UI list. | ||
This implementation is backwards compatible. Deployment that don't need to use this feature can simply ignore it | This implementation is backwards compatible. Deployment that don't need to use this feature can simply ignore it. This field is used only on entries that need to be marked as optional. | ||
== How to test == | == How to test == | ||
Modify your microformat file ( | Modify your microformat file (ie., wiki or [https://github.com/tchx84/bundletools bundletools]) and only mark optional activities entries as follows: | ||
<pre> | <pre> | ||
| Line 58: | Line 57: | ||
== User Experience == | == User Experience == | ||
User experienced is untouched | User experienced is untouched. | ||