andy3471 / keyshare

A web app for sharing Steam keys with your friends
MIT License
4 stars 2 forks source link

Show shared games on user profile #62

Open andy3471 opened 5 years ago

andy3471 commented 5 years ago

Show shared games on user profile

rindy22 commented 5 years ago

Hi, i can resolve this issue, can you give more informatinon if it is needed and assign it on me?

andy3471 commented 5 years ago

Hi, thanks for commenting. I'm happy to run you through what's required.

This one a a little bit difficult as a first issue if you don't know how I've done i. There needs to be a route on something like /users/{id}/getkeys that returns JSON with the Key Name, Image and ID for each key created by that user. This should be paginated.

Then you can use the vue component, and pass through the props for the URL on the profile view (You can use the Claimed Keys or Shared Keys View as a reference), so that it loads that.

A nice to have would be to have the Icon grayed out if the key has already been claimed on the profile.

It may be a tricky first issue, I'm happy to run you through it more if you want to get involved.