Skip to content

Conversation

MonkeyDo
Copy link
Member

@MonkeyDo MonkeyDo commented Sep 12, 2025

With more stats added this month, I think it is a good time to implement some improvements I have been thinking about, namely adding a cover art grid to show the top albums, and using the listen card grid (used on some other pages) for the top tracks, to save a bit of space.

Had to modify an attribute on the template SVGs to allow automatic resizing in the browser (addition of preserveAspectRatio="xMinYMin meet").

Finally, also made sure that the top album and artist columns expand to the size of the tallest one
Before:
image

After:
image

On mobile:

image

Show an album grid instead of a list of cards, with the artists on the side.
Show tracks as a grid to take advantage of the space.
Add an option to customize the number of entities to show in UserTopEntity component.
12 entities works well both for division by 2 and by 3 columns
Margins were set for desktop sizes only and looked mangled on mobile
@MonkeyDo
Copy link
Member Author

@Aerozol kindly asking for your input on this, it's been a long time we've been talking about adding some cool cover art in the stats page, so here it is finally :)

@Aerozol
Copy link
Contributor

Aerozol commented Sep 14, 2025

Very cool @MonkeyDo! I just recently made a related ticket :0

I looove that this shows the album art grid, but imo it's a a regression in terms of being able to easily see my stats at a glance. I really like having the three 'top X' columns right next to each other. Having top artists and top tracks in such different configurations bugs me.

My suggestion would be to keep the Top X columns as-is, and instead make "Listening Activity" 2/3rds, and put the art grid next to it as 1/3rd.

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