AddThisFeature

Advanced Filters

Let people narrow a big list down to the rows they want.

moderate Search & Discovery

What it adds

Composable filters on your main list views, reflected in the URL.

What your agent is told to do

4
  1. 1

    Filter on the fields people actually care about. Ask what questions users are trying to answer.

  2. 2

    Put the active filters in the URL so a filtered view can be bookmarked and shared.

  3. 3

    Show which filters are active, and make them removable individually and all at once.

  4. 4

    Filter server-side. Fetching everything and filtering in the browser breaks the moment the data grows.

Edge cases it handles

4
  • A filter combination that matches nothing must show a filtered-empty state with a way to clear it — not a first-run empty state.
  • Filters must combine correctly (AND vs OR must be explicit and predictable).
  • A shared filter URL must not expose records the recipient can't see.
  • Pagination must reset to page 1 when filters change.

Definition of done

8
  • Filters are applied server-side.
  • Active filters appear in the URL and can be shared.
  • Active filters are visible and individually removable.
  • An empty result offers a way back.
  • Changing a filter resets pagination.
  • Permissions are re-checked on a shared filter URL.
  • The feature matches the existing design system.
  • No existing functionality is broken.

Related features

How it works

  1. 1

    Copy the link

    Grab the Markdown instruction URL for this feature.

  2. 2

    Give it to your AI

    Paste it into Claude Code, Cursor, v0, Lovable — whatever you build with.

  3. 3

    It inspects, then implements

    Your agent reads your existing app first, then adds the feature to fit it.

Works with your stack

These instructions are written to adapt. They tell the agent to detect your framework, match your existing design system, and reuse what you already have — rather than assuming a particular stack.

Need it tighter than that? Customize the feature and tell it exactly what you're running.