OH9: resolve rebase conflicts with main (opsVotePledgeMirror + changelog)

Keep leadershipsCollection export; re-export votePledgesCollection from the
OH7 mirror module; preserve both OH9 and B114 changelog entries.
This commit is contained in:
Cursor Agent 2026-08-02 01:10:15 +00:00
parent 625907088a
commit fb63c76363
No known key found for this signature in database
2 changed files with 3 additions and 10 deletions

View file

@ -4,11 +4,9 @@ Conteúdo movido do `AGENTS.md` em 2026-07-30 (fatiamento do paradigma de agente
---
<<<<<<< HEAD
**Recently resolved (2026-08-01):** **B114** (Issue #195) — wizard Voltar header = Android back: contrato `wizardBack` + `useWizardBackHistory` (pushState/popstate), previousHrefs canônicos, layer form liderança. Plano: [`wizard-back-navigation-system.md`](docs/plans/wizard-back-navigation-system.md).
=======
**Recently resolved (2026-08-02):** **OH9** (Issue #172) — detalhe de município dual-path: `MunicipalityDetailHeaderView` partilhado; `OfflineBoundary` (SSR=RSC; offline+`OPS_HYBRID`→Local); `MunicipalityDetailLocal` lê mirror (município + pledges×leaderships); regiões online-only com “Disponível quando estiveres online.”; e2e `campaignOpsOffline` (skip sem flag). Plano: [`oh9-municipio-detalhe-dualpath.md`](docs/plans/oh9-municipio-detalhe-dualpath.md).
>>>>>>> 719e35ce (OH9: dual-path municipality detail (HeaderView + Local + OfflineBoundary))
**Recently resolved (2026-08-01):** **B114** (Issue #195) — wizard Voltar header = Android back: contrato `wizardBack` + `useWizardBackHistory` (pushState/popstate), previousHrefs canônicos, layer form liderança. Plano: [`wizard-back-navigation-system.md`](docs/plans/wizard-back-navigation-system.md).
**Recently resolved (2026-08-01):** **OH5** (Issue #168) — `CampaignOpsSyncProvider` no layout `(app)`: bootstrap mirror (OPFS file → IDB dump/hydrate + TanStack `localOnly` collections), poll 3 min foreground + `visibilitychange`/`online`, chrome “Actualizado…” / “A sincronizar…” / “Dados podem estar desatualizados”; leader no-op. Plano: [`oh5-sync-provider-mirror.md`](docs/plans/oh5-sync-provider-mirror.md).

View file

@ -37,13 +37,8 @@ const createRowCollection = <T extends { id: number }>(id: string) =>
)
export const municipalitiesCollection = createRowCollection<OpsMunicipality>('ops-municipalities')
<<<<<<< HEAD
const leadershipsCollection = createRowCollection<OpsLeadership>('ops-leaderships')
export { votePledgesCollection } from '@/components/campaign/opsSync/opsVotePledgeMirror'
=======
export const leadershipsCollection = createRowCollection<OpsLeadership>('ops-leaderships')
export const votePledgesCollection = createRowCollection<OpsVotePledge>('ops-vote-pledges')
>>>>>>> 719e35ce (OH9: dual-path municipality detail (HeaderView + Local + OfflineBoundary))
export { votePledgesCollection }
const activitiesCollection = createRowCollection<OpsActivity>('ops-activities')
const stateDeputiesCollection = createRowCollection<OpsStateDeputy>('ops-state-deputies')
const organizationsCollection = createRowCollection<OpsOrganization>('ops-organizations')