[GH-ISSUE #616] Public user viewer section #363

Open
opened 2026-02-28 14:32:28 +03:00 by kerem · 10 comments
Owner

Originally created by @SO9010 on GitHub (May 22, 2025).
Original GitHub issue: https://github.com/jpochyla/psst/issues/616

Originally assigned to: @SO9010 on GitHub.

Is your feature request related to a problem? Please describe.
We have a section for essentially everything apart from this, pretty big feature.

Describe the solution you'd like
We could use the same styling for this as for the artist section. And maybe we add it to the left section at the top along with the albums and podcasts. Now I mention it we should also add the ability to save and unsave albums, we could also add an artist section for the followed artists, I think this has been mentioned before.

Describe alternatives you've considered
We should start with an implantation without the ability to follow and unfollow.

Originally created by @SO9010 on GitHub (May 22, 2025). Original GitHub issue: https://github.com/jpochyla/psst/issues/616 Originally assigned to: @SO9010 on GitHub. **Is your feature request related to a problem? Please describe.** We have a section for essentially everything apart from this, pretty big feature. **Describe the solution you'd like** We could use the same styling for this as for the artist section. And maybe we add it to the left section at the top along with the albums and podcasts. Now I mention it we should also add the ability to save and unsave albums, we could also add an artist section for the followed artists, I think this has been mentioned before. **Describe alternatives you've considered** We should start with an implantation without the ability to follow and unfollow.
Author
Owner

@secondlnl commented on GitHub (Jun 12, 2025):

Maybe make the account name clickable, moving it to the top and displaying profile picture next to it?

<!-- gh-comment-id:2966526061 --> @secondlnl commented on GitHub (Jun 12, 2025): Maybe make the account name clickable, moving it to the top and displaying profile picture next to it?
Author
Owner

@SO9010 commented on GitHub (Jun 12, 2025):

I was thinking of a page where you can view their public playlists. I don't think we want too many movable parts :P but it is a good idea!

<!-- gh-comment-id:2967151939 --> @SO9010 commented on GitHub (Jun 12, 2025): I was thinking of a page where you can view their public playlists. I don't think we want too many movable parts :P but it is a good idea!
Author
Owner

@secondlnl commented on GitHub (Jun 12, 2025):

Ok, just something quickly done

Image

<!-- gh-comment-id:2967627193 --> @secondlnl commented on GitHub (Jun 12, 2025): Ok, just something quickly done ![Image](https://github.com/user-attachments/assets/454d51ba-ce0c-42a3-a782-af83d06f0c31)
Author
Owner

@SO9010 commented on GitHub (Jun 12, 2025):

Lovely nice start!!

<!-- gh-comment-id:2967685701 --> @SO9010 commented on GitHub (Jun 12, 2025): Lovely nice start!!
Author
Owner

@jacksongoode commented on GitHub (Jun 13, 2025):

@secondlnl I think you can also look at the structure of the artist bio for the user's description too.

<!-- gh-comment-id:2968688993 --> @jacksongoode commented on GitHub (Jun 13, 2025): @secondlnl I think you can also look at the structure of the artist bio for the user's description too.
Author
Owner

@secondlnl commented on GitHub (Jun 13, 2025):

user's description too.

From my limited knowledge, Spotify doesn't allow users to add a bio (sadly), so do you mean the following/followers texts?

<!-- gh-comment-id:2969803259 --> @secondlnl commented on GitHub (Jun 13, 2025): > user's description too. From my limited knowledge, Spotify doesn't allow users to add a bio (sadly), so do you mean the following/followers texts?
Author
Owner

@SO9010 commented on GitHub (Jun 13, 2025):

I believe you are right! I think what what is needed is number of public playists and the formatting to be the same as the artist section so same font and size of everything.

Unfortunatly I think we need to use some of spotifys apis which I can help with as I really want to have the feature where I can see my friends public playlists.

Could you please open a PR so I can have a look through and also understand where you are with in the program. Also does this work for other users not just you? I think we will also need to change the search function so we are able to search for users. We also should add the playlist cover too and this is where we can have a link to the user.

<!-- gh-comment-id:2969864426 --> @SO9010 commented on GitHub (Jun 13, 2025): I believe you are right! I think what what is needed is number of public playists and the formatting to be the same as the artist section so same font and size of everything. Unfortunatly I think we need to use some of spotifys apis which I can help with as I really want to have the feature where I can see my friends public playlists. Could you please open a PR so I can have a look through and also understand where you are with in the program. Also does this work for other users not just you? I think we will also need to change the search function so we are able to search for users. We also should add the playlist cover too and this is where we can have a link to the user.
Author
Owner

@secondlnl commented on GitHub (Jun 13, 2025):

Oh, my mistake if you got that impression that it was in code, the picture above is of a mockup, but I would be willing to dive into the code I would just need some pointers first, I can handle the rest.

<!-- gh-comment-id:2969972025 --> @secondlnl commented on GitHub (Jun 13, 2025): Oh, my mistake if you got that impression that it was in code, the picture above is of a mockup, but I would be willing to dive into the code I would just need some pointers first, I can handle the rest.
Author
Owner

@SO9010 commented on GitHub (Jun 13, 2025):

Oh! Got ya I think for a first contribution this may be a bit complex but I will still give some pointers just in case you want to have a go.

The main core idea is that we will be expanding the currrent struct that we have which is called PublicUser:

github.com/jpochyla/psst@e53a07e21a/psst-gui/src/data/user.rs (L13-L17)

To then become a page of its own, where you can take a lot of inspiration form the code for the artist page as they have similar elements. Like top tracks, currated playlists and other artists.

We can make the most out of the provided endpoints like this however most of the user information is behind spotifies api which we have to go through our self which is where I can come and help if you choose to tackle this after make it so you can view the users profile using the previously mentioned api.

We also will need to find a way to allow people to search for users, which currently im not sure how to do that, but it may involve migrating the api for the search to be using the one that spotify uses. Which involves more work.

But what will first need to be done is for there to be a playlist image and perhaps discription shown at the top. Then people will be able to right click on the image to go to the user.

This is a rough outline of what will need to be done.

<!-- gh-comment-id:2970003168 --> @SO9010 commented on GitHub (Jun 13, 2025): Oh! Got ya I think for a first contribution this may be a bit complex but I will still give some pointers just in case you want to have a go. The main core idea is that we will be expanding the currrent struct that we have which is called PublicUser: https://github.com/jpochyla/psst/blob/e53a07e21a7928bd0f64e9b053f8fbc4b8df598b/psst-gui/src/data/user.rs#L13-L17 To then become a page of its own, where you can take a lot of inspiration form the code for the artist page as they have similar elements. Like top tracks, currated playlists and other artists. We can make the most out of the provided endpoints [like this](https://developer.spotify.com/documentation/web-api/reference/get-users-profile) however most of the user information is behind spotifies api which we have to go through our self which is where I can come and help if you choose to tackle this after make it so you can view the users profile using the previously mentioned api. We also will need to find a way to allow people to search for users, which currently im not sure how to do that, but it may involve migrating the api for the search to be using the one that spotify uses. Which involves more work. But what will first need to be done is for there to be a playlist image and perhaps discription shown at the top. Then people will be able to right click on the image to go to the user. This is a rough outline of what will need to be done.
Author
Owner

@secondlnl commented on GitHub (Jun 13, 2025):

Oh! Got ya I think for a first contribution this may be a bit complex but I will still give some pointers just in case you want to have a go.

Yea ok no sorry, but good information nonetheless

<!-- gh-comment-id:2970268497 --> @secondlnl commented on GitHub (Jun 13, 2025): > Oh! Got ya I think for a first contribution this may be a bit complex but I will still give some pointers just in case you want to have a go. Yea ok no sorry, but good information nonetheless
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/psst#363
No description provided.