HEnquist / camillagui

GNU General Public License v3.0
9 stars 1 forks source link

Drag'n'drop for sorting items in the pipeline tab #45

Closed JWahle closed 3 years ago

JWahle commented 3 years ago

Filters in the pipeline should be sortable via Drag'n'drop, since using the up/down buttons is cumbersome, when there are a lot of filters.

JWahle commented 3 years ago

@HEnquist I just pushed an implementation of this to develop. For the time being, I decided to implement this only for filters of filter pipeline steps and not for individual channels or mixers in the pipeline. Also, DND doesn't work for mobile devices, so I left the up/down arrows. To remove them on desktop browsers, we would need a mobile detection and a manual way of switching between mobile and desktop per device - in case automatic detection fails. DND

HEnquist commented 3 years ago

Nice! Works well. I don't think there is any need to hide the arrow buttons on desktops. It would be neat to also be able to drag the Filter/Mixer steps around also, but I have no feeling for how much work that would be.

JWahle commented 3 years ago

I just pushed an implementation to develop. Please have a look.

HEnquist commented 3 years ago

Works just fine!