Changes

Jump to navigation Jump to search
Created page with '<noinclude>{{TOCright}} Category:Feature Page Incomplete Enhanced color selector Enhanced color selector </no…'
<noinclude>{{TOCright}}
[[Category:Feature Page Incomplete]]
[[Category:Feature|Enhanced color selector]]
[[Category:Feature Initialization Screen|Enhanced color selector]]

</noinclude>

== Summary ==
This is an enhancement to the color selector used in the About Me control panel and the initialization screen (same behavior but a different code base). It enables the user to cycle through color choices as well as jump randomly, which is the current default behavior.

== Owner ==
* Name: [[User:Walter|Walter Bender]]
* Email: <walter at sugarlabs dot org>

== Current status ==
* Targeted release: (0.88)
* Last updated: (17 November 2009)
* Percentage of completion: 100%

== Detailed Description ==
Buttons are added to either side of the XO icon currently used to randomly cycle through the valid-XO-color list. On the left is a button that cycles through the list in one direction. On the right is a button that cycles through the list in the other direction. Smaller XO icons to the left and right of the new buttons show a preview of the colors that will be selected if the button (or icon) is pressed. There is also a keyboard shortcut (Ctrl-Z) to undo the last change.

A video showing (a slightly out of date) new color selector is available here: [http://www.dailymotion.com/video/xb44q3_color-selector-2_tech]

== Benefit to Sugar ==
There have been many requests for an undo button as people often go past the color they were interested in. This enhancement also lets you cycle more systemically as similar colors are cluster within the valid-color list.

== Scope ==
To implement this feature, I needed to make changes in three places:

* In sugar-toolkit/src/graphics/xo-color.py I added new methods for getting the next and previous colors in the list
* In sugar/src/jarabe/intro/(colorpicker.py, window.py) I added the new buttons and callbacks
* In sugar/extensions/cpsection/aboutme/(model.py, view.py) I added the new buttons and callbacks

== How To Test ==
{{:{{PAGENAME}}/Testing}}

== User Experience ==
Anyone who has used Sugar in the past who sees this feature immediately smiles. One can debate the details of the implementation (See [http://lists.sugarlabs.org/archive/sugar-devel/2009-November/020713.html]) but not the need for this feature.

== Dependencies ==
No additional dependencies are required to implement this feature.

== Contingency Plan ==
None necessary, revert to previous release behavior.

== Documentation ==
See [http://www.dailymotion.com/video/xb44q3_color-selector-2_tech]

== Release Notes ==
''The Sugar Release Notes inform end-users about what is new in the release. An Example is [[0.84/Notes]]. The release notes also help users know how to deal with platform changes such as ABIs/APIs, configuration or data file formats, or upgrade concerns. If there are any such changes involved in this feature, indicate them here. You can also link to upstream documentation if it satisfies this need. This information forms the basis of the release notes edited by the release team and shipped with the release.''

== Comments and Discussion ==
* See [[{{TALKPAGENAME}}|discussion tab for this feature]]

Navigation menu