Wingysam / Christmas-Community

Christmas lists for families
GNU Affero General Public License v3.0
212 stars 39 forks source link

Drag/Drop Wishlist Reordering #65

Open Wingysam opened 1 year ago

Wingysam commented 1 year ago
    I'm not sure that it's necessary but I'd be willing to implement a PR to add drag/drop reordering.

Originally posted by @Wingysam in https://github.com/Wingysam/Christmas-Community/issues/53#issuecomment-1327932316

I don't know if this is necessary but it probably is worth the increased complexity. I'm willing to merge a PR if someone were to implement this.

dathbe commented 8 months ago

Another way to skin this cat is to allow editing of the "#" column. If anyone used Netflix back in the day when they were doing actual DVDs, the list was in order, but the order column was essentially a form field. You could, for example, click in the box for the item that was in the 1 spot, type "4", and the item would drop to the 4 spot.

daanbreur commented 7 months ago

Something like this could be used.

https://sindu12jun.github.io/table-dragger/

If nobody is willing to implement it I'm willing to try to give it a shot