Commit Graph

406 Commits

Author SHA1 Message Date
geoffrey45 e538b0d4d7 rewrite highlight track to use track.uniq_hash instead of trackid 2022-07-10 22:10:09 +03:00
geoffrey45 7e3243272f remove test album bio 2022-07-10 21:52:22 +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 09c588c856 add featured artists to playlist page
+ fetch album bio on raising bottom container
2022-07-08 16:39:16 +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 296cfb50a6 fix: page reload setting current track to first track in queue
- add a `setCurrent` method to update current index and currentid
2022-07-07 12:04:13 +03:00
geoffrey45 7a953d366e add a HeaderContentBottom layout
- rewrite album page to use the above layout
2022-07-07 11:55:13 +03:00
geoffrey45 1bfa43350c update album page screenshot 2022-07-07 09:07:29 +03:00
Mungai Geoffrey 933034f9b5 Merge pull request #70 from geoffrey45/remove-in-memory-implementations
- Remove global lists and read everything from the database.  
- Restyle album page  
- Fix watchdog 
- Fix album counter 
- Show playlist duration 
- and much more.
2022-07-07 09:00:42 +03:00
restyled-io[bot] 6b9f902da9 Restyle Remove global lists and read everything from the database. (#78) 2022-07-07 08:46:06 +03:00
geoffrey45 e01edbce30 rename find_tracks_inside_path_regex -> get_dir_t_count 2022-07-07 08:40:11 +03:00
geoffrey45 c8e4529e3c escape special chars in count_documents regex
- thanks github copilot ❤️
2022-07-07 08:37:02 +03:00
geoffrey45 27605facf2 remove unused var 2022-07-06 17:53:53 +03:00
geoffrey45 18d213e57f fix merge conflicts 2022-07-06 17:49:19 +03:00
restyled-io[bot] e77f2b9f2b Restyle Remove global lists and read everything from the database. (#71) 2022-07-06 17:41:01 +03:00
restyled-io[bot] 73891aa5cf Restyle New album page design (#77) 2022-07-06 17:38:33 +03:00
geoffrey45 95ad7ceadc add new default.webp 2022-07-06 17:38:33 +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
restyled-io[bot] 714775a67e Restyle New album page design (#76) 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 067b84b1c5 fix album search 2022-06-27 19:53:36 +03:00
geoffrey45 866f3278a5 show track number as index in album page 2022-06-26 19:37:48 +03:00
geoffrey45 4b522fd317 sort tracks by tracknumber in album page 2022-06-26 19:28:02 +03:00
geoffrey45 22ff52e86e use album hash to resolve album page 2022-06-26 19:05:36 +03:00
geoffrey45 92ef22596b fix removing duplicate tracks
- add uniq_hash prop to Track class
2022-06-26 18:46:17 +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 71dc2715e1 add new symlink svg 2022-06-23 12:49:47 +03:00
geoffrey45 3eaab97f1f replace background image with svg
- add symlink svg
- fix validate playlist thumbnails
2022-06-23 12:32:07 +03:00