Bug 1235064 - Multiple-field search to filter text flows in Angular editor.
Summary: Multiple-field search to filter text flows in Angular editor.
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Zanata
Classification: Retired
Component: TranslationEditor
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: David Mason
QA Contact: Zanata-QA Mailling List
David Mason
URL:
Whiteboard:
Depends On:
Blocks: 1232090 1235065
TreeView+ depends on / blocked
 
Reported: 2015-06-23 22:31 UTC by David Mason
Modified: 2015-07-28 23:18 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: 3
Clone Of:
Environment:
Last Closed: 2015-07-28 23:18:33 UTC
Embargoed:


Attachments (Terms of Use)

Description David Mason 2015-06-23 22:31:24 UTC
The GWT editor has multiple-field search to filter text flows. The same functionality should be added to the Angular editor.

Key features of the search:

 - suggest available keys when search field is focused
 - filter suggested keys based on input
 - plain text with no keys is added to key "text"
 - has all the keys available in the GWT editor.

Keys to filter by (taken directly from the GWT editor):

 - text: source and target text
 - resource-id: exact Resource ID for a string
 - last-modified-by: username
 - last-modified-before: date in format yyyy-mm-dd
 - last-modified-after: date in format yyyy-mm-dd
 - source-comment: source comment text
 - translation-comment: translation comment text
 - msgctxt: exact Message Context for a string



Technical note: multiple-field search was originally written in JavaScript before porting to GWT, so most of the code could be reusable in the Angular editor.

Comment 1 David Mason 2015-07-08 04:19:15 UTC
 - copy code from GWT editor for most of this feature.
 - add REST endpoint to handle the JSON payloads (current endpoint uses GWT-RPC).
 - include unit tests for the feature


Technical note: if this is converted to a React component, unit testing may be easier.

Comment 2 Zanata Migrator 2015-07-28 23:18:33 UTC
Migrated; check JIRA for bug status: http://zanata.atlassian.net/browse/ZNTA-105


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