From 4499bdf147a04aefe960b5b0168d58eac6f135db Mon Sep 17 00:00:00 2001 From: angel Date: Tue, 1 Jul 2025 23:33:40 +0000 Subject: [PATCH] feat: update commit SHA, enhance UI components with improved layouts and functionality, and refine Favorites page with new features --- .env.local | 2 +- app/browse/page.tsx | 2 +- app/components/WhatsNewPopup.tsx | 10 ++++++-- app/components/artist-icon.tsx | 5 ++-- app/components/sidebar.tsx | 10 ++++---- app/favorites/page.tsx | 42 +++++++------------------------- app/library/artists/page.tsx | 5 +--- 7 files changed, 27 insertions(+), 49 deletions(-) diff --git a/.env.local b/.env.local index d7ce315..0b91c98 100644 --- a/.env.local +++ b/.env.local @@ -1 +1 @@ -NEXT_PUBLIC_COMMIT_SHA=87a2f06 +NEXT_PUBLIC_COMMIT_SHA=0cb4f23 diff --git a/app/browse/page.tsx b/app/browse/page.tsx index f89f3ee..38d937b 100644 --- a/app/browse/page.tsx +++ b/app/browse/page.tsx @@ -119,7 +119,7 @@ export default function BrowsePage() { ))} diff --git a/app/components/WhatsNewPopup.tsx b/app/components/WhatsNewPopup.tsx index 17dc71d..60f4593 100644 --- a/app/components/WhatsNewPopup.tsx +++ b/app/components/WhatsNewPopup.tsx @@ -17,7 +17,6 @@ const CHANGELOG = [ date: '2025-07-01', title: 'Initial Release', changes: [ - 'Added Favorites functionality for albums, songs, and artists', 'Integrated standalone Last.fm scrobbling support', 'Added collapsible sidebar with icon-only mode', 'Improved search and browsing experience', @@ -27,9 +26,16 @@ const CHANGELOG = [ 'Added settings page for customization options', 'Introduced Whats New popup for version updates', 'Improved UI consistency with new Badge component', + 'New Favorites page with album, song, and artist sections', ], breaking: [], - fixes: [] + fixes: [ + 'Fixed issue with audio player not resuming playback after pause', + 'Resolved bug with search results not displaying correctly', + 'Improved performance for large libraries', + 'Fixed layout issues on smaller screens', + 'Resolved scrobbling issues with Last.fm integration' + ] } ]; diff --git a/app/components/artist-icon.tsx b/app/components/artist-icon.tsx index 894cf7b..59230f5 100644 --- a/app/components/artist-icon.tsx +++ b/app/components/artist-icon.tsx @@ -83,11 +83,10 @@ export function ArtistIcon({
- + handleClick()}>
handleClick()} >
+
{/* Collapse/Expand Button */} -
+

Discover @@ -178,7 +178,7 @@ export function Sidebar({ className, playlists, collapsed = false, onToggle }: S

-
+

Library

@@ -322,8 +322,8 @@ export function Sidebar({ className, playlists, collapsed = false, onToggle }: S
-
-
+
+
- + handlePlayAlbum(album)}/>
@@ -277,16 +267,16 @@ const FavoritesPage = () => {

Star artists to see them here

) : ( -
+
{favoriteArtists.map((artist) => ( - -
+ +
{artist.name}
@@ -294,20 +284,6 @@ const FavoritesPage = () => {

{artist.albumCount} albums

-
- - -
))} diff --git a/app/library/artists/page.tsx b/app/library/artists/page.tsx index 299a298..c06ca8d 100644 --- a/app/library/artists/page.tsx +++ b/app/library/artists/page.tsx @@ -104,7 +104,7 @@ export default function ArtistPage() {
-
+
{filteredArtists.map((artist) => (
handleViewArtist(artist)}> @@ -118,9 +118,6 @@ export default function ArtistPage() { />
-