noosfero | New hotspots: load profiles and async search (!1277)

Rodrigo Souto gitlab at mg.gitlab.com
Thu Jul 6 16:45:48 BRT 2017


I think I understand what you are trying to do but don't you think that this would make more sense if it was integrated to the plugins through `find_by_contents`?

So instead of the core call the plugins for jobs and offer an action for the js to keep polling the jobs' status, you could pass a request param  (let's say `async: true` as an example) and the core, detecting this param, calls the common search `find_by_contents` (with every possible params it might support) through a job. I'm not sure if your specific goal is supported by this solution but it would make much more sense for the core, at least.

---
Reply to this email directly or view it on GitLab: https://gitlab.com/noosfero/noosfero/merge_requests/1277#note_34377098
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20170706/448e20be/attachment.html>


More information about the Noosfero-dev mailing list