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

Provide progress data about a task

    XMLWordPrintable

Details

    • Critical

    Description

      In the GUI and via API information about the progress of a task is needed. This includes the following new features:

      1. a new column "Current workflow-step" should be added to the taskoverview which contains the current workflow step. The column is entered behind the column "Project name"
        1. The column should get a list filter
        2. Tasks without any user should have an initial workflow step "no workflow"
        3. This is also set if all users are removed
        4. This no workflow step should also be filterable
      2. a new column "% finished" / "% abgeschlossen" containing just the percentage of the current workflow step (see below). The column gets an info icon in the header (if possible) with the tooltip "% finished by assigned users in the workflow" / "% abgeschlossen durch zugewiesene Benutzer im Workflow". The column is entered behind the column "Current workflow-step"
      3. a new summary column (API only)
      4. The currents workflowstep progress in the editor (simply as button in the editors grey top toolbar with the percentage written on it like "X% finished" "X% abgeschlossen")

      For the progress calculation the segments changed by a PM (status PM Check) are ignored:

      • the job of the PMs is normally not the proofreading (if yes, then the PM is added to the task additionally as proofreader)
      • also the 100% are triggered when all proofreaders press finish (which includes that the PM changes were OK)
      • Also PM Checks / Changes would not be very often.
      • That means for an estimation of the progress the PM changes do not matter

      To 2. percentage column

      The percentage column shows how many segments are already in the defined "final" state for that worklow step. In other words: the column should contain 33 if 33% of the segments are in autostate != not translated if workflow step is translation - and so on. (Perhaps also with a progress bar in the back ground of the column.). We use some kind of progress bar for this, for example
      https://examples.sencha.com/extjs/7.0.0/examples/classic/simple-widgets/progress-bar.html

      If all users of a role have finished, the progress of that step goes automatically 100%, which is not seen in the browser, since the next step is chosen then so the % is down at 0 again.

      To 3. summary

      Another additional column (via API of the task REST path) should provide a summary in the following form:

      [
        {workflowStep: translation, status: finished, progress: 100},
        {workflowStep: proofreading, status: running, progress: 33},
        {workflowStep: translatorCheck, status: open, progress: 0}
      ]
      

      Real-time update of the statistic in the task grid we implement and discuss when changing the grids to websockets.

       

      Attachments

        Issue Links

          Activity

            People

              aleksandar Aleksandar Mitrev
              tlauria Thomas Lauria
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: