Skip to content

Feat/album collapsible header#67

Merged
theovilardo merged 3 commits into
masterfrom
feat/album-collapsible-header
Aug 26, 2025
Merged

Feat/album collapsible header#67
theovilardo merged 3 commits into
masterfrom
feat/album-collapsible-header

Conversation

@theovilardo

Copy link
Copy Markdown
Collaborator

No description provided.

google-labs-jules Bot and others added 3 commits August 26, 2025 19:42
…ailScreen

This commit refactors the AlbumDetailScreen to replace the existing parallax scroll effect with the more advanced collapsible top bar mechanism from the ArtistDetailScreen.

Key changes:
- Removed the old scroll logic based on `derivedStateOf` and `graphicsLayer`.
- Implemented the `NestedScrollConnection` from `ArtistDetailScreen` to handle interactive scrolling and snapping behavior.
- Created a new `CollapsingAlbumTopBar` composable that replicates the visual style of the original album header but incorporates the new collapse animations.
- The album art, title, and FAB now animate smoothly as the user scrolls, providing a more polished and responsive user experience.
This commit replaces the 'play' button with a 'shuffle' button on the AlbumDetailScreen.

- The FAB icon is now a 'shuffle' icon.
- The `onPlayClick` action now selects a random song from the album's tracklist and starts playback, effectively shuffling the album.
This commit introduces the following changes:

-   `SongInfoBottomSheet.kt`: Removed `FontFamily.Monospace` from the song title text.
-   `AlbumDetailScreen.kt`: Increased bottom padding for the song list from `16.dp` to `28.dp`.
-   `LibraryScreen.kt`: Commented out the `Box` elements that created a vertical gradient at the top of the "Recently Added" and "Recently Played" lists.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant