Skip to content

v0.17.0 - Playlist Drag & Drop Performance Optimization

Choose a tag to compare

@jvegaf jvegaf released this 18 Jan 05:38
· 154 commits to master since this release

πŸš€ What's New in v0.17.0

This release dramatically improves the playlist drag & drop experience with instant UI updates and fixes critical bugs.

✨ Added

  • Custom drag ghost showing track title and artist with emoji (🎡 Title - Artist) during playlist reordering

πŸ› Fixed

  • CRITICAL: Fixed playlist TrackList not updating when switching between playlists
  • MAJOR: Fixed playlist drag & drop taking 17+ seconds to update UI - now instant (~9ms)
  • Fixed drag ghost showing generic "1 Row" text instead of track information

⚑ Performance

  • Playlist drag & drop performance improved by 99.95% (from 17000ms to ~9ms perceived lag)
  • Immediate UI update on drag & drop with background backend synchronization
  • Backend processing now fire-and-forget (non-blocking)

πŸ”§ Technical Changes

  • Implemented manual state update strategy for drag & drop using React state
  • Moved rowDragText configuration to defaultColDef for compatibility with rowDragEntireRow
  • Added useEffect hook to synchronize TrackList rowData when playlist changes
  • Refactored onRowDragEnd handler to update state immediately using array splice()
  • Backend sync now happens asynchronously without blocking UI

πŸ“ Documentation

  • Added comprehensive performance analysis documentation
  • Created detailed implementation guides for drag & drop optimization
  • Added quick testing guides for developers

See CHANGELOG.md for complete details.

Full Changelog: v0.16.0...v0.17.0