I like the idea of a generic filter. But It shouldn't be here. I think it should be in fauxton/components. That is where we keep all the reusable UI components.