Uploaded image for project: 'translate5'
  1. translate5
  2. TRANSLATE-5103

Improve deletion of Segments in Maintenance

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • None
    • None
    • t5memory
    • High
    • Hide
      Improve deletion of Segments in Maintenance:
      Improve deletion of singular segments
      Add new button "Delete all with same source"
      Add new button "Delete all with same source + target"
      Show
      Improve deletion of Segments in Maintenance: Improve deletion of singular segments Add new button "Delete all with same source" Add new button "Delete all with same source + target"

      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:

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

            sanya@mittagqi.com Sanya Mikhliaiev
            sanya@mittagqi.com Sanya Mikhliaiev
            Leon Kiz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: