Open plakitkelly opened 4 months ago
@MariusJulius Is this relevant ?
@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
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.
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:
Actually fail1 should be in "Minu lähtefailid" table. It should be like this![image](https://github.com/keeleinstituut/tv-tolkevarav/assets/130659408/dc2a0d5a-a01f-47fe-80b2-cb66d691456b)
And this problem causes that PM sees both files were uploaded in toimetamine task.![image](https://github.com/keeleinstituut/tv-tolkevarav/assets/130659408/23f8de21-27de-40b3-ab49-759e083a6ba0)
Actually one was uploaded in tõlkimine task