Bug with invisible draggable categories (also, thread of known bugs missing?)

 avatar
Simojwz avatarSimojwz 45 days
{"ops":[{"insert":"Hi,\n\nI've run into the following issue on Firefox: \nI'm using draggable categories with 'Show empty categories' unchecked. If I try to grab and move a (visible, non-empty) category but there is an invisible, empty category above it (which you can't see, but can spot when you check 'Show empty categories'), I can grab the visible category and move it around, but when I let go of the left mouse button, the visible category snaps back to where it was, and the invisible category will have been moved instead. From what I can tell this happens with 'in deck' and 'in price' both checked and unchecked for the category, and both with a truly empty category and one that has cards in but no cards have it as their main category. \nThis is obviously fixable by checking 'Show empty categories' but that makes for a lot of empty categories around.\n\nI hope this is not a duplicate/known bug; I tried looking for the thread of known bugs, but neither the forum's search function, nor Duckduckgo or Google could find it. \n"}]}
0
 avatar
{"ops":[{"insert":"The reason it happens is because regardless of empty cateogires being on or off, we store the location of a category once its ever been in the deck once draggable cateogries is on. We do this so if you ever enable hidden categories and turn it off, or add a cateogry and remove it, if they ever come back, they go to the spot the user may have moved then to. \n\nSo that part is all expected, but it can cause some issues when reording categories in a single column due to us also maintaining the order of the cateogires that may not be there. Th"},{"attributes":{"background":"var(--light-background)","color":"var(--color)"},"insert":"e reason you're having trouble reproducing anything is because the internal ordering changes everytime you drag a category. "},{"insert":"\n\nUnfortunately, since the internal category order is only viewable in your browser there isn't mucht hat can be done to debug anything on our end. In these kinds of situtions the easiest solution in my experience is to use the draggable cateogy stacking tools to reset the layout to default. Doing so will remove any internal categories that aren't actively on screen, and should fix any issues you're seeing. \n\nIn my experience these kinds of issues are fairly uncommon, but will be more present on decks where the user is regularly turning empty categories on/ off, or adding and removing categories from the deck. \n"}]}
0
 avatar
Simojwz avatarSimojwz 45 days
{"ops":[{"insert":"There is also another, more mysterious bug, where sometimes, with 'Show empty categories' enabled, if I try and drag a (non-empty) category to the bottom of the rightmost column of empty categories, the site refuses and instead moves it to the second to last spot. Both moving the non-empty category down and the empty category at the bottom up don't work, and the non-empty category snaps back to the second to last location. \n\nHowever, I can't consistently reproduce this: it just happened to me, with two different categories, but after a few times of moving the category back and forth among several columns the site suddenly allowed me to put it where I wanted it. \n"}]}
0