vicb / flyXC

One stop shop web app for paraglider pilots. Plan, visualize, and track your flights.
https://flyxc.app
MIT License
96 stars 34 forks source link

WISH: URL parameters to set preferences #266

Open SoarVermont opened 3 months ago

SoarVermont commented 3 months ago

It would be nice to be able to specify the unit preferences within the URL parameters.

Thanks for this excellent app!

vicb commented 3 months ago

I plan to sync config to your account, would that work?

SoarVermont commented 3 months ago

Our club members can click on each of their flight tracks on our web site. Our generated URL calls flyxp.app with their igc file URL as the 'track' parameter. Would they each need to create a flyxp.app account if they always wanted imperial units? I'm hoping that if our generated web site URLs contain the preferences then our users wouldn't need individual accounts.

vicb commented 3 months ago

I see (yes they would need an account).

I need to think more about that when I work on the settings. I really wouldn't want that clicking on a link changes my settings to imperial.

It is possible to integrate flyxc in an iframe on your site - shoot le an email if you are interested (see my profile page for the address).

SoarVermont commented 3 months ago

I'm happy opening a new window to your web site with their track preloaded. That way they can create an account and customize their views if they want to. I'm looking for a way to default the units to imperial if they don't log in or create an account. Could an iframe solve that issue?