Bug 877223 - Add "clear" button to search field in workspace
Summary: Add "clear" button to search field in workspace
Alias: None
Product: Zanata
Classification: Retired
Component: Component-UI
Version: 2.0
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
: 2.1
Assignee: Alex Eng
QA Contact: Ding-Yi Chen
Depends On:
TreeView+ depends on / blocked
Reported: 2012-11-16 00:46 UTC by Hedda Peters
Modified: 2013-02-26 04:06 UTC (History)
2 users (show)

Fixed In Version: 2.1-SNAPSHOT (20121129-1444)
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2013-02-26 04:06:20 UTC

Attachments (Terms of Use)

Description Hedda Peters 2012-11-16 00:46:31 UTC
Description of problem:

The simple search function in the editor ("Search Source or Target content") needs a "clear" function that will clear the last search and show all strings again.

Steps to Reproduce:
1. Open any document in workspace
2. Enter search term in search bar at the top, hit Enter
3. n number of results will show
4. In order to clear the search results and view all strings again...:
Actual results:
... you need to remove the search term from search bar and hit Enter again. That is at least one mouse click and two keystrokes. 

Expected results:
... you should be able to click a little "x" symbol (or similar) in the search bar. One mouse click.

Comment 1 Alex Eng 2012-11-26 04:00:26 UTC
Implemented clear button for search field.

See https://github.com/zanata/zanata/commit/49771cbc4071ecf1873bb70fdd243b5a5ecfe453

Comment 2 Patrick Huang 2012-11-26 04:42:50 UTC
clear icon clears the text in the input box but not triggering a page reload(i.e. from search result to full result)

Comment 4 Ding-Yi Chen 2012-11-30 04:47:46 UTC
VERIFIED with Zanata version 2.1-SNAPSHOT (20121129-1444)

Note You need to log in before you can comment on or make changes to this bug.