dodona-edu / dolos

:detective: Source code plagiarism detection
https://dolos.ugent.be
MIT License
262 stars 32 forks source link

Add drag and drop feature to upload zip to server #1126

Open BTWS2 opened 1 year ago

BTWS2 commented 1 year ago

image

BTWS2 commented 1 year ago

Clicking on "Upload a file", results in a warning: File is required.

https://github.com/dodona-edu/dolos/assets/56451049/cd1bacdd-2e27-4126-9faf-cb3bab071499

rien commented 1 year ago

This warning is intentional - a ZIP-file is required to start an analysis.

We can add support for drag-and-drop while implementing #1121.

BTWS2 commented 1 year ago

Thank you for considering the drag-and-drop feature.

My minor remark was that there is a warning when the user is still busy with selecting the file. I would expect the warning is only shown when continuing the form by typing a file name, choosing a programming language or pressing the Analyse button without uploading a file (which isn't possible because it's grayed out).