mirror of
https://github.com/fsolla/teqo.git
synced 2026-11-26 21:53:06 +00:00
CL5: finish rebase conflict resolution for CL4/OH6
Drop leftover conflict markers and fold assessores into the shared OpsListPage route pin alongside CL4.
This commit is contained in:
parent
26d09ccfdf
commit
57df503010
2 changed files with 7 additions and 16 deletions
|
|
@ -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):** **OH6** (Issue #167) — tracer `estimateVotesCas` (CAS opt-in via `baseEstimatedAt`) + outbox mínimo (`@tanstack/offline-transactions`) + toasts Sonner de conflito na ilha `PledgeEstimateForm` quando `OPS_HYBRID=1`; flag OFF mantém `formAction`. Plano: [`oh6-estimatevotes-cas-outbox.md`](docs/plans/oh6-estimatevotes-cas-outbox.md).
|
||||
=======
|
||||
**Recently resolved (2026-08-01):** **CL5** (Issue #160) — assessores no sistema de listas: `AdvisorsTable` → `CampaignTable` + picker (`assessores` em `CAMPAIGN_LIST_IDS`); `resolveAdvisorListUrl` (canonical + preserva `criar=1`); registry `columnListId`/`canonicalRedirect`; page atrás de `LIST_UNIFIED`/`OpsListPage`. Plano: [`cl5-assessores-factory.md`](docs/plans/cl5-assessores-factory.md).
|
||||
>>>>>>> 7ebf891 (CL5: Assessores CampaignTable + URL canónico + OpsListPage)
|
||||
|
||||
**Recently resolved (2026-08-01):** **OH6** (Issue #167) — tracer `estimateVotesCas` (CAS opt-in via `baseEstimatedAt`) + outbox mínimo (`@tanstack/offline-transactions`) + toasts Sonner de conflito na ilha `PledgeEstimateForm` quando `OPS_HYBRID=1`; flag OFF mantém `formAction`. Plano: [`oh6-estimatevotes-cas-outbox.md`](docs/plans/oh6-estimatevotes-cas-outbox.md).
|
||||
|
||||
**Recently resolved (2026-08-01):** **CL3** (Issue #157) — tracer da factory de listas unificadas: `OpsListView` (slots) + `OpsListPage` (casca server); `/campanha/municipios` atrás de `LIST_UNIFIED` com paridade OFF. Plano: [`cl3-ops-list-page-municipios.md`](docs/plans/cl3-ops-list-page-municipios.md).
|
||||
|
||||
|
|
|
|||
|
|
@ -3,12 +3,12 @@ import { join } from 'node:path'
|
|||
|
||||
import { describe, expect, it } from 'vitest'
|
||||
|
||||
<<<<<<< HEAD
|
||||
const ROUTE_PAGES = {
|
||||
municipios: join(process.cwd(), 'src/app/(campaign)/campanha/(app)/municipios/page.tsx'),
|
||||
liderancas: join(process.cwd(), 'src/app/(campaign)/campanha/(app)/liderancas/page.tsx'),
|
||||
dobradinhas: join(process.cwd(), 'src/app/(campaign)/campanha/(app)/dobradinhas/page.tsx'),
|
||||
demandas: join(process.cwd(), 'src/app/(campaign)/campanha/(app)/demandas/page.tsx'),
|
||||
assessores: join(process.cwd(), 'src/app/(campaign)/campanha/(app)/assessores/page.tsx'),
|
||||
} as const
|
||||
|
||||
const expectOpsListPageWiring = (source: string) => {
|
||||
|
|
@ -17,10 +17,6 @@ const expectOpsListPageWiring = (source: string) => {
|
|||
expect(source).toContain("from '@/components/campaign/shared/OpsListPage'")
|
||||
expect(source).toContain("from '@/lib/opsListRegistry/opsListFlag'")
|
||||
}
|
||||
=======
|
||||
const MUNICIPIOS_PAGE = join(process.cwd(), 'src/app/(campaign)/campanha/(app)/municipios/page.tsx')
|
||||
const ASSESSORES_PAGE = join(process.cwd(), 'src/app/(campaign)/campanha/(app)/assessores/page.tsx')
|
||||
>>>>>>> 7ebf891 (CL5: Assessores CampaignTable + URL canónico + OpsListPage)
|
||||
|
||||
describe('OpsListPage municipios tracer (CL3)', () => {
|
||||
it('wires LIST_UNIFIED behind OpsListPage on the municipios route', () => {
|
||||
|
|
@ -28,7 +24,6 @@ describe('OpsListPage municipios tracer (CL3)', () => {
|
|||
})
|
||||
})
|
||||
|
||||
<<<<<<< HEAD
|
||||
describe('OpsListPage CL4 routes', () => {
|
||||
it.each(['liderancas', 'dobradinhas', 'demandas'] as const)(
|
||||
'wires LIST_UNIFIED behind OpsListPage on the %s route',
|
||||
|
|
@ -36,14 +31,12 @@ describe('OpsListPage CL4 routes', () => {
|
|||
expectOpsListPageWiring(readFileSync(ROUTE_PAGES[route], 'utf8'))
|
||||
},
|
||||
)
|
||||
=======
|
||||
})
|
||||
|
||||
describe('OpsListPage assessores (CL5)', () => {
|
||||
it('wires LIST_UNIFIED behind OpsListPage on the assessores route', () => {
|
||||
const source = readFileSync(ASSESSORES_PAGE, 'utf8')
|
||||
expect(source).toContain('resolveListUnifiedEnabled')
|
||||
expect(source).toContain('OpsListPage')
|
||||
const source = readFileSync(ROUTE_PAGES.assessores, 'utf8')
|
||||
expectOpsListPageWiring(source)
|
||||
expect(source).toContain('resolveAdvisorListUrl')
|
||||
expect(source).toContain("from '@/components/campaign/shared/OpsListPage'")
|
||||
})
|
||||
>>>>>>> 7ebf891 (CL5: Assessores CampaignTable + URL canónico + OpsListPage)
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in a new issue