Search
From Openmoko
| Not implemented: This article or section documents one or more features that are not implemented and which may never be implemented. |
Contents |
Overview
This article defines the Search Application, an extensible application designed for the OpenMoko platform. This is a Native Stylus-Based application.
Use Cases
Here are some possible use cases:
- I want to search across all files include PIM Storage fields.
- I want to be able to filter search results.
- I want to be able to save "smart" search results.
Layout Components
http://people.openmoko.org/sean/specifications/images/search2.png
- 1) Application Menu -- Additional options related to search objects.
- 2) Filter_Menu -- Filtering options for the list of items.
- 3) Navigation Area -- List of items based on current filter.
- 4) Toolbar -- Primary commands available to items.
- 5) Details Area -- Detailed view of current selected item.
Application Area
Application Menu
| Item | Action | Constraints |
|---|---|---|
| Delete | Opens Dialog prompting for confirmation | Grayed-out when current search result is not a saved search result |
| Help | Opens Help Viewer Application with help for this application |
Filter Menu
| Item | Action | Constraints |
|---|---|---|
| <saved search> | Displays all results from this saved search | |
| Search Results | Displays all items matching current search string |
Navigation Area
Displays list of results from current search using the Navigation Widget. Has the following structure:
| Item | Action | Constraints |
|---|---|---|
| Column 1 | Name of file or portion of text that contains search string |
Tap selecting a row, will display correspoding information in the Details Area.
| NOTE: The title of the above table is the search string. |
Toolbar
Search
Search reindexes, after every keypress, the result membership of the Search Results.
Action Buttons
| Item | Action | Constraints |
|---|---|---|
| Save | Opens Dialog prompting for Search Result Name |
| Item | Action | Constraints |
|---|---|---|
| Mode Any Date | Filters current Search Result for all dates | |
| Mode Today | Filters current Search Result for all changes today | |
| Mode Since Yesterday | Filters current Search Result for all changes since yesterday | |
| Mode This Week | Filters current Search Result for all changes this week | |
| Mode This Month | Filters current Search Result for all changes this month | |
| Mode This Year | Filters current Search Result for all changes this year |
Details Area
http://people.openmoko.org/sean/specifications/images/search_view.png
- 1) Preview -- Preview widget based on the current search item.
Footer Area
Status Bar
Displays the total number of items in the current Search Result.
Constraints
(TBD)
Sessions
- The current item selection and Details Area mode is persistant.
Architectural Details
- The query string, rather than the actual results of the query is stored when a user saves a search result. This allows for "smart" searches. For example, if I search for TRON and then save this search result. Any items containing TRON that I create at a later time will automatically appear in this saved result.
Implementation Recommendations
(TBD)
Interactions
(TBD)
Unresolved Issues
(TBD)
Questions and Answers
(TBD)


