New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Share button like Wordle has #11
Comments
This is coming soon, the rough implementation is already at beta.sanuli.fi but I need some proper place for the button & a toast message to let the user know that the input was copied to their clipboard. And perhaps polyfill browsers without navigator.clipboard features, but that is annoying to do at non-js world |
Love to hear it!
ah, the perils of web design: always constrained by backwards compatibility |
Ah, went to try it just now, and you might have an off-by-one error (today's is 19). I agree that the button is not really in a good place now, also you seem to insert newlines for all unguessed rows too?
|
The deployed version indeed has the off-by-one error and the newlines, both fixed at local dev branch :) Thanks for pointing that out though! And the button placement was just an easy placeholder, as I needed to test the clipboard there (since it can't be used in non-HTTPS context) I'm also planning another sharing feature: a way to generate a link to share any completed game, not just the daily word, which would open the game without the characters shown, and the user who clicked could either reveal them, or try to solve the same word from the beginning. This is something that the refactoring I've done last week would allow without resetting the current streaks the user might have at sanuliketju/classic mode |
A simple version of this was deployed yesterday, clicking the link after päivän sanuli is solved copies the string on clipboard. |
The link sharing feature was now also added, closing this issue. |
Wordle has a "share" button on the win screen, which allows one to share their result as a set of emoji without revealing the word or their guesses (the asterisk indicates "hard mode", other parts should be self-explanatory):
I've written a javascript bookmarklet to do this, but it would be nice to have this as a "proper" feature.
The text was updated successfully, but these errors were encountered: