Features/Replace combo box in journal search

From Sugar Labs
Jump to navigation Jump to search



Summary

When lots of activities are installed, the "what" combo box on the Journal toolbar becomes unwieldy. This feature would replace the combo box with a palette. Journal-filters.png

Journal-what-palette.png

Journal-what-palette-manuq.png

Owner

Current status

  • Targeted release: 1.02
  • Last updated: 2014-02-17
  • Percentage of completion: 95% (patch written, awaiting further design review)

See https://github.com/walterbender/sugar/tree/replace-combo-boxes

Detailed Description

When lots of activities are installed, the "what" combo box on the Journal toolbar becomes unwieldy. This feature would replace the combo box with a palette (as shown in the figure). (In addition, the current implementation of the combo box sorts the activities by bundle_id, not very useful. The new code would sort by Activity name.)

From the palette, you see more choices w/o needed to scroll. Plus the palette is much easier to use with touch.

A palette is also used for the "when" filter for consistency.

Benefit to Sugar

This feature will help us scale to more activities.

Scope

The intervention is limited to:

  • sugar/src/jarabe/journal/journaltoolbar.py
  • sugar-artwork/icons/scalable/actions/view-type.svg, a new icon for the what filter, and
  • gtk-toolbar-style = GTK_TOOLBAR_BOTH_HORIZ in gtk3/theme/settings

How To Test

Features/Replace combo box in journal search/Testing

User Experience

The user will see a palette displayed instead of a combo box. In the example illustrated, it means that rather searching through an un-alphabetized list in a combo box 10x the screen height, the user scans 2.5 screens of items in alphabetical order.

Dependencies

No new dependencies

Contingency Plan

There is no adverse impact if this feature does not land.

Documentation

Release Notes

Comments and Discussion