Commit Graph

303 Commits

Author SHA1 Message Date
geoffrey45 55215e0ad5 add context menu options placeholder function 2022-07-12 18:54:06 +03:00
geoffrey45 e538b0d4d7 rewrite highlight track to use track.uniq_hash instead of trackid 2022-07-10 22:10:09 +03:00
geoffrey45 cdab85912f redesign the album bio component 2022-07-10 21:51:29 +03:00
geoffrey45 4688665156 highlight the selected when you go to folder 2022-07-09 09:52:46 +03:00
geoffrey45 9d5cbfcc93 rewrite playlist page to use same layout as the album page 2022-07-07 15:08:31 +03:00
geoffrey45 dc7f3b12e3 capitalize track names 2022-07-07 12:13:20 +03:00
geoffrey45 1eb7c5d396 remove context menu transtion
- to fix z-index issues
2022-07-06 17:38:33 +03:00
geoffrey45 40fcbfd576 add the albumhash prop to the fallback track object
- plus other tiny changes
2022-07-06 17:38:33 +03:00
geoffrey45 6fbf179f34 fix watchdog
- remove creating album feature from watchdog (rely on the periodic function)
2022-07-06 17:38:33 +03:00
geoffrey45 c9830842ed refactor queu store to use play track using index
- this allows to have duplicate tracks in queue safely
- store indexes in localstorage instead of track objects.
2022-07-06 17:38:33 +03:00
geoffrey45 f0d3c1c663 attach context menu to now playing song card
- clicking now playing thumbnail will send you to album page
2022-07-06 17:38:33 +03:00
geoffrey45 b318c0d324 calculate playlist duration
- use python's `sum()` method to add durations instead of for loop
2022-07-06 17:38:33 +03:00
geoffrey45 5bc0eaf8e6 remove songlist table header 2022-07-06 17:38:33 +03:00
geoffrey45 d830412035 reset album page bottom padding if scrollTop == 0 2022-07-06 17:38:33 +03:00
geoffrey45 14182e78cd add a bottom padding when the bottom area is expanded
- attach a ''resetBottomPadding" event to the album header component
- add function documentation to the header and albumview components.
2022-07-06 17:38:33 +03:00
geoffrey45 30020423d1 add a click to expand area 2022-07-06 17:38:33 +03:00
geoffrey45 7d59993203 revert brightness threshold to 170 2022-07-06 17:38:33 +03:00
geoffrey45 77a5d2b7c2 send processing album colors to a background thread
- use white color as default album page play button color
- return 404 if album is None on get_album_bio()
2022-07-06 17:38:33 +03:00
geoffrey45 34a214df22 use album colors on album header play button
- use alnum chars only on hashes
- add underline on track album hover
2022-07-06 17:38:33 +03:00
geoffrey45 5acb8cb84d check if album colors have contrast
- remove albumid field from album class
- set accent color to $red
2022-07-06 17:38:33 +03:00
geoffrey45 a23b6200eb add colors to album page header
- add colors attribute to the album class
- render color gradient in the album page
2022-07-06 17:38:33 +03:00
geoffrey45 f919ce35df try new bottom components 2022-07-06 17:38:33 +03:00
geoffrey45 2f78ee3883 fix album search 2022-07-06 17:38:33 +03:00
geoffrey45 26b7cd376d show track number as index in album page 2022-07-06 17:38:33 +03:00
geoffrey45 22ff52e86e use album hash to resolve album page 2022-06-26 19:05:36 +03:00
geoffrey45 abbca285f0 set track album width to max-width 2022-06-25 09:12:44 +03:00
geoffrey45 a7fcb7f825 attach context menu to options icon 2022-06-24 19:52:14 +03:00
geoffrey45 8e488c063b add menu button on songlist item 2022-06-24 10:35:30 +03:00
geoffrey45 cd05c2837f remove comments from navigation component 2022-06-23 15:40:23 +03:00
geoffrey45 7ae97370d6 update tsconfig.json 2022-06-23 15:39:19 +03:00
geoffrey45 3eaab97f1f replace background image with svg
- add symlink svg
- fix validate playlist thumbnails
2022-06-23 12:32:07 +03:00
geoffrey45 3cd0527962 use count_documents to get folder count
- map filenames with db data
2022-06-21 16:24:27 +03:00
geoffrey45 06ed41d869 BREAK EVERYTHING
- some broken edits
2022-06-17 20:29:09 +03:00
geoffrey45 1cc7c933b7 rename files and set max client width on viewport 2022-06-16 15:24:56 +03:00
geoffrey45 92e2420174 rewrite some fetch methods to use the useAxios hook 2022-06-16 14:18:45 +03:00
geoffrey45 600b267ce4 drop in onStartTyping to focus on search bar automatically 2022-06-16 09:50:07 +03:00
geoffrey45 79a7161827 fix search to read from database 2022-06-16 09:36:42 +03:00
geoffrey45 f1ec6309ba fix current track in queue auto scroll position
- add another inner container to limit the offset
- auto scroll current track to container start
- add todo file
2022-06-13 09:17:00 +03:00
geoffrey45 599cb38cbe rewrite recommendation component with script setup 2022-06-12 10:21:23 +03:00
geoffrey45 178d3c8835 fix now-playing image position 2022-06-11 12:41:44 +03:00
geoffrey45 188834de3b feat: scroll queue if mouse if not over the area 2022-06-11 11:12:47 +03:00
geoffrey45 191ac0bc7b fix loadmore counter not resetting
- store load more counter in search store
2022-06-11 10:01:16 +03:00
geoffrey45 75123f5384 move page stores into pages folder 2022-06-10 17:08:29 +03:00
geoffrey45 67d19fb6e3 scroll to top on page change 2022-06-10 10:39:04 +03:00
geoffrey45 857c2484fe use computed properties to render correct nav title 2022-06-10 10:01:12 +03:00
geoffrey45 a14f35b0e5 use hash mode in vue router
- rename keyboard.ts -> useKeyboard.ts
2022-06-09 19:47:38 +03:00
geoffrey45 c1834778f1 add "single" label if album is a single 2022-06-09 12:52:14 +03:00
geoffrey45 e48dca4672 enable album nav play button 2022-06-09 11:52:26 +03:00
geoffrey45 843a80f4a3 show album name and play button on scroll down 2022-06-09 10:43:14 +03:00
geoffrey45 6aad05084f highlight current folder in pathlist in nav 2022-06-09 09:30:43 +03:00