teqo/tests/e2e
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
..
fixtures Engineering Pass 3: consolidate patterns and lock them with guards. 2026-07-29 06:11:29 -03:00
admin.e2e.spec.ts Ship /campanha nuclei MVP with RBAC, invites, and vote estimates. 2026-07-18 15:01:56 -03:00
campaign-pwa.e2e.spec.ts Add installable PWA foundation for the /campanha field app. 2026-07-18 17:28:34 -03:00
campaignActivity.e2e.spec.ts B62: simplify the signal model to type + text (drop fonte/triangulado). 2026-07-29 23:24:00 -03:00
campaignAuth.e2e.spec.ts Engineering Pass 3: consolidate patterns and lock them with guards. 2026-07-29 06:11:29 -03:00
campaignColumnPicker.e2e.spec.ts Remove Tipo column and list kind filter from municipality list. 2026-07-29 07:42:47 -03:00
campaignConcepts.e2e.spec.ts B43: blank Início, Quadro staff home, and Contatos for leaders. 2026-07-29 14:02:35 -03:00
campaignHomeActions.e2e.spec.ts fix(campanha): share one Drawer across municipalities mobile cards 2026-07-30 17:37:20 -03:00
campaignLeaderships.e2e.spec.ts Engineering Pass 3: consolidate patterns and lock them with guards. 2026-07-29 06:11:29 -03:00
campaignMunicipalities.e2e.spec.ts B62+: flatten adversary signal to boolean and harden leader redirect e2e. 2026-07-29 23:33:46 -03:00
campaignNearestMunicipality.e2e.spec.ts B43: blank Início, Quadro staff home, and Contatos for leaders. 2026-07-29 14:02:35 -03:00
campaignSavedFilters.e2e.spec.ts Remove Tipo column and list kind filter from municipality list. 2026-07-29 07:42:47 -03:00
campaignTerritories.e2e.spec.ts fix(campanha): share one Drawer across municipalities mobile cards 2026-07-30 17:37:20 -03:00
campaignWebAuthn.e2e.spec.ts Engineering Pass 3: consolidate patterns and lock them with guards. 2026-07-29 06:11:29 -03:00
campaignWizardChrome.e2e.spec.ts fix(campanha): share one Drawer across municipalities mobile cards 2026-07-30 17:37:20 -03:00
campaignZoneMap.e2e.spec.ts fix(campanha): share one Drawer across municipalities mobile cards 2026-07-30 17:37:20 -03:00
frontend.e2e.spec.ts Ship /campanha nuclei MVP with RBAC, invites, and vote estimates. 2026-07-18 15:01:56 -03:00
setup.e2e.spec.ts B75: wizard mobile header chrome on Mandate Red bar. 2026-07-30 03:26:54 -03:00