teqo-backup/src
Francisco Ignácio Fontoura Solla 6a20e98047 fix(campanha): share one Drawer across municipalities mobile cards
Root cause of the prod-build React #130 on /campanha/municipios: the
md:hidden mobile-cards tree still hydrated ~25 rows x ~5 sheet controls
(~125 eager Drawer/DrawerCloseButton instances) even on wide viewports.
Filtered ?q=... routes failed more often only because they exercise the
list with filters active — the search param itself was not the bug.

CampaignListSheetProvider hosts a single bottom Drawer for the whole
mobile section; CampaignCellEditOverlay sheet cells portal their
body/footer into it while keeping per-cell open state and autosave
scaffolds. Footers with DrawerCloseButton are only created once a sheet
actually opens. Desktop popover path is unchanged; per-cell Drawer
remains the fallback for surfaces without the provider.

Also: DrawerCloseButton (function render prop, avoids base-ui element
render in prod bundles) replaces the DrawerClose render={<Button/>}
pattern across call sites; stale e2e selectors refreshed; e2e affected
script + playwright github/list reporters for CI; use-mobile reverted
(no consumers of the gate remain).

Guardrail filed as issue #52.
2026-07-30 17:37:20 -03:00
..
app feat(campanha): add Demandas group to home global search (B53) 2026-07-30 12:39:35 -03:00
collections B69: simplify the leadership model to exclusive + drop sector/consentNote. 2026-07-30 02:32:56 -03:00
components fix(campanha): share one Drawer across municipalities mobile cards 2026-07-30 17:37:20 -03:00
globals Tooling: prettier como autoridade de formatacao (organize-imports deterministico, scripts format/format:check, normalizacao mecanica de 312 arquivos; artefatos gerados e migrations excluidos via .prettierignore) 2026-07-25 17:22:20 -03:00
hooks Tooling: prettier como autoridade de formatacao (organize-imports deterministico, scripts format/format:check, normalizacao mecanica de 312 arquivos; artefatos gerados e migrations excluidos via .prettierignore) 2026-07-25 17:22:20 -03:00
lib feat(campanha): add Demandas group to home global search (B53) 2026-07-30 12:39:35 -03:00
migrations B69: simplify the leadership model to exclusive + drop sector/consentNote. 2026-07-30 02:32:56 -03:00
utilities fix(campanha): keep demand search secondary formatter module-private 2026-07-30 12:43:47 -03:00
css-modules.d.ts Adopt TypeScript 6 for tooling and TypeScript 7 for typecheck. 2026-07-21 20:32:15 -03:00
payload-types.ts B69: simplify the leadership model to exclusive + drop sector/consentNote. 2026-07-30 02:32:56 -03:00
payload.config.ts Deliver B40: biometric login for /campanha. 2026-07-28 10:59:23 -03:00