Skip to content
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

Add library recommendations. #5

Open
quadrupleslap opened this issue Jan 31, 2018 · 4 comments
Open

Add library recommendations. #5

quadrupleslap opened this issue Jan 31, 2018 · 4 comments
Labels
Priority: Medium Some people care Type: Enhancement New feature or request

Comments

@quadrupleslap
Copy link
Owner

Recommending other libraries is really important because you can't make an app with just a window. But, at the very least, they have to work inside the stupidly annoying UWP sandbox, and it'd be ideal if they worked on iOS and Android. Things that might be useful:

  • a filepicker - if we're extremely lucky the one inside the web view can punch holes in the sandbox
  • notifications - maybe HTML5 notifications work
  • converting the executable into an app - this is super, super important for Windows and macOS
  • application data directories - the app_dirs crate looks really good
@Ortham
Copy link

Ortham commented Feb 8, 2018

I've used tinyfiledialogs and nfd-rs for file and folder pickers with webview. The former is poorly-documented (though there's not much to it) but the latter doesn't work well on macOS (crashes if called on a non-main thread, windows don't close if followed by an event loop). I've also used app_dirs, would 👍 that recommendation.

@quadrupleslap quadrupleslap added the Type: Enhancement New feature or request label Feb 9, 2018
@quadrupleslap
Copy link
Owner Author

The current method to include things like binary content is by using a server on an ephemeral port, and for that, these libraries are the best that I've found:

@quadrupleslap
Copy link
Owner Author

tinyfiledialogs has a nice API, but I'm not sure if it plays nicely with the application sandbox, because it calls out to AppleScript for every dialog (I'm still not sure if that's a brilliant or a terrible idea.) I think the most pragmatic solution would be to make a tether-dialogs crate that wraps nfd-rs and extends Window with those methods, to statically verify that the application is on the main thread.

@quadrupleslap quadrupleslap added the Priority: Medium Some people care label Mar 16, 2018
@mdtusz
Copy link

mdtusz commented Jul 4, 2018

In addition, menubar menu-items are something I imagine many people (myself included) would want to be able to use. Whether this is provided by tether, or a third-party library I'm unsure of.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: Medium Some people care Type: Enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants