teqo/src/app/(campaign)/campanha
Francisco Ignácio Fontoura Solla 5f11960c3a B32+: share the campaign JSON route wrapper, fetch helper and cell auto-save.
`campaignJsonMutationRoute` now builds every JSON POST route under /campanha —
`isSameOriginRequest` had been copied into five of them, so the CSRF policy was
failing open by omission; a convention guard sweeps all of `src/app` and names
its three exceptions. `postCampaignJson` is the only place that spells
`credentials: 'same-origin'`, and `useCampaignCellAutosave` is the debounce /
abort / revert / flush-on-close machine the quick-edit cells shipped three
times.

The shell keeps the `aria-live` region outside the Popover/Drawer, since closing
is what commits and it was unmounting the node that would announce the result;
`variant="sheet"` took a `footer` slot, which let the signal control drop the
overlay it only kept for one button.

Two bugs the extraction made visible: a revert issued while a different payload
was in flight was dropped silently, and `change()` never cleared a past failure,
which outranks everything the live region would otherwise say.
2026-07-28 08:07:29 -03:00
..
(app) B32+: share the campaign JSON route wrapper, fetch helper and cell auto-save. 2026-07-28 08:07:29 -03:00
actions Adopt B42's cell-edit overlay in B34 and fix the optimistic baseline again. 2026-07-27 23:59:20 -03:00
convite/[token] 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
esqueci-senha Pass 2 W2: components/campaign em subpastas por dominio 2026-07-25 14:52:17 -03:00
login Add remembered campaign sessions 2026-07-27 08:57:26 -03:00
manifest.webmanifest Add installable PWA foundation for the /campanha field app. 2026-07-18 17:28:34 -03:00
offline Add installable PWA foundation for the /campanha field app. 2026-07-18 17:28:34 -03:00
redefinir-senha Pass 2 W2: components/campaign em subpastas por dominio 2026-07-25 14:52:17 -03:00
sw.js Add installable PWA foundation for the /campanha field app. 2026-07-18 17:28:34 -03:00