Mobile support #31
Reference in New Issue
Block a user
Delete Branch "mobile-support"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This pull request introduces several enhancements and fixes, focusing on mobile responsiveness, debugging configurations, and improved user experience in the audio player and album page. The changes include adding debugging configurations, implementing mobile-specific behavior in the audio player, and refining album and artist page layouts for mobile devices.
Debugging and Development Enhancements:
.vscode/launch.json: Added configurations for debugging Next.js in development and production environments, including environment variables and runtime arguments..vscode/tasks.json: Added tasks for starting the development server, building and starting production, and debugging with additional options like telemetry disabling and background execution.Mobile Responsiveness and Audio Player Improvements:
app/components/AudioPlayer.tsx: Introduced swipe gesture support for track navigation, mobile-specific audio initialization, enhanced Media Session API integration, and improved error handling for mobile playback. [1] [2] [3] [4] [5]Album and Artist Page Enhancements:
app/album/[id]/page.tsx: Added mobile-specific layout for album pages, including dynamic cover art URLs and responsive album info and controls. Removed unusedScrollAreacomponent and adjusted tracklist spacing. (app/album/[id]/page.tsxL13-R15, app/album/[id]/page.tsxR27, app/album/[id]/page.tsxL122-R191, app/album/[id]/page.tsxL155-R225, app/album/[id]/page.tsxL225)app/artist/[artist]/page.tsx: Updated artist image URL to use higher resolution for better display quality. (app/artist/[artist]/page.tsxL106-R106)Minor Changes:
.env.local: Updated theNEXT_PUBLIC_COMMIT_SHAenvironment variable to reflect the latest commit.The latest updates on your projects. Learn more about Vercel for Git ↗︎