mirror of
https://github.com/jpochyla/psst.git
synced 2026-04-27 07:25:52 +03:00
[GH-ISSUE #616] Public user viewer section #363
Labels
No labels
api
bug
build
documentation
duplicate
enhancement
good first issue
help wanted
idea
invalid
linux
lowprio
macos
pull-request
upstream
windows
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/psst#363
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.
@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?
@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!
@secondlnl commented on GitHub (Jun 12, 2025):
Ok, just something quickly done
@SO9010 commented on GitHub (Jun 12, 2025):
Lovely nice start!!
@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.
@secondlnl commented on GitHub (Jun 13, 2025):
From my limited knowledge, Spotify doesn't allow users to add a bio (sadly), so do you mean the following/followers texts?
@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.
@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.
@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.
@secondlnl commented on GitHub (Jun 13, 2025):
Yea ok no sorry, but good information nonetheless