255 Commits

Author SHA1 Message Date
geoffrey45
29124ce717 add child level context menu
- more typescript
2022-03-16 01:21:53 +03:00
geoffrey45
f11005e523 refactor colors 2022-03-15 10:38:53 +03:00
geoffrey45
33a9aa2c30 start project "move to typescript" 2022-03-14 21:05:58 +03:00
geoffrey45
ead3a731ef move interfaces to interfaces.ts 2022-03-14 21:04:58 +03:00
geoffrey45
d98257de90 convert state.js -> typescript 2022-03-14 21:04:28 +03:00
geoffrey45
95a6ca03a8 minor refactors and edits 2022-03-14 08:46:42 +03:00
geoffrey45
658aba45ff link context menu to tracks 2022-03-14 08:46:21 +03:00
geoffrey45
e8d2f31989 remove comments 2022-03-14 08:45:34 +03:00
geoffrey45
615901af61 add new icons 2022-03-14 08:45:23 +03:00
geoffrey45
9866f5fea9 add padding to normalize out of bounds context menu 2022-03-14 08:45:03 +03:00
geoffrey45
57a72fd3b5 hide context menu on right click again 2022-03-14 08:44:52 +03:00
geoffrey45
8c2904192e hide context menu on right click again 2022-03-14 08:42:19 +03:00
geoffrey45
e3d86eac95 add track context menus 2022-03-14 08:41:46 +03:00
geoffrey45
092d967f49 convert songlist table to grid 2022-03-13 08:58:28 +03:00
geoffrey45
658e7cdbb7 move global search input to a general location
- create a global search store
- create a half-baked context menu store
-
2022-03-12 08:56:38 +03:00
geoffrey45
39fba364d3 add image -> readme 2022-03-08 09:56:58 +03:00
geoffrey45
c3059d502c fix album search
- convert strings to lowercase before search
2022-03-08 09:25:07 +03:00
geoffrey45
25f79d8a20 complete project teardown 2022-03-07 20:16:35 +03:00
geoffrey45
b930fc0ca6 iniitialize project teardown 2022-03-07 06:49:56 +03:00
geoffrey45
7f2102f931 refactor UI layout 2022-03-06 10:27:01 +03:00
geoffrey45
90f8703a8e use pinia to create tab store 2022-03-06 10:26:23 +03:00
geoffrey45
eebe6b4440 add navbar and new logo 2022-03-04 08:02:01 +03:00
geoffrey45
8333a9c4a6 minor refactors 2022-03-02 10:20:47 +03:00
geoffrey45
9d9eed72ef add 404 page 2022-03-02 10:20:31 +03:00
geoffrey45
5450a190f3 update formatSeconds() to correct grammar 2022-03-02 10:20:14 +03:00
geoffrey45
6efbb47166 some bug fixes
- watch route params instead of route object in folderview
- move to script setup on album view
- use album as a reactive object instead of refs
- use axios instead of fetch to get album data
- improve clickable areas on songItem
- move album requests to POST
2022-03-01 19:46:37 +03:00
geoffrey45
8459310258 loadmore tracks, albums, artists 2022-02-26 07:57:02 +03:00
geoffrey45
2143ad7139 more refactoring 2022-02-24 12:23:56 +03:00
geoffrey45
ca790e97d9 more refactors 2022-02-24 09:05:50 +03:00
geoffrey45
38df211882 more refactoring 2022-02-23 21:48:57 +03:00
geoffrey45
fe07961757 convert track_id --> trackid 2022-02-23 02:46:06 +03:00
geoffrey45
2e699f7be7 use same theme for search grids 2022-02-22 21:06:56 +03:00
geoffrey45
f9cceed2ba add gradients to search grids 2022-02-22 20:56:13 +03:00
geoffrey45
f141dd7f06 color changes in search 2022-02-22 12:55:16 +03:00
geoffrey45
5e48496ccb minor color refactors 2022-02-22 09:58:09 +03:00
geoffrey45
92c2443c7c minor refactors 2022-02-19 22:12:10 +03:00
geoffrey45
a6bb5059b0 add new album header 2022-02-19 18:43:17 +03:00
geoffrey45
5446b1fe4b prevent type coercion
- remove unused imports
- minor refactors and cleanups
2022-02-16 15:06:29 +03:00
geoffrey45
462acd0229 fix from albumView to other routes bug
- add nginx sites
- add setup script (untested**)
2022-02-13 17:18:23 +03:00
geoffrey45
6d6d2831c0 further refactor paddings and colors 2022-02-12 11:32:50 +03:00
geoffrey45
88e1d42ab5 convert $small padding -> $smaller padding 2022-02-12 10:13:33 +03:00
geoffrey45
25e6c5ce0c minor refactoring 2022-02-11 12:18:50 +03:00
geoffrey45
4b02855dca hide sidebar album art on sidebar collapse 2022-02-11 12:06:35 +03:00
geoffrey45
15d5e1476a add a blank settings view
- use for loop to render l-sidebar content
- add current track image on l-sidebar
- other minor changes
2022-02-11 11:53:46 +03:00
geoffrey45
e7741937a3 format seconds into hh:mm:ss 2022-02-09 22:15:46 +03:00
geoffrey45
214ae82344 improve nowPlaying alignment 2022-02-08 00:39:08 +03:00
geoffrey45
f93fa79fc5 improve look of the folder item card 2022-02-07 14:59:35 +03:00
geoffrey45
dd81099b36 fix queue update 2022-02-06 23:43:00 +03:00
geoffrey45
60ba512e64 add docstrings to python code 2022-02-06 23:26:22 +03:00
geoffrey45
195a50382a server: better structure album tracks endpoint
- client: add now-playing and recommendations to home right-sidebar
2022-02-06 19:17:26 +03:00
geoffrey45
73dec9189e fix albumView using watch function
- other minor changes to almost all files
2022-02-02 21:45:23 +03:00
geoffrey45
bdfbb59d76 Introduce tabs to right sidebar
- new icons
- rename upnext.vue to queue.vue
- other tiny changes
2022-01-31 09:38:14 +03:00
geoffrey45
3eef90dc8a move global search to right sidebar 2022-01-30 00:58:53 +03:00
geoffrey45
e847574446 move progress bar and hot keys to new components 2022-01-28 22:42:13 +03:00
geoffrey45
17c9f3a23e add bottom bar 2022-01-28 16:46:24 +03:00
geoffrey45
13ee2ed1d6 start migration to <script setup> 2022-01-26 10:01:35 +03:00
geoffrey45
d6204946c2 Migrate to vite and some more stuff
- server: add a `Track` class
- server: add a create_track_class function
- client: migrate from vue-cli to vite
2022-01-25 11:51:26 +03:00
geoffrey45
7689f13fdc break down search component into smaler components 2022-01-23 10:27:39 +03:00
geoffrey45
7945c04a06 create re-usable components 2022-01-22 12:04:33 +03:00
geoffrey45
f6787421c3 debounce global search 2022-01-22 07:07:43 +03:00
geoffrey45
7f73d89fcc add debounced ref module 2022-01-22 06:23:37 +03:00
geoffrey45
188b0541c6 add media queries to album page 2022-01-22 05:03:18 +03:00
geoffrey45
c9cd61df7c add media queries 2022-01-22 04:15:00 +03:00
geoffrey45
06f1e53fa1 add a new playlist view header 2022-01-19 02:10:56 +03:00
geoffrey45
a3d1b3aaea replace broken image references 2022-01-18 20:54:45 +03:00
geoffrey45
1d1e697fd2 major refactors
- remove jpgs
- add new album header
- remove duplicate components
- display album bio on client
- add a route loader module
- change color scheme
- other minor changes
2022-01-18 20:51:22 +03:00
geoffrey45
2ee8d27bf0 server: add get album bio from last fm function
- co-written by Github Copilot
2022-01-17 12:32:27 +03:00
geoffrey45
a720891c20 add featured artists in albumview 2022-01-15 18:18:55 +03:00
geoffrey45
1b9e6821d6 separate playFolder and playAlbum 2022-01-15 10:58:32 +03:00
geoffrey45
00e2b06e9d major refactoring
- move instances to new file
- import functions as modules
- add docstrings to helper functions
- add threaded populate() function
- remove unused functions and files
- add typing info to helper functions
- other unremembered changes to the client
2022-01-14 20:46:55 +03:00
geoffrey45
e473b5db92 misc 2022-01-11 03:36:42 +03:00
geoffrey45
521c195570 client: move table items to a independent component 2022-01-11 01:36:04 +03:00
geoffrey45
17cbe14217 client: add right and left music controls
- replace if-else with switch
2022-01-10 20:33:36 +03:00
geoffrey45
cdfdadaa68 add more bugs 2022-01-10 08:24:40 +03:00
geoffrey45
1cbf770fee client: use for loop instead of array.filter() 2022-01-07 03:55:54 +03:00
geoffrey45
9310382436 client: remove search box in folder view
- add working ctrl f listener
2022-01-06 20:40:23 +03:00
geoffrey45
64d2c8c466 client: auto resize content on search expand 2022-01-06 17:14:28 +03:00
geoffrey45
0340b64b04 client: migrate to solid dark mode 2022-01-05 05:45:55 +03:00
geoffrey45
1cb6843dc3 move loader to search bar 2021-12-31 21:56:38 +03:00
geoffrey45
d74aee0c46 client: collapse search on click outside 2021-12-31 12:53:10 +03:00
geoffrey45
61e7ff7188 blacken search component 2021-12-30 21:32:12 +03:00
geoffrey45
efd7f84b1f client: add pop filter on backspace
- move search component to global
2021-12-30 10:25:29 +03:00
geoffrey45
477072daf0 client: try new icon set
- server: fix search endpoint
2021-12-30 00:13:53 +03:00
geoffrey45
6dbf8efb90 minor refactors 2021-12-29 18:42:38 +03:00
geoffrey45
585a403a6c auto-fill folder list using css grid 2021-12-28 22:00:47 +03:00
geoffrey45
2b6bb2c0cb add filters to search
- move global to center
2021-12-28 15:07:26 +03:00
geoffrey45
741e34c5ee test promise in playing audio 2021-12-28 10:43:42 +03:00
geoffrey45
c49e1e48f1 fix incorrect album fetching 2021-12-28 10:08:31 +03:00
geoffrey45
49947a22b2 minor 2021-12-27 23:52:28 +03:00
geoffrey45
2f14b5a6de add album songs to albumView 2021-12-27 23:20:19 +03:00
geoffrey45
ff6a4e34b5 add album header info 2021-12-27 23:12:00 +03:00
geoffrey45
3f52bb74d8 use promise to scroll to current in queue box 2021-12-27 20:08:16 +03:00
geoffrey45
da2a831d37 minor refactors 2021-12-27 16:38:19 +03:00
geoffrey45
4f80ce29bb client: add media session notification 2021-12-27 16:26:24 +03:00
geoffrey45
fd02390f71 client: fix scrollIntoView 2021-12-27 10:58:58 +03:00
geoffrey45
17f29a76ed client: implement a buggy scrollIntoView in queue view 2021-12-26 18:45:35 +03:00
geoffrey45
5884827c8b unhide scrollbar >> folderview 2021-12-26 16:45:36 +03:00
geoffrey45
c5670e0f5f remove pagination 2021-12-26 16:42:20 +03:00
geoffrey45
26ab354a1d minor changes 2021-12-25 21:09:26 +03:00
geoffrey45
dc4b87a942 client: improve quick access
- default to opened sidebar
2021-12-25 20:36:28 +03:00
geoffrey45
ff0381122e client: fix play when nothin' was playin' 2021-12-24 13:33:38 +03:00
geoffrey45
757d6cbe5a client: add progress bar
- add favourites buttons
- redirect /folder/ => /folder/home
- minor fixes
2021-12-24 12:41:38 +03:00
geoffrey45
81c8ae8629 client: fix sending multiple requests
on songlist click
2021-12-22 09:22:22 +03:00
geoffrey45
36999d8061 client: implement queuing 2021-12-21 13:42:06 +03:00
geoffrey45
847dabb9a4 fix audio playing 2021-12-19 14:40:27 +03:00
geoffrey45
643aab1ad9 add loader 2021-12-19 14:14:56 +03:00
geoffrey45
7e67b819f0 major changes:
- introduce flask cache
- use replaceAll together with encodeURI component on client
- many more
2021-12-19 13:27:37 +03:00
geoffrey45
831b8e7ee2 major changes:
- resize images to 150x150
- convert them to webp
- use $set to update database
- remove comments in py code
- a whole lot more
2021-12-19 02:31:17 +03:00
geoffrey45
457180ecaf client: implement a buggy inifinite scroll on folder view 2021-12-18 12:09:24 +03:00
geoffrey45
5ebe7b0dff client: add info icon
for no folders in folder view
2021-12-17 01:59:17 +03:00
geoffrey45
6f35af6aeb client: folder view improvements 2021-12-17 01:41:56 +03:00
geoffrey45
4df1d01c0d client:fetch songs and folders in folder view 2021-12-16 23:26:44 +03:00
geoffrey45
701f61250e client: request folder lists from server 2021-12-15 15:20:12 +03:00
geoffrey45
89195bd352 add backend code 2021-12-14 08:53:16 +03:00
geoffrey45
7d0f38755b add albums from the same artist to album view 2021-12-12 02:49:42 +03:00
geoffrey45
e970324314 add songs and featured artists to album view 2021-12-12 00:52:39 +03:00
geoffrey45
8afa044813 add header to album view 2021-12-12 00:24:35 +03:00
geoffrey45
9caeab9626 minor changes to the albums explorer 2021-12-11 23:32:11 +03:00
geoffrey45
24741640ea minor refactoring 2021-12-11 13:55:12 +03:00
geoffrey45
c7374e8eb5 add all albums view 2021-12-11 13:46:05 +03:00
geoffrey45
a7474d65e9 reduce featured artists height 2021-12-11 10:03:23 +03:00
geoffrey45
3beab7b0a1 somethings I don't remember 2021-12-10 22:53:27 +03:00
geoffrey45
aed2c74975 add album explorer 2021-12-10 18:34:34 +03:00
geoffrey45
0fa55eeeae minor refactors 2021-12-10 16:59:28 +03:00
geoffrey45
71e6a06114 make playlist body scrollable 2021-12-10 16:50:46 +03:00
geoffrey45
43c1f70380 implement wheel scroll on featured artists.
add next-prev buttons too
2021-12-10 16:10:06 +03:00
geoffrey45
a96b76748f add options button to playlist view 2021-12-10 07:52:06 +03:00
geoffrey45
1e15a0c51d add horizontal scroll to featured artists 2021-12-08 18:06:25 +03:00
geoffrey45
349028b592 fix right sidebar animation 2021-12-08 16:54:32 +03:00
geoffrey45
e1e0df44c4 add featured artists in playlist view 2021-12-08 16:39:26 +03:00
geoffrey45
1c5ae836ea animate right sidebar cards collapse 2021-12-08 13:25:08 +03:00
geoffrey45
42be78ffbf animate album cards on hover in playlist view 2021-12-08 11:54:09 +03:00
geoffrey45
d060a4c927 remove large playist art 2021-12-06 23:20:12 +03:00
geoffrey45
fdcf92ec79 build playlist view 2021-12-06 19:08:35 +03:00
geoffrey45
c2fc2170fe create playlist view
- add support for scss
2021-12-06 01:23:28 +03:00
geoffrey45
843bde1b7e minor refactoring 2021-12-05 22:29:54 +03:00
geoffrey45
4e2d9fd1e0 make right sidebar props reactive
change favicons
2021-12-05 20:35:32 +03:00
geoffrey45
64aee5afbe minor refactoring 2021-12-01 13:27:32 +03:00
geoffrey45
9a322af13f use :key to force re-render upNext component 2021-12-01 13:26:49 +03:00
geoffrey45
53b9ebdb60 add recommended tracks 2021-12-01 11:11:53 +03:00
geoffrey45
6ef31c4d82 add coming up next & now playing cards 2021-11-27 18:10:57 +03:00
geoffrey45
fd41d4167b improve search alignment 2021-11-26 11:25:55 +03:00
geoffrey45
206e89878c search component initial build 2021-11-26 10:52:32 +03:00
geoffrey45
872badbc65 2021-11-24 22:28:34 +03:00
geoffrey45
92d0a1474b improve flex arrangement for folder list 2021-11-23 21:11:09 +03:00
geoffrey45
cb1c466ed1 use flex to arrange folder cards 2021-11-23 10:34:30 +03:00
geoffrey45
7584a8a8ea fix folder list component 2021-11-20 14:56:07 +03:00
geoffrey45
cf8ba6554b add folder list 2021-11-20 07:41:29 +03:00
geoffrey45
12c0669c90 initial buid of folder explorer view 2021-11-18 09:11:53 +03:00
geoffrey45
90ecbe1a04 align settings button 2021-11-17 10:44:51 +03:00