Hi,

I just tried plone.app.debugtoolbar. It's a great tool (tnx Martin!) but the page is veeeeeeeery big and it's quite annoying to scroll up/down to find what are you looking for. It would be nice to have a quick search to avoid this :)

So, I drafted it into 'livesearch' branch [1] :)

What it does:
- add a search box to a section (only into 'CONTEXT' ATM, just to test) using a macro
- when you fill in a string and click on 'search' you get to the 1st result
- every result is highlighted
- you can skip to prev/next result using prev/next links
- you can go back to search by 'search again' link

The code is a bit ugly because... it's a draft :P and I'm not a JS master :S

What have to do is to add it to all the sections and to clean up the code.

Obviously, I'd like to hear any suggestion/remark about it :)

Thanks!
SimO

[1] https://github.com/plone/plone.app.debugtoolbar/tree/livesearch
_______________________________________________
Product-Developers mailing list
product-develop...@lists.plone.org
https://lists.plone.org/mailman/listinfo/plone-product-developers

Reply via email to