jcrodriguez-dis / moodle-mod_vpl

Virtual Programming Lab for Moodle (Module)
GNU General Public License v3.0
97 stars 84 forks source link

Support drag and drop for directories #161

Open FeldrinH opened 8 months ago

FeldrinH commented 8 months ago

The new vpl_evaluation_tests directory is useful and would be a very valuable tool for testing evaluation scripts. However, having to manually rename files to set up the correct directory structure in VPL is quite frustrating. It would be nice if the drag and drop support for files could be extended to support dragging and dropping entire directories (such as the vpl_evaluation_tests directory) into the VPL execution files editor.

FeldrinH commented 7 months ago

For anyone that might come across this issue: I have implemented directory drag and drop support for the VPL editor as a Tampermonkey userscript: https://gist.github.com/FeldrinH/4864be416fd8074819ce552ceea63b0d. Note that the URL-s are configured only for the 'Execution files' editor and only for my university Moodle. If you are from another university or want to use it in the submission editor you will need to add the relevant match URL-s.

jcrodriguez-dis commented 6 months ago

Dear @FeldrinH, Thank you for sharing your insights and contributing to the development of VPL. We are pleased to inform you that in the upcoming release, VPL 4.2.3, we are incorporating a new feature that allows users to rename directories simply by double-clicking on them. This enhancement is expected to improve the process of managing directory structures within VPL.

Your contribution is highly valued, and we encourage you to continue sharing your ideas and solutions.

Best regards, Juan Carlos.