Victor Jeman Academy

How do users narrow a long list down to what they actually need?

Field filters and a free-text box shrink a huge list, but only if you debounce the typing and merge filters into one query.

Filter by field, then by text

A list narrows two ways. Structured filters cover known fields like status, category, or owner. A free-text box catches everything else. When several filters are active, they have to combine into one query instead of overwriting each other.

My records are [describe them, for example issues with status, owner, and a title]. Which fields belong in structured filters and which in a free-text search box, and how do I send [filter A] and [filter B] as one combined request?

Do not fire a request per keystroke

A box that hits the API on every character floods the backend and makes the UI jumpy. Debounce it so the request fires only after the user stops typing, and trim the text before you send it.

My search box fires an API call on every keystroke for [describe my list]. How do I debounce it to fire only after [pick a delay, for example 300ms] of no typing, and handle empty input and trailing spaces?

Structured filters plus a debounced search box shrink a long list fast. Merge the active filters into one query, and never send a request per keystroke.

Additional Resources

Explore these carefully curated resources to deepen your understanding and practice the concepts covered in this lesson.