feat: add drag-and-drop song reordering in the GUI (Closes #19) #22
Reference in New Issue
Block a user
Delete Branch "feature/issue-19-drag-and-drop-song-reordering"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
ReorderableSongListcomposable with long-press drag-and-drop reordering viadetectDragGesturesAfterLongPress, including visual drop target highlighting (light blue) and drag handle iconscustomSongOrder: List<String>?parameter toSongbookPipeline.build()to allow the GUI to override config-based song sorting with a user-defined orderApp.kt: track original vs custom order, enable drag only whensongs.order != "alphabetical", show alphabetical hint when drag is disabled, and pass custom file-name order to the pipeline on buildTest plan
build()parameter default)SongbookPipeline.build()backward-compatible (defaultnullparameter)