4 ms·
> Search filtering requires UX/biz logic: I don't buy that some specific biz/ux logic is ever needed for a list of textual entries. We're not talking about a g
by dsego 7y ago
> Search filtering requires UX/biz logic:
I don't buy that some specific biz/ux logic is ever needed for a list of textual entries. We're not talking about a general search engine here. I imagine a simple heuristic could cover most of the cases (eg whatever c-f does). Also, the control can have additional params passed in to configure it differently when needed. Stuff like hightlight/bold (and even the matching rules) are imho either configurable or a system-specific implementation detail - like how macos dropdowns center on the selected item, or how on mobile a dropdown shows a modal scrolling interface, and so on.