jappe999 / project-cards

Cards Against Humanity App
https://project-against-cards.herokuapp.com/
GNU General Public License v3.0
1 stars 0 forks source link

Cannot share a game #39

Closed jappe999 closed 5 years ago

jappe999 commented 5 years ago

I cannot share a game via social media.

Expected Behavior

I would like to share a game via a share button. When the user clicks on that button a share popup should appear. See https://developer.mozilla.org/en-US/docs/Web/API/Navigator/share for details

Current Behavior

When I want my friends to join a game I have to copy the URL and paste it in the social medium I want to share it with.

Possible Solution

Right now there is the name of the game that can be copied, but it would be nicer if clicking that text would save the URL to the keyboard. Also with a share button next to it that, when clicked, opens a sharing popup. In that sharing popup I can choose the app I want to share it with.

Steps to Reproduce (for bugs)

N/A

Context

I want to share a game I created (or joined) with friends. But every time I want to I have to copy the URL from the browser's search bar. And that's not working for me.

Your Environment