Multiple-field search to filter text flows in React editor.

Description

The GWT editor has multiple-field search to filter text flows. The same functionality should be added to the javascript 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 javascript editor.

Environment

None

Attachments

3
  • 06 Mar 2017, 12:50 am
  • 06 Mar 2017, 12:50 am
  • 06 Mar 2017, 12:50 am

Web links

Activity

Show:

Former user 20 April 2018 at 00:24

We are closing all the old issues to have more clarity in our backlog for Zanata project. Feel free to re-open or leave a comment if you require our attention on your Jira.

Former user 6 March 2017 at 00:50

mockups attached

Bugzilla Migration 28 July 2015 at 23:18

David Mason commented:

  • 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.

Details

Assignee

Reporter

Story Points

Components

Priority

More fields

Created 28 July 2015 at 23:18
Updated 20 April 2018 at 01:25

Flag notifications