question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add query param to force "open in desktop" or "open in web"

See original GitHub issue

Sometimes users want to make links that force the desktop app to open. An example would be to open a websocket connection to a non-localhost domain (which won’t work with https pages in the browser).

https://studio.foxglove.dev/?ds=foxglove-websocket&ds.url=ws://myurl:8765

Having a query argument that can bypass the launch preference and open the desktop app would allow for sharing such links.

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:1
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
jtbandescommented, Sep 1, 2022

With https://github.com/foxglove/studio/pull/4325 we have changed the default so that links will open in the web app without a prompt. If you still need an override, you can set the openIn url param.

1reaction
vbaiercommented, Aug 31, 2022

This has actually proven a big issue for prototyping using foxglove in our internal systems to the point where we are considering using webviz to avoid the extra user friction. Our case is simply to launch a visualizer from existing resources that we have already inventoried and this is the only part of the system that does not include low-friction default behavior.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to open a local file with a query string appended ...
Sadly that fails, as it looks for a file named foo.html?foo=bar instead of foo.html before opening the browser: The file /tmp/foo.html?foo ...
Read more >
Use parameters to ask for input when running a query
Adding parameters to an Access desktop database query makes it ask for criteria so that it filters the results.
Read more >
java - Parameters are removed when opening local URL in ...
Parameters are removed when opening local URL in default browser ... I have the following code for opening a local web page with...
Read more >
Registering Office Add ins using URL query parameters
Courtney Owen, Microsoft Engineer, shows a demonstration of how to register Office Add -ins in Office on the web using URL query parameters....
Read more >
Use URL parameters—ArcGIS Web AppBuilder
Now there is an easier way to construct URL parameters. Add the Share widget in the app and click Link Options. Link preview...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found