mirror of
https://github.com/fsolla/teqo.git
synced 2026-11-13 23:53:05 +00:00
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. |
||
|---|---|---|
| .. | ||
| fixtures | ||
| admin.e2e.spec.ts | ||
| campaign-pwa.e2e.spec.ts | ||
| campaignActivity.e2e.spec.ts | ||
| campaignAuth.e2e.spec.ts | ||
| campaignColumnPicker.e2e.spec.ts | ||
| campaignConcepts.e2e.spec.ts | ||
| campaignHomeActions.e2e.spec.ts | ||
| campaignLeaderships.e2e.spec.ts | ||
| campaignMunicipalities.e2e.spec.ts | ||
| campaignNearestMunicipality.e2e.spec.ts | ||
| campaignSavedFilters.e2e.spec.ts | ||
| campaignTerritories.e2e.spec.ts | ||
| campaignWebAuthn.e2e.spec.ts | ||
| campaignWizardChrome.e2e.spec.ts | ||
| campaignZoneMap.e2e.spec.ts | ||
| frontend.e2e.spec.ts | ||
| setup.e2e.spec.ts | ||