Closed Hottinho closed 1 year ago
Hi @Hottinho thanks for documenting this! When I worked on this part I also noticed there're still some weird issues but sometimes I also failed to reproduce, hence fixing the obvious issues first. It's a combination of dnd + react query lol. I'll try to reproduce the bug on main and if I can't you could show me tmr. :)
One confirmed bug - when deleting a column that has a card inside, it will fail.
Potential solutions are:
There seems to be a problem with a position being assigned twice (see "positioninBoard" in prisma studio screenshot)
I noticed when you create a new column and later delete one or more, more than just the deleted columns disappear from the Kanban board. Sometimes also a column other than the created one disappear.
In parts this seems to be a visual/rendering problem because after a manual refresh or the browser the deleted column is gone and the others who were not deleted re-appear again. Since I have deleted all standard columns and created a bunch of new ones for my user, I'm not sure of the exact steps for reproduction, but it seems to have to do with the color assigned to the newly created column.
Expected behaviour: New column will be added. Shown behaviour (if new column has same color as other new column): New column will be added but other column disappears.
Expected behaviour: Column will be deleted. Shown behaviour: All user created columns with same color will disappear, too.