I think this would be really helpful. Looking at the code in the gist, that looks about right. It's not too complicated and the basic toLowerCase()/indexOf() method of search should hopefully be enough (it's what I would do if I were implementing this!). I'd suggest adding some sort of clear or x button for canceling/removing the filter, but otherwise I think this should be ok UX wise. We can always improve it later.
On Thursday, November 19, 2020 at 9:38:25 AM UTC-5 t...@carrick.eu wrote: > I haven't looked at the gist, but I think in principle it's a good idea. > ctrl+f isn't ideal. > > I think we need to be careful that the UX is good, if we go with this. > > Tom > > On Thu, 19 Nov 2020 at 15:16, Maxim Milovanov <m...@milovanov.info> wrote: > >> Yeah, that's why I came up with that idea. There are two projects, 44 >> models on one, 57 models on another. It's very hard to navigate >> >> четверг, 19 ноября 2020 г. в 16:50:37 UTC+3, yasie...@gmail.com: >> >>> I found this feature very helpful. I'm maintaining two sites with more >>> than 20 models registered in the admin and some time is annoying when I try >>> to find the one I'm looking for >>> >>> El miércoles, 18 de noviembre de 2020 a la(s) 15:13:02 UTC-5, Maxim >>> Milovanov escribió: >>> >>>> Hey guys, >>>> >>>> I've posted a ticket <https://code.djangoproject.com/ticket/32204> with >>>> a proposal to add a quick filtering feature to the sidebar. >>>> To see it in action just replace the content of nav_sidebar.html by this >>>> gist >>>> <https://gist.github.com/MilovanovM/84ffbbec02391c1ba1771a3a6aee5797> >>>> >>>> Does it worth adding to the admin features? Hope for any feedback. >>>> >>>> Thanks, >>>> Maxim >>>> >>> -- >> You received this message because you are subscribed to the Google Groups >> "Django developers (Contributions to Django itself)" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to django-develop...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/django-developers/8376528d-a2df-43b0-829e-43a49bd44dddn%40googlegroups.com >> >> <https://groups.google.com/d/msgid/django-developers/8376528d-a2df-43b0-829e-43a49bd44dddn%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-developers+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/57ba00b9-7804-4bd6-a88e-12d73f70af3an%40googlegroups.com.