Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Currently, it is too hard to know for other modules/javascript to figure out when instantfilter filters results. Unless you want to duplicate the key handlers bound in instantfilter. Which is undesirable, because if that code ever changes, supporting modules have to change too.
At the very least, it would be awesome to have an event fired whenever the results are updated. Or, to be more complete, something similar along the lines of the autocomplete widget of jQuery UI:
http://jqueryui.com/demos/autocomplete/#events
Thoughts?
Comment | File | Size | Author |
---|---|---|---|
#9 | events2.patch | 1.78 KB | Kiphaas7 |
#1 | events.patch | 1.4 KB | Kiphaas7 |
Comments
Comment #1
Kiphaas7 CreditAttribution: Kiphaas7 commentedSomething like this?
Comment #2
casey CreditAttribution: casey commentedYes we need that. What if I make you a co-maintainer (I am at least until August busy with non-Drupal stuff)?
I am not expecting to much from this module though, rather I am dying to see jQuery UI 1.9 getting released; I would love to integrate its Grid in D8.
Comment #3
Kiphaas7 CreditAttribution: Kiphaas7 commentedI'm afraid I also can't commit to co-maintaining at this moment. Primarly because I can't commit to regular updates/issue queue sweeps.
Sorry :(.
BTW: I used instantfilter in conjunction with a module of myself to add vertical tabs to the module listing. It provides a listing of enabled modules in a tab summary (which is updated realtime). It's kinda smart too: if the current tab does not have any search results, it automatically jumps to a tab with the most search results.
Idea is kinda stolen from: http://drupal.org/project/module_filter, but I wrote it myself before I knew about it.
Comment #4
klonosPerhaps then (if you are not able to work on this on a regular basis) you should join forces and co-maintain Module filter instead and contribute as/when you can.
Comment #5
Kiphaas7 CreditAttribution: Kiphaas7 commentedWell, not doing anything on this module is a waste. I have a few interesting small patches for this module, so sign me up (at least temporarily) as co-maintainer!
That is, if you still do not have any time to work on it.
Comment #6
casey CreditAttribution: casey commentedyou're a co-maintainer now
Comment #7
Kiphaas7 CreditAttribution: Kiphaas7 commentedThanks, will post issues + patches before committing them.
Comment #8
Kiphaas7 CreditAttribution: Kiphaas7 commentedDoesn't show up yet in my dashboard, but I'm guessing I'm impatient ;).
Comment #9
Kiphaas7 CreditAttribution: Kiphaas7 commentedExtended the patch a bit.
Comment #10
Kiphaas7 CreditAttribution: Kiphaas7 commentedCommitted.
http://drupalcode.org/project/instantfilter.git/commit/d11e108
Comment #11
Kiphaas7 CreditAttribution: Kiphaas7 commented