mirror of
https://github.com/Luchexx/wacrm.git
synced 2026-11-02 09:19:51 +00:00
Adds a "Filter by tags" popover (OR across selected tags) next to the search box, with active-tag chips and clear-all. Resolves #270. Filtering is resolved server-side via the filter_contacts_by_tags RPC so pagination and the total count stay accurate even when a tag covers many contacts (avoids PostgREST's row/IN-clause caps). A fetch-sequence guard prevents out-of-order responses from rendering stale rows, and stale tag selections are pruned when the tag list refreshes. Note: requires migration 025_filter_contacts_by_tags.sql to be applied. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| app | ||
| components | ||
| hooks | ||
| lib | ||
| types | ||
| middleware.ts | ||