Comments (5)
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.
If someone wanted to code this, Elfeed could probably serve as an example, as it has this feature.
from bui.el.
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.
@vapniks, Yes, please do it!
Sorry for the delay, currently I am short in time, so I may not reply quickly :-)
from bui.el.
Done.
from bui.el.
Related Issues (8)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bui.el.