canon icon indicating copy to clipboard operation
canon copied to clipboard

Drag and drop table rows

Open alainacoppa opened this issue 10 years ago • 5 comments

CDN has a need for drag and drop table rows and I believe @annwa also needs it for MyRack. I have a design and desired behavior below.

How many CPs would want to use this before it would be considered as a Canon pattern? If we don't want it as a Canon pattern now, is there anything that I should try to communicate to the Backups team in terms of how it's built so that it can be more easily incorporated later?

Similar behavior to this: http://jqueryui.com/sortable/#placeholder

@annwa also interested in any design feedback.

alainacoppa avatar Feb 09 '15 19:02 alainacoppa

Seems like this is fine to go in. From a Canon perspective, it looks like this is mostly a new icon.

bradgignac avatar Feb 10 '15 14:02 bradgignac

It would be worth knowing how this impacts accessibility before making this a recommendation.

bradgignac avatar Feb 10 '15 14:02 bradgignac

@bradgignac agreed about the accessibility. @annwa do you think it would be enough to just add keyboard support? Similar to: http://test.cita.illinois.edu/aria/draganddrop/draganddrop1.php Or do you think there needs to be full alternative way of moving items?

alainacoppa avatar Feb 10 '15 15:02 alainacoppa

so that example is really difficult. i had a really hard time moving things around and if you had to guess how it operated without any visual cues i think you'd be really lost. heck, even with visual instructions i was like waaaaat?

i'm not 100% on best practices for things like this but i'm down to look into it.

i think an easy way to reorder things is to put hidden buttons that say something like "move item up one row" or "move item down one row". how that affects sighted keyboard users, we'd have to look into it

annwa avatar Feb 10 '15 20:02 annwa

@annwa I agree that that example was challenging. I was hoping that our task would a lot easier because it's just select + up/down. Hidden buttons are an interesting idea too.

alainacoppa avatar Feb 10 '15 20:02 alainacoppa