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

GUI Setting #2

Open
taooceros opened this issue Dec 20, 2021 · 1 comment
Open

GUI Setting #2

taooceros opened this issue Dec 20, 2021 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@taooceros
Copy link

It would be cool if we can have a gui setting panel.

Steps:

  1. Implement ISettingProvider interface
  2. Return a custom usercontrol in that method.

We have provided support for loading and saving json style setting. It is implemented based on calling assembly and class name. to use it, use Context.API.LoadSettingJsonStorage<T>(). Saving will be automatically called by flow.

For the user control
You can create a xaml and follow how program plugin or websearch plugin implement that.

@stax76
Copy link
Owner

stax76 commented Dec 21, 2021

Thanks for the feedback, jjw24 suggested it too, but I probably won't build it because at least for me, it's totally fine without GUI.

Here is how I use it:

In Flow Launcher I type fav and hit enter, my text editor (Sublime Text) shows the conf file. I put a new entry at the top of the file or search what I want to edit, then save the file. v1.4 reloads the file automatically (it checks the modified file date when query runs). For nerds, programmers etc. this whole process can be highly efficient and also enjoyable.

I'm not short of project ideas (mostly mpv.net), otherwise I would say why not.

@stax76 stax76 added the enhancement New feature or request label Dec 21, 2021
@stax76 stax76 self-assigned this Dec 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants