mpogue2 / SquareDesk

Fully-featured music player and sequence designer, designed for square dance callers
10 stars 4 forks source link

Feature: Drag and Drop from songTable into playlist in pallete #1018

Open mpogue2 opened 6 months ago

mpogue2 commented 6 months ago

Yeah, we need this.

Also, it would be nice to be able to do multiple selections in songTable, and drag/drop them altogether into the palette slot.

mpogue2 commented 6 months ago

You can now drag from the darkSongTable to a playlist, and it will append to the bottom. You cannot yet drag the darkSongTable's TITLE, it has to be any column OTHER THAN the Title column right now (to be fixed shortly).

Commit: c772a15c25cb190f2d47591bb30a753eba5c9557

I need to add drag stuff to the songTitleLabels in the Title field, in order to allow them to be dragable (I think)... I'm gonna leave this one open for now, until I can get more of DND in. For now, this is usable for the most common use case, which is adding stuff to the end of an Untitled playlist or to an existing playlist. Use Arrow keys to move stuff around within a playlist for now (CMD-SHIFT-UP/DOWN/LEFT/RIGHT).

mpogue2 commented 6 months ago

You can now Drag and Drop from playlist to playlist, from track filter to playlist, and from songTable to playlist. Still can't drag the titles yet, but other item columns are draggable. Dropped items go to the BOTTOM of the playlist right now.

Commit: e865b0bc5ea48b81b62a41d199c0ec8e007cf21d

NOTE: This code could be better optimized once it stabilizes.

mpogue2 commented 6 months ago

Dragging WITHIN a playlist to reorder items is not yet supported.