[Sugar-devel] RFC:Simple Help widget for activities

Gonzalo Odiard gonzalo at laptop.org
Wed Mar 7 07:37:49 EST 2012

We receive many times request about adding help in the activities,
and if is true Sugar propose a exploratory approach,
not all the people learn in the same way,
and there are people who prefer a little guidance.

For the development we need a simple api, and easy i18n,
and a non obtrusive experience for the user.

Inspired by the DescriptionItem, I was experimenting with a widget to add
simple help to activities.
This is not:
* A manual
* Lessons
* Tips
Is a short startup help for the activity.

Use only text and the icons already used by the activity.

A example can be seen here:

In the activity we only need do:

    helpitem = HelpButton()
    toolbar.insert(helpitem, -1)
    helpitem.add_section(_('Basic usage'))
    helpitem.add_paragraph(_('First you need add data to create the
    helpitem.add_paragraph(_('You can add data with this button'),
    helpitem.add_paragraph(_('...or remove data with this button'),
    helpitem.add_paragraph(_('To change the graphic title, just change the
activity title'))

This proposal is late for sugar 0.96, but may be we can try it in one or
two activities,
and start thinking about this topic.
I really like the help in the Implode activity, but have the following
* I don't know if apply to other type of activities.
* Is modal
* need a lot of code to implement it.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20120307/d40e1644/attachment.html>

More information about the Sugar-devel mailing list