Wox-launcher / Wox

A cross-platform launcher that simply works
http://wox-launcher.github.io/Wox/
GNU General Public License v3.0
24.44k stars 2.37k forks source link

How is query function in go plugins re-triggered? #4047

Open SashvDave opened 4 months ago

SashvDave commented 4 months ago

I am trying to create a separate input field in the frontend and send the value to the backend. I log it in a couple different places and it seems to be returned fine, but it doesn't re-render/recall the query function within each plugin as it does when query.Search is changed. How do I edit that?

qianlifeng commented 4 months ago

You need to invoke queryForPlugin to query plugins

SashvDave commented 4 months ago

So I've added a new text input field in preview view and when i pass it and it gets updated on the backend, I get a "result cache not found. Are there some places where I need to cache the existing response?