From 83330a7fada1dc5f2b64fefbc82c49d85d0e750b Mon Sep 17 00:00:00 2001 From: geoffrey45 Date: Fri, 8 Apr 2022 21:07:24 +0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=B7=20refactor=20context=20menu=20to?= =?UTF-8?q?=20accept=20context=20src?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🔷 add a getCurrentDate function to get formatted date --- server/roadmap.md | 29 +------------------------- src/components/FolderView/SongList.vue | 1 - src/components/PlaylistView/Header.vue | 14 ++++++++++++- src/components/contextMenu.vue | 2 +- src/components/shared/SongItem.vue | 5 ++++- src/components/shared/TrackItem.vue | 5 ++++- src/composables/enums.ts | 6 ++++++ src/composables/perks.js | 15 +++++++++++++ src/composables/playlists.ts | 3 ++- src/contexts/playlist.ts | 28 +++++++++++++++++++++++++ src/stores/context.ts | 15 +++++++++---- src/views/PlaylistView.vue | 22 ++++++++++++++----- src/views/Playlists.vue | 6 +++++- 13 files changed, 107 insertions(+), 44 deletions(-) create mode 100644 src/contexts/playlist.ts diff --git a/server/roadmap.md b/server/roadmap.md index 82626e18..48d48b06 100644 --- a/server/roadmap.md +++ b/server/roadmap.md @@ -1,63 +1,36 @@ # Fixes ! -- [ ] Use click event to play song instead of url ⚠ -- [ ] Show play/pause button correctly according to state ⚠ - [ ] Click on artist image to go to artist page ⚠ - [ ] Play next song if current song can't be loaded ⚠ -- [ ] List item song icon for long song titles ⚠ -- [ ] Broken CSS -- [ ] Prevent scanning unchanged folders -- [ ] Handle '/' and '&' characters in song artists -- [ ] Nginx not serving all files in a folder - [ ] Removing song duplicates from queries -- [ ] Different songs having same link -- [ ] ConnectionError -- [ ] Move thumbnails to .config -- [ ] Write a multithreaded file server - [ ] Add support for WAV files -- [ ] Support multiple folders - [ ] Compress thumbnails # Features + ## Needed features -- [ ] Seeking current song - [ ] Adding songs to queue -- [ ] Implement search on frontend -- [ ] Watching for changes in folders and updating them instantly ⚠ -- [ ] Display folders and files in a tree view. ⚠ 🔵 - -- [ ] Add favicon - [ ] Add keyboard shortcuts -- [ ] Right click on song to do stuff - [ ] Adjust volume - [ ] Add listening statistics for all songs - [ ] Extract color from artist image [for use with artist card gradient] - [ ] Adding songs to favorites -- [ ] Adding songs to playlist - [ ] Playing song radio ## Future features - [ ] Toggle shuffle - [ ] Toggle repeat -- [ ] Display artist albums - [ ] Suggest similar artists - [ ] Getting artist info -- [ ] Getting album info - [ ] Create a Python script to build, bundle and serve the app - [ ] Getting extra song info (probably from genius) - [ ] Getting lyrics -- [ ] Notifications - [ ] Sorting songs - [ ] Suggest undiscorvered artists, albums and songs - [ ] Remember last played song - [ ] Add next and previous song transition and progress bar reset animations -- [ ] Hover animations for list items -- [ ] Highlight currently playing song in playlist +- [ ] Add playlist to folder - [ ] Add functionality to 'Listen now' button -- [ ] Add a 'Scan' button to the sidebar - [ ] Paginated requests for songs - [ ] Package app as installable PWA - -## Finished ✅ \ No newline at end of file diff --git a/src/components/FolderView/SongList.vue b/src/components/FolderView/SongList.vue index 7639a1b7..2d2f4115 100644 --- a/src/components/FolderView/SongList.vue +++ b/src/components/FolderView/SongList.vue @@ -25,7 +25,6 @@
Nothing down here 😑
-
diff --git a/src/components/PlaylistView/Header.vue b/src/components/PlaylistView/Header.vue index efa458f4..8d64638c 100644 --- a/src/components/PlaylistView/Header.vue +++ b/src/components/PlaylistView/Header.vue @@ -12,6 +12,7 @@
+
No Tracks @@ -37,11 +38,15 @@