teqo/src/components/campaign/stateDeputy
Francisco Ignácio Fontoura Solla bcb58c2162 B33+: close the /simplify rounds on the shared list filter hook
Follows the URL when the committed query changes with no debounce pending, so
Back/Forward and the empty state's clear anchor update the search box without
overwriting text the user is still typing. That removed the last reason for
/campanha/municipios to remount its filters, so the key= (and its now orphaned
buildMunicipalityFiltersKey) is gone and the three lists share one mounting
policy — the dedup guard was dead code on municípios while it remounted.

Reuse: setSearch + scheduleSearch were always called as a pair, so they collapse
into onSearchChange (hook surface 8 -> 6 names); MunicipalityFilters reuses the
buildMunicipalityFilterHref it was reimplementing inline; dobradinhas gains the
sibling buildStateDeputyFilterHref for the four sites pinning page 1 by hand;
municípios gains the active-filter summary its mobile block was missing.

Also drops an export with no consumer that was failing knip in CI (seo.ts).
2026-07-27 09:39:15 -03:00
..
StateDeputyChips.tsx Pass 2 W2: components/campaign em subpastas por dominio 2026-07-25 14:52:17 -03:00
StateDeputyFilters.tsx B33+: close the /simplify rounds on the shared list filter hook 2026-07-27 09:39:15 -03:00
StateDeputyForm.tsx Pass 2 W2: components/campaign em subpastas por dominio 2026-07-25 14:52:17 -03:00
StateDeputyHeaderFilter.tsx B33+: close the /simplify rounds on the shared list filter hook 2026-07-27 09:39:15 -03:00
StateDeputySortableHead.tsx B33: ordenação e filtro no header da lista de dobradinhas 2026-07-26 16:21:40 -03:00