[PR #1499] [MERGED] feat: support playlist folders & improve drag-n-drop #1731

Closed
opened 2026-02-26 03:32:06 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/koel/koel/pull/1499
Author: @phanan
Created: 9/10/2022
Status: Merged
Merged: 9/10/2022
Merged by: @phanan

Base: masterHead: dev/1476-playlist-folder


📝 Commits (3)

  • 52dd323 feat: support playlist folders (closes #1476)
  • e8a1cde feat: revamp drag-n-drop functionalities
  • 1730e19 test: add tests for playlist folder functionalities

📊 Changes

129 files changed (+2450 additions, -788 deletions)

View changed files

📝 app/Http/Controllers/API/PlaylistController.php (+2 -2)
📝 app/Http/Controllers/API/PlaylistSongController.php (+3 -3)
📝 app/Http/Controllers/Download/PlaylistController.php (+1 -1)
📝 app/Http/Controllers/V6/API/DataController.php (+4 -3)
app/Http/Controllers/V6/API/PlaylistController.php (+60 -0)
app/Http/Controllers/V6/API/PlaylistFolderController.php (+41 -0)
app/Http/Controllers/V6/API/PlaylistFolderPlaylistController.php (+35 -0)
📝 app/Http/Controllers/V6/API/PlaylistSongController.php (+5 -5)
📝 app/Http/Controllers/V6/Requests/AddSongsToPlaylistRequest.php (+3 -1)
app/Http/Controllers/V6/Requests/PlaylistFolderPlaylistDestroyRequest.php (+23 -0)
app/Http/Controllers/V6/Requests/PlaylistFolderPlaylistStoreRequest.php (+23 -0)
app/Http/Controllers/V6/Requests/PlaylistFolderStoreRequest.php (+19 -0)
app/Http/Controllers/V6/Requests/PlaylistFolderUpdateRequest.php (+19 -0)
📝 app/Http/Requests/API/PlaylistUpdateRequest.php (+4 -0)
app/Http/Resources/PlaylistFolderResource.php (+26 -0)
app/Http/Resources/PlaylistResource.php (+29 -0)
📝 app/Models/Playlist.php (+14 -5)
app/Models/PlaylistFolder.php (+43 -0)
📝 app/Models/User.php (+8 -0)
app/Policies/PlaylistFolderPolicy.php (+14 -0)

...and 80 more files

📄 Description

Supports playlist folders (closes #1476) and revamps drag-and-drop functionalities (closes #1498).


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/koel/koel/pull/1499 **Author:** [@phanan](https://github.com/phanan) **Created:** 9/10/2022 **Status:** ✅ Merged **Merged:** 9/10/2022 **Merged by:** [@phanan](https://github.com/phanan) **Base:** `master` ← **Head:** `dev/1476-playlist-folder` --- ### 📝 Commits (3) - [`52dd323`](https://github.com/koel/koel/commit/52dd323c968cfbbe18070d11a89cc623794cbaa9) feat: support playlist folders (closes #1476) - [`e8a1cde`](https://github.com/koel/koel/commit/e8a1cdece7c4abf5eae919d5e2da3fbe27b9b13a) feat: revamp drag-n-drop functionalities - [`1730e19`](https://github.com/koel/koel/commit/1730e19d215a945b681466a730b51aaa2040818a) test: add tests for playlist folder functionalities ### 📊 Changes **129 files changed** (+2450 additions, -788 deletions) <details> <summary>View changed files</summary> 📝 `app/Http/Controllers/API/PlaylistController.php` (+2 -2) 📝 `app/Http/Controllers/API/PlaylistSongController.php` (+3 -3) 📝 `app/Http/Controllers/Download/PlaylistController.php` (+1 -1) 📝 `app/Http/Controllers/V6/API/DataController.php` (+4 -3) ➕ `app/Http/Controllers/V6/API/PlaylistController.php` (+60 -0) ➕ `app/Http/Controllers/V6/API/PlaylistFolderController.php` (+41 -0) ➕ `app/Http/Controllers/V6/API/PlaylistFolderPlaylistController.php` (+35 -0) 📝 `app/Http/Controllers/V6/API/PlaylistSongController.php` (+5 -5) 📝 `app/Http/Controllers/V6/Requests/AddSongsToPlaylistRequest.php` (+3 -1) ➕ `app/Http/Controllers/V6/Requests/PlaylistFolderPlaylistDestroyRequest.php` (+23 -0) ➕ `app/Http/Controllers/V6/Requests/PlaylistFolderPlaylistStoreRequest.php` (+23 -0) ➕ `app/Http/Controllers/V6/Requests/PlaylistFolderStoreRequest.php` (+19 -0) ➕ `app/Http/Controllers/V6/Requests/PlaylistFolderUpdateRequest.php` (+19 -0) 📝 `app/Http/Requests/API/PlaylistUpdateRequest.php` (+4 -0) ➕ `app/Http/Resources/PlaylistFolderResource.php` (+26 -0) ➕ `app/Http/Resources/PlaylistResource.php` (+29 -0) 📝 `app/Models/Playlist.php` (+14 -5) ➕ `app/Models/PlaylistFolder.php` (+43 -0) 📝 `app/Models/User.php` (+8 -0) ➕ `app/Policies/PlaylistFolderPolicy.php` (+14 -0) _...and 80 more files_ </details> ### 📄 Description Supports playlist folders (closes #1476) and revamps drag-and-drop functionalities (closes #1498). --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 03:32:06 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/koel-koel#1731
No description provided.