keeleinstituut / tv-tolkevarav

Tõlkevärav (Translation Hub)
1 stars 0 forks source link

Source files and ready files issues #714

Open plakitkelly opened 4 months ago

plakitkelly commented 4 months ago

If the same user is doing different tasks (tõlkimine, toimetamine), the files uploaded in the previous step, should be in the source files table in the next step.

Steps:

  1. Create new project (tõlkimine, toimetamine)
  2. Assign one user to both tasks
  3. Upload the finished file in first task and end the task
  4. Accept the 2nd task

image

Actually fail1 should be in "Minu lähtefailid" table. It should be like this image

And this problem causes that PM sees both files were uploaded in toimetamine task. image

Actually one was uploaded in tõlkimine task

KaarelKa commented 2 months ago

@MariusJulius Is this relevant ?

plakitkelly commented 2 months ago

image

KaarelKa commented 2 months ago

@MariusJulius This needs BE changes. The design doesn't match BE logic, so currently we have a FE "hack" to get around it.

Basically "Lähtefailid" consists of the actual source files of the subproject + all the final files that were not added by the current user. There is no

Currently from the perspective of BE all of these are final files. The only way we separate them on FE is by checking if they were done by the the current user or not. If they were, we display them under "Minu valmisfailid".

Same is true for the "Ülesanne" part. Currently BE doesn't send any information about where the final file came from. We just have source files, final files and help files

MariusJulius commented 1 month ago

File update logic wasn't initially clearly defined in the analyse and thus it needs a rework now.

Can't estimate, needs to be analysed.