[development] Incremental filter for the permissions page

Dmitri Gaskin dmitrig01 at gmail.com
Tue Feb 17 01:23:50 UTC 2009


Hello Development,

I've been working on a patch that incrementally filters the permission  
page - patch at http://drupal.org/node/229193 and demo at http://dmitrizone.com/229193.mov 
.

The patch is pretty much ready to be reviewed, except for the fact  
that webchick has an issue with how it degrades.
Currently, without JavaScript, the textfield for searching simply  
isn't there, and you can't use the incremental filter.
Webchick would like it to be degradable. The issue with this is that  
we already have a 100-line search algorithm for searching in HTML, and  
we'd need another 150 or so search algorithm to do it server side,  
which would actually be quite different.

CHX has an argument against needing a degradable version at http://drupal.org/node/229193#comment-1260194 
:
"I think this is fine with working only if JavaScript is there. Drupal  
works without JavaScript but with reduced functionality already. You  
can not resize a textarea without JS for example. Autocomplete does  
not work. This piece is similar."

What do you guys think?

Dmitri


More information about the development mailing list