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

LB-1664: Only show "full discography" button when required #3019

Merged
merged 1 commit into from
Nov 1, 2024
Merged

Conversation

MonkeyDo
Copy link
Member

@MonkeyDo MonkeyDo commented Oct 31, 2024

Deployed to test.LB for testing: https://test.listenbrainz.org/artist/2fe63f6c-3c54-4151-a6b1-845d030dcb0d/

On the artist page, adding some logic to show the "see full discography" button only if there are more than 4 rows in total across type categories.
This can show up to 4 categories of 1 row, 2 categories of 2 rows, or 1 of 2 rows + 2 of one rows.
After that, like before, crop the container and show the "see full discography" button

Add some more logic to show the "see full discography" button only if there are more than 4 rows in total across type categories.
This can show up to 4 categories of one row, 2 categories of 2 rows, or  1 of 2 rows + 2 of one rows.
Copy link
Member

@anshg1214 anshg1214 left a comment

Choose a reason for hiding this comment

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

🚀

@MonkeyDo MonkeyDo merged commit fea9142 into master Nov 1, 2024
3 checks passed
@MonkeyDo MonkeyDo deleted the LB-1664 branch November 1, 2024 16:30
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.

2 participants