teqo-backup/docs/plans/cl9-list-unified-flag-cleanup.md
Francisco Ignácio Fontoura Solla 224eaf5c47 CL9 — retire LIST_UNIFIED; always render OpsListPage
Drop the dual-path list flag so the eight staff list routes share one shell wiring path, matching the OH14 always-on hybrid cleanup.
2026-08-02 02:30:28 -03:00

28 lines
1 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# CL9 — Limpeza da flag `LIST_UNIFIED`
Status: implementado
Atualizado em: 2026-08-02
Issue: —
Priority: P2
Model: composer-2.5
Impeccable: A — N/A (limpeza)
Appetite: ~0,5 dia eng
Depends: CL8, OH14
Responsável: —
## Decisão
**Remover a flag e manter só `OpsListPage`.** Justificativa: as 8 rotas v1 já migraram (CL3–CL8); dual-path só aumentava complexidade; prod ainda em desenvolvimento (mesmo critério OH14). Sem Issue GitHub — chore directo pós-CL8.
## Entrega
- Apagado `resolveListUnifiedEnabled` / `opsListFlag.ts` / `LIST_UNIFIED` (`next.config`, `.env.example`, Playwright).
- 8 pages de lista sempre renderizam `<OpsListPage …/>` (sem ternário OFF / `CampaignListPendingBoundary` legado na rota).
- Pins unit/e2e sem gate de env; saved filters municípios cobertos pelo suite principal.
- Spec-mãe `lista-unificada-campanha-spec.md` → `Status: implementado`.
## Fases verificáveis
- [x] pages + config + delete flag
- [x] tests + docs + CHANGELOG
- [x] `pnpm gate:fast` + knip + cycles