graphiql-app icon indicating copy to clipboard operation
graphiql-app copied to clipboard

Links in description result in "broken" app

Open cabello opened this issue 6 years ago • 1 comments

Hi 👋

Thanks for making this app, it's quite handy, I've been using it for a while now, I tried other applications but this is the one that I like the most, it's really use to re-fetch the latest schema and write queries.

I found the following bug that I will attempt my best to describe it.

The following screenshot contains a link to Wikipedia using Markdown links:

Screen Shot 2019-06-18 at 12 22 00 PM

When the user clicks the link, the page is loaded inside the app and at this moment the only solution to go "back" to the GraphiQL app is to close the application and start again.

Screen Shot 2019-06-18 at 12 22 16 PM

Version information:

  • macOS Mojave 10.14.5
  • GraphiQL 0.7.2

Potential solutions, suggestions on how it could be fixed it:

  • Open link in default browser instead of inside the app.
  • Add Back, Forward links to application menu.

cabello avatar Jun 18 '19 16:06 cabello

This provides a few pointers on how to achieved the behaviour of opening the link in default browser https://github.com/electron/electron/issues/1344 I will give it a try soon.

cabello avatar Jun 18 '19 20:06 cabello