Coder Social home page Coder Social logo

Search functionality about bui.el HOT 5 OPEN

dustinlacewell avatar dustinlacewell commented on July 18, 2024 1
Search functionality

from bui.el.

Comments (5)

alezost avatar alezost commented on July 18, 2024

There is a way to add filters, but it is very simple, it does not allow on-the-fly "while-you-type" filtering.

I think it would be good to have this feature, but I don't plan to add it, sorry. Maybe someone else will do it one day.

from bui.el.

alphapapa avatar alphapapa commented on July 18, 2024

If someone wanted to code this, Elfeed could probably serve as an example, as it has this feature.

from bui.el.

vapniks avatar vapniks commented on July 18, 2024

The most useful kind of filter would be one that prompted the user for a regexp and column to filter on when bui-enable-filter was run (similar to hide-lines). However I can't see how to do that with the current design. It would require a rewrite of bui-enable-filter (the column names are in bui-list-format).
One way to achieve this would be to have bui-enable-filters check the number of arguments to each filter; if the filter takes more than one arg then the user is prompted for values of the other args, and then the predicate is curried with those values before being added to the list. This would not provide real-time filtering, but it would be an improvement on the current setup.
I'm willing to make the changes if Alex agrees.
What do you think @alezost ?

from bui.el.

alezost avatar alezost commented on July 18, 2024

@vapniks, Yes, please do it!

Sorry for the delay, currently I am short in time, so I may not reply quickly :-)

from bui.el.

vapniks avatar vapniks commented on July 18, 2024

Done.

from bui.el.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.