SecretJ12 / Turnierplaner

Turnierplaner
3 stars 0 forks source link

Assign n schedule #17

Closed FungOliver closed 1 month ago

FungOliver commented 3 months ago

Proof of concept // in development

This PR implements a draggable knockOutTree instead of a list for assignning matches. Saving the order works right now, however, technically properties should be readonly? So what I am doing here is technically undefined behavior? The other solution would be to do emits() and emit() updates up to the parent element.

SecretJ12 commented 3 months ago

@FungOliver const anFin = sleep(firstUpdate ? 0 : 500) was used for a smother loading animation, don't think it has something to do with reloading

SecretJ12 commented 3 months ago

Like the new version, definitely more reasonable than my previous design

Maybe we could try to align those lines? grafik

Refactoring would be defnitely worth it, also the code in the backend could be simplified a lot