204 Commits

Author SHA1 Message Date
89433df8b6
Add function to get user by id 2024-11-04 16:34:17 -05:00
ddcb4a5be7
Add loading indicator 2024-11-04 16:34:13 -05:00
414489d1be
Return ArtistData from top_artists 2024-11-04 00:29:53 -05:00
35abbe19ee
Merge branch '126-create-global-logged-in-user-resource' into 42-create-profile-page 2024-11-03 17:18:43 -05:00
2b380d7787
Refetch logged in user on login/signup 2024-11-03 17:13:40 -05:00
8ac3a87c58
Add global logged in user Resource 2024-11-03 16:59:46 -05:00
43a5b519fd
Add API endpoint to get logged in user 2024-11-03 16:59:23 -05:00
251d567863
Return logged in user from login endpoint 2024-11-03 16:52:15 -05:00
e66b5e4976
Add component to display SongList with additional data 2024-11-01 14:36:38 -04:00
0453aef37d
Fix incorrect placeholder image path 2024-11-01 14:26:38 -04:00
4e4c94a189
Merge branch '106-create-song-list-component' into 42-create-profile-page 2024-11-01 13:22:37 -04:00
23bfb510c1
Add functions to get top/recent songs and artists from history 2024-11-01 13:05:47 -04:00
f1e177c7b0
Add page for displaying error 2024-10-21 22:57:27 -04:00
3cfcacc9ba Merge pull request 'Setup routing for image and audio assets based on environment variables' (#107) from 35-make-asset-paths-configurable into main
Reviewed-on: LibreTunes/LibreTunes#107
Reviewed-by: Ethan Girouard <ethan@girouard.com>
2024-10-16 17:48:12 +00:00
e90ea56d14 Remove TODO 2024-10-11 17:16:51 -04:00
0550b18d77
Add SongList component 2024-10-11 13:25:14 -04:00
134b425ce6
Remove unused MediaType 2024-10-06 15:50:58 -04:00
c678d93661
Create ArtistData, impl DashboardTile 2024-10-06 15:50:58 -04:00
c18bf277b9
Create AlbumData, impl DashboardTile 2024-10-06 15:50:57 -04:00
097b1fc491
impl DashboardTile for Songdata 2024-10-06 15:47:22 -04:00
553e24800b
Refactor DashboardTile into trait 2024-10-06 15:47:18 -04:00
2793391f00 Merge remote-tracking branch 'origin/main' into 33-create-component-for-displaying-music-on-dashboard 2024-10-06 14:16:58 -04:00
51858593c2 Updated Title Display 2024-10-04 23:56:12 +00:00
2bb9b3bdd7 Page Title Updates on Playing Song 2024-10-04 23:19:07 +00:00
a43955726a Setup routing for image and audio assets based on environment variables 2024-10-04 17:33:51 -04:00
b2f138e7e9
Move NoCustomError import to fix warning 2024-10-01 00:17:20 -04:00
33aa285deb
Add upload_picture api endpoint 2024-10-01 00:07:26 -04:00
b9551e5bee Merge pull request 'Implement history' (#98) from 41-implement-history into main
Reviewed-on: LibreTunes/LibreTunes#98
2024-09-29 18:27:08 +00:00
73910a087a
Add playing songs to history 2024-09-29 14:04:51 -04:00
ec76269367
Fix duplicate api module definition 2024-09-28 20:50:25 -04:00
8fd064dffc Merge remote-tracking branch 'origin/main' into 41-implement-history 2024-09-28 20:40:37 -04:00
a83fb9dea5
Add friendships and friend_requests database tables 2024-09-28 20:28:00 -04:00
86f9b6fbb3
Convert Infaliable Result into Option and handle 2024-09-15 21:43:59 -04:00
d66849c6cb
Change target cfg condition to target_env 2024-09-15 20:18:02 -04:00
18cbb0017f
Merge remote-tracking branch 'origin/31-update-songdata-for-fetching-songs-on-frontend-for-playback' into 36-implement-likes-and-dislikes 2024-07-30 22:12:44 -04:00
53cde3bed6
Hide scroll buttons when at end of scroll bar 2024-07-30 21:47:55 -04:00
eab011070d
Don't track scroll_element in scroll button handlers 2024-07-30 21:46:59 -04:00
9d6013b8a4
Move dashboard tile row left spacing to margin-left 2024-07-30 21:35:44 -04:00
7f4108e1c5
Add conversion from SongData to DashboardTile 2024-07-30 21:02:48 -04:00
906b5bd9dd
Merge remote-tracking branch 'origin/31-update-songdata-for-fetching-songs-on-frontend-for-playback' into 33-create-component-for-displaying-music-on-dashboard 2024-07-30 20:57:52 -04:00
bab819822d
Remove like/dislike API calls TODO comment 2024-07-30 19:34:52 -04:00
0c54f0aeb8
Remove leftover dislike button logging 2024-07-30 19:34:15 -04:00
afbcc65457
Implement like/dislike using SongData instead of PlayStatus 2024-07-28 22:42:04 -04:00
e5a6e8f44e
Add like_dislike field to SongData 2024-07-28 22:40:52 -04:00
d45f102be7
Remove TryInto<SongData> for Song
These pre-defined conversion traits are meant to be fast, and implementing this conversion that accesses the database goes against this design.
2024-07-28 22:37:17 -04:00
74b34b1e54
Merge remote-tracking branch 'origin/31-update-songdata-for-fetching-songs-on-frontend-for-playback' into 36-implement-likes-and-dislikes 2024-07-24 17:30:05 -04:00
21bb2d127f
Fix unused crate::database import 2024-07-23 23:37:48 -04:00
76631126de
Add Song/SongData conversions 2024-07-23 23:32:26 -04:00
f8bbe319bd
Update SongData for frontend use 2024-07-23 23:31:48 -04:00
ffad799f72
Add function to get song album object 2024-07-23 23:30:15 -04:00