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.
- 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.
Migrated; check JIRA for bug status: http://zanata.atlassian.net/browse/ZNTA-105