Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat: BP Revamp in LB-Android Part 1 (Completed Overview Screens) #382

Merged
merged 18 commits into from
Apr 15, 2024

Conversation

pranavkonidena
Copy link
Contributor

This PR aims to revamp the existing BP with the new figma and features as given on the GSoC Ideas Page. The updated figma file can be found here

Earlier the search icon in the top bar used to be a global search in the app for users , now in the BP page , the search icon will be used to search local songs
@pranavkonidena pranavkonidena marked this pull request as draft March 2, 2024 08:38
@pranavkonidena pranavkonidena changed the title Feat: BP Revamp in LB-Android Feat: BP Revamp in LB-Android Part 1 (Completed Overview Screens) Mar 22, 2024
@pranavkonidena pranavkonidena marked this pull request as ready for review March 22, 2024 11:06
@akshaaatt
Copy link
Member

@pranavkonidena the app crashes as soon as I load this branch

@pranavkonidena pranavkonidena marked this pull request as draft March 28, 2024 03:16
@pranavkonidena pranavkonidena marked this pull request as ready for review March 31, 2024 15:51
Copy link
Member

@akshaaatt akshaaatt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small change needed here. Also, found some small bugs like play button not working etc, hopefully we can take those up in another PR

@@ -4,7 +4,7 @@ import androidx.annotation.DrawableRes
import org.listenbrainz.android.R

sealed class AppNavigationItem(val route: String, @DrawableRes val iconUnselected: Int, @DrawableRes val iconSelected: Int, val title: String) {
object BrainzPlayer : AppNavigationItem("brainzplayer", R.drawable.player_unselected, R.drawable.player_selected, "Player")
object BrainzPlayer : AppNavigationItem("brainzplayer", R.drawable.player_unselected, R.drawable.player_selected, "Local Player")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@pranavkonidena Rename this to Player

@akshaaatt
Copy link
Member

@pranavkonidena Looking at the design here, I am not sure if artist should always be the primary text. For albums, album name should be primary and artist name secondary. Same for song

@pranavkonidena
Copy link
Contributor Author

@akshaaatt I have made the change for albums @However, for recently played, the design mandates artist as the primary title. I will confirm this from Aerozol once and update as needed

@pranavkonidena
Copy link
Contributor Author

@akshaaatt whenever u have time, could u pls go thru the PR again? I have made the reqd changes.
Thank you!

title = album.title,
artist = album.artist,
title = album.artist,
artist = album.title,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks wrong to me now. Passing the album title as the artist field name. We should rename the parameters to something more generic

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@pranavkonidena I am merging this PR rn since we are doing a cleanup. Please fix this in the next PR.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Alright @akshaaatt ! Thanks will make sure these are fixed in the next PR

@akshaaatt akshaaatt merged commit 5295b9f into metabrainz:dev Apr 15, 2024
1 check passed
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.

None yet

2 participants