Open Titiftw opened 2 months ago
Thank you soo much for this PR! Really appreciate it! I've just looked through the code roughly and put some notes down. Please address them or comment on them and mark them as resolved
afterwards. Another thing I haven't seen: Where's the YouTube player? maybe I just missed it. I'll also have to test this code locally. Again, many thanks for such a huge PR!
Owner
The YouTube player is done using iframe: Once the link is added to the card, it gets displayed on it: Might still be missing from the Admin card as I didn't test it fully as I realized that the YouTube video title would be showed to every body... Not the greatest idea for Blind tests.
@mawoka-myblock I'm having issue "unlinking" images/musics from a quiz. If I remove a music or an image from a quiz and it becomes unused in any quiz, the call "/storage/list" still shows it as part of a quiz which prevents the file delete button to appear. It seems that the storage worker line await new_quiz.storageitems.remove(item)
always fails as the item UUID doesn't exist.
Any idea what's wrong?
I'm gonna have to look into that when I got time. Expect the weekend in 3 days
I haven't forgotten you yet!
No worries @mawoka-myblock, take your time! In the meantime, I also worked on another feature to fix several points which were blocking my tests:
I'll create another PR if you don't mind!
Okay, so I got it installed and here are some things I noticed:
I could fix them myself, though some need an explanation on your side ;)
The "view" page also seems to be missing the Youtube player, just like the "Practice" mode
Hi @mawoka-myblock, let me answer your questions:
Hi, I found your project and I really enjoyed it. However, it was lacking few functionalities that I tried to add myself. Note that I am not a Python nor a Svelte expert but if it may help you, it includes Music upload and YouTube (that one might require some fanciness on the link input). I'm missing software for the translations though.
If you think this can help you, feel free to use it. If not, then please discard that PR!
Kind regards, Jason