json-ld.org icon indicating copy to clipboard operation
json-ld.org copied to clipboard

playground permalink feature broken

Open davidlehn opened this issue 11 years ago • 5 comments

The playground permalink button feature is both hard to use and doesn't always work.

I keep trying to click on the button to keep the pop up open so I can select the text. As soon as you move mouse to the text field, the pop up goes away. Apparently you need to hover over the button and hit ctrl-c. This is confusing. If you click on button, the pop up should stay up for the user to use.

The content that was copied via ctrl-c also was not the input+frame content that I wanted. It appeared to be content from the person example button I had clicked on previously vs the current visible content.

@bollwyvl any thoughts on how to improve and fix this feature?

davidlehn avatar May 14 '14 20:05 davidlehn

+1

Also, a URL shortener would be extremely useful, at least a link that invoked, say, the Google shortener automatically.

gkellogg avatar May 14 '14 20:05 gkellogg

The first step is just getting it back to where it is easy to get the link text. Generating short links all the time would be a waste. Just let the user click on something if they need one. A quick hack would be to just generate a tinyurl create link with target="_blank" and let the user click on it: http://tinyurl.com/create.php?url=PLAYGROUNDURL

davidlehn avatar May 14 '14 21:05 davidlehn

Better?

http://bollwyvl.github.io/json-ld.org/playground-permalink-popover/playground

On Wed, May 14, 2014 at 5:03 PM, David I. Lehn [email protected]:

The first step is just getting it back to where it is easy to get the link text. Generating short links all the time would be a waste. Just let the user click on something if they need one. A quick hack would be to just generate a tinyurl create link with target="_blank" and let the user click on it: http://tinyurl.com/create.php?url=PLAYGROUNDURL

— Reply to this email directly or view it on GitHubhttps://github.com/json-ld/json-ld.org/issues/347#issuecomment-43137349 .

bollwyvl avatar May 14 '14 23:05 bollwyvl

Perfect! I love the idea of "Share this" too: Twitter, G+.

gkellogg avatar May 15 '14 00:05 gkellogg

Much better, thanks!

davidlehn avatar May 15 '14 18:05 davidlehn