teqo/src/components/campaign
Francisco Ignácio Fontoura Solla 2cfb7d5e67 Simplify the WebAuthn adoption: an error branch that could not reach a screen.
`postJson` caught a non-JSON response and threw a plain `Error` carrying
"Resposta inválida do servidor.", but all three islands read `message` only off
a `CampaignWebAuthnError` — so the sentence was written for the person and then
thrown down the channel that discards messages. Deleted rather than re-typed:
the islands' own fallback is better copy for a field worker, which is the same
reason the five list-cell controls substitute their own. Nothing user-visible
changes, because the string was already unreachable; the comment now records
why the branch is absent, so it does not come back.

The login failure sentence was also spelled twice for one slot on one screen —
the route's `genericMessage` and the button's fallback — so it became
`CAMPAIGN_BIOMETRIC_LOGIN_ERROR_MESSAGE`, twin of the enroll constant the
register half already shares between its route and its card.

Also widened two doc comments this branch made stale: `campaignJsonMutationRoute`
and `campaignJsonRequest` both claimed to serve only the list cells' quick edits,
and four of nine callers are now WebAuthn ceremonies.
2026-07-28 12:30:36 -03:00
..
activity B33+: shared list filter navigation hook 2026-07-27 09:05:08 -03:00
advisor B34: editable município chips on the leaderships list. 2026-07-27 22:35:19 -03:00
auth Simplify the WebAuthn adoption: an error branch that could not reach a screen. 2026-07-28 12:30:36 -03:00
dashboard simplify(B14): corrige o mecanismo da fronteira, estado unsupported e duplicatas 2026-07-26 18:03:44 -03:00
demand C13: renomeia "Plano de Acao" para "Atividade" em toda a vertical /campanha 2026-07-25 20:50:38 -03:00
invite B30: convite WhatsApp na lista de lideranças 2026-07-26 20:47:11 -03:00
leadership B32+: share the campaign JSON route wrapper, fetch helper and cell auto-save. 2026-07-28 08:07:29 -03:00
map B8+: escala das malhas em unidades reais, contrato do map key e degradacao 2026-07-27 01:59:36 -03:00
municipality B17 simplify: inherit header labels, split persist from refresh. 2026-07-28 09:17:46 -03:00
organization 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
shared B37 simplify: one membership delta, cap messages named once. 2026-07-28 10:25:47 -03:00
shell Deliver B40: biometric login for /campanha. 2026-07-28 10:59:23 -03:00
stateDeputy B33+: close the /simplify rounds on the shared list filter hook 2026-07-27 09:39:15 -03:00
supporter B17: column picker on the seven CampaignTable list surfaces. 2026-07-28 08:25:16 -03:00
tour E13: visit eligibility checklist and the tour composer. 2026-07-27 21:04:04 -03:00
votePledge B42: Drawer quick-edit and a tappable card on the mobile municipalities list. 2026-07-27 20:49:41 -03:00