-
Improvement
-
Resolution: Unresolved
-
None
-
None
-
High
-
-
Emptyshow more show less
Atomic delete
Toss out internal key for atomic delete. Use all segment data instead.
Result table
Remove internal key and segment Id columns.
In cell with actions for segment we have to add 2 new buttons:
- Delete all with same source:
- On click FE will show confirmation window that all segments with same source regardless of current active filtering will be deleted
- FE will send source text and list of selected LRs.
- On OK response from back end FE will remove segments with same source text in already loaded list of found segments.
- Other fields do not matter
- Delete all with same source + target:
- On click FE will show confirmation window that all segments with same source and target regardless of current active filtering will be deleted
- FE will send source text, target text and list of selected LRs.
- On OK response from back end FE will remove segments with same source and target text in already loaded list of found segments
- Other fields do not matter
Handlers of new delete buttons
Delete all with same source
Source text + LR ids will be received as params.
We will do fuzzy search with source text and delete all 100 matches one by one from highest internal key to lowest.
If t5memory responds, that segmentId does not match internalKey in delete request, we will redo fuzzy search.
Delete all with same source + target
Source text + target text + LR ids will be received as params.
We will do fuzzy search with source text and delete all 100 matches one by one from highest internal key to lowest where target text is exactly same as passed.
If t5memory responds, that delete is unsuccessful we will redo search and try delete founds again until no founds there.
- is blocked by
-
TRANSLATE-5087 Check for duplicates on segment updates
- Front-end testing