teqo/src/lib
Francisco Ignácio Fontoura Solla 0407f02ce2 Import projection-sheet strategy columns into municipalities (E4R fase 2)
- pnpm db:seed:projecao now also imports SITUAÇÃO -> politicalTrend,
  DOBRADINHAS -> stateDeputy + stateDeputies + dobradinhaNotes,
  LIDERANÇAS -> name-only contact + leadership (statewide slug dedupe),
  ASSESSOR RESPONSÁVEL -> campaignUser + advisors (Edizio=coordinator,
  Solla=candidate, placeholder @planilha.invalid emails),
  ENCAMINHAMENTOS -> nextSteps, OBSERVAÇÃO -> strengths/risks (curated).
  PRIORITÁRIAS overrides MAPA GERAL when non-empty; Salvador stays skipped;
  relationships are unions; re-run is idempotent.
- parseSituationCell + splitNameCell (noise/collective/action filters,
  honorific protection, parenthetical extraction) with unit tests.
- Contact.phone optional (migration 20260724_175500_contact_phone_optional);
  phone invariant hooks skip phone-less contacts; invite flows guard.
- candidate role now eligible for municipality/action-plan advisors
  (eligibleCampaignStaffWhere) per product decision.
2026-07-24 15:58:06 -03:00
..
electionAggregates Cache the campaign hot path: committed TSE artifact + request-scoped dedup 2026-07-23 23:06:28 -03:00
geometries Add static Bahia municipality and territory geometries for the campaign map. 2026-07-18 22:07:41 -03:00
schemas Remove duplicated voteGoals; seed projection sheet into expectedVotes. 2026-07-24 14:04:44 -03:00
bahiaElectionAggregates.ts Cache the campaign hot path: committed TSE artifact + request-scoped dedup 2026-07-23 23:06:28 -03:00
bahiaGeometries.ts Deliver B3 Leaflet choropleth maps and register post-simplify follow-ups. 2026-07-19 17:13:27 -03:00
bahiaGeometriesTypes.ts Deliver B3 Leaflet choropleth maps and register post-simplify follow-ups. 2026-07-19 17:13:27 -03:00
bahiaMapStyle.ts Deliver B12 map viewport fit and hover fixes for filtered Praças. 2026-07-21 18:10:32 -03:00
bahiaMunicipalityCodes.ts Add static Bahia municipality and territory geometries for the campaign map. 2026-07-18 22:07:41 -03:00
bahiaMunicipalityDemographics.ts Deliver A8 IBGE voter profile on Eleitorado tab with post-simplify scale plan. 2026-07-19 23:05:27 -03:00
bahiaMunicipalityGeometries.ts Deliver B3 Leaflet choropleth maps and register post-simplify follow-ups. 2026-07-19 17:13:27 -03:00
bahiaTerritories.ts Support multi-municipality and multi-neighborhood nucleus territory. 2026-07-18 18:31:51 -03:00
bahiaTerritoryGeometries.ts Deliver B3 Leaflet choropleth maps and register post-simplify follow-ups. 2026-07-19 17:13:27 -03:00
bahiaTseCityCodes.ts Deliver A7 Fase 2 cityCode TSE geography filters and absorb simplify debts. 2026-07-19 22:48:08 -03:00
bahiaTseZones.ts Add opt-in TSE zone and territory suggestion chips for nuclei. 2026-07-18 20:04:04 -03:00
campaignAuthCopy.ts Remodel /campanha around predefined Praças replacing electoral nuclei. 2026-07-21 02:28:00 -03:00
choroplethColorScale.ts Deliver B11 percent-of-valid-votes scale on Praças map. 2026-07-21 13:12:05 -03:00
cities.ts feat: add petition form config and server-action submission flow 2026-02-22 23:08:00 -03:00
contactSearchQuery.ts Deliver C7 partial scale/DRY for action plans and register remaining simplify debts. 2026-07-19 00:07:31 -03:00
electionCandidateIdentity.ts Add TSE 2022 election results model and local seed import. 2026-07-18 18:25:19 -03:00
electionInsights.ts Deliver A5 mobilization insight and absorb E7 F2 int follow-up. 2026-07-19 22:34:35 -03:00
electionPartySpectrum.ts Deliver A5 ticket leverage and flip insights with simplify cleanup. 2026-07-19 17:34:06 -03:00
electionResults.ts Remodel the campaign vertical from Praça to Município 2026-07-23 21:36:20 -03:00
electionResultsBuild.ts Add E2 TSE 2014/2018 vote series and historical trend insights. 2026-07-19 05:09:43 -03:00
electionResultsCsv.ts Add TSE 2022 election results model and local seed import. 2026-07-18 18:25:19 -03:00
electionResultsParse.ts Add TSE 2022 election results model and local seed import. 2026-07-18 18:25:19 -03:00
electionResultsZip.ts Add TSE 2022 election results model and local seed import. 2026-07-18 18:25:19 -03:00
facebookPixel.ts Add Meta Pixel tracking to public petition pages. 2026-07-21 10:51:47 -03:00
formData.ts Remodel the campaign vertical from Praça to Município 2026-07-23 21:36:20 -03:00
municipalityCatalog.ts Remodel the campaign vertical from Praça to Município 2026-07-23 21:36:20 -03:00
municipalityZoneNeighborhoods.ts Remodel the campaign vertical from Praça to Município 2026-07-23 21:36:20 -03:00
onda0ConsentTexts.ts Remodel /campanha around predefined Praças replacing electoral nuclei. 2026-07-21 02:28:00 -03:00
projectionSheetParse.ts Import projection-sheet strategy columns into municipalities (E4R fase 2) 2026-07-24 15:58:06 -03:00
states.ts Replace state/city selects with type-to-filter comboboxes 2026-07-15 14:41:58 -03:00
utils.ts Add petitions page with basic structure and shadcn components 2026-02-17 00:04:22 -03:00