Commit graph

2104 commits

Author SHA1 Message Date
Francisco Solla
d7eeca32bf
Merge pull request #320 from fsolla/cursor/2287a5c2
docs(plan-issue): canvas UI draft at gate when UI changes
2026-08-02 20:15:32 -03:00
Cursor Agent
ea6641071e
test(nav): reuse ORGANIZATIONS_LIST_PATH in sidebar spec
Co-authored-by: Francisco Solla <fsolla@users.noreply.github.com>
2026-08-02 23:15:18 +00:00
Francisco Ignácio Fontoura Solla
cb8881177c docs(plan-issue): require Cursor canvas UI draft at gate when UI changes 2026-08-02 20:13:36 -03:00
Cursor Agent
0dc3d22646
feat(nav): add Organizações to staff sidebar (B144, #313)
Insert Organizações after Lideranças in staffNav so staff can discover
the existing /campanha/organizacoes list from the structural nav.
Leaders remain on leaderNav; isCampaignNavActive already covers list,
detail, and /nova paths.

Co-authored-by: Francisco Solla <fsolla@users.noreply.github.com>
2026-08-02 23:13:34 +00:00
Cursor Agent
974907f023
Format migration unit spec 2026-08-02 23:10:20 +00:00
Cursor Agent
b931092320
B142 — format + impl plan deferred debts note 2026-08-02 23:09:01 +00:00
Cursor Agent
8437874bd8
B146 — format 2026-08-02 23:08:57 +00:00
Cursor Agent
f40957f101
B134 — allow empty rationale on movimento allocation decisions
- Relax AllocationDecision.rationale required flag; validate in hook
- Fix empty-motivo int test to use first movement from null

Co-authored-by: Francisco Solla <fsolla@users.noreply.github.com>
2026-08-02 23:08:52 +00:00
Cursor Agent
1841e722f7
B142 — simplify: remove dead filter exports, centralize hasActiveFilters
Co-authored-by: Francisco Solla <fsolla@users.noreply.github.com>
2026-08-02 23:08:17 +00:00
Cursor Agent
f17f4583b3
B146 — update impl plan with title-focus approach
Co-authored-by: Francisco Solla <fsolla@users.noreply.github.com>
2026-08-02 23:07:33 +00:00
Cursor Agent
fced1f3e1d
B146 — focus dialog title on open (B42 pattern); consolidate mobile test stub
- Move initial focus to sr-only title instead of void/body (a11y).
- Fold matchMedia mock into stubMobileViewport helper.

Co-authored-by: Francisco Solla <fsolla@users.noreply.github.com>
2026-08-02 23:07:29 +00:00
Cursor Agent
7f17a7db79
fix(campanha): B140 wire onCommitQuery + simplify import hygiene
Co-authored-by: Francisco Solla <fsolla@users.noreply.github.com>
2026-08-02 23:06:48 +00:00
Cursor Agent
d50f16cb57
chore: format B141 files 2026-08-02 23:06:35 +00:00
Cursor Agent
6d358f71ba
B143 — formatação Prettier 2026-08-02 23:06:34 +00:00
Cursor Agent
7563fe45c3
B143 — usa Map para rótulos de dobradinha no facet
Co-authored-by: Francisco Solla <fsolla@users.noreply.github.com>
2026-08-02 23:05:50 +00:00
Cursor Agent
fa53f5d66e
Keep WizardStepKind internal (knip) 2026-08-02 23:05:45 +00:00
Cursor Agent
4d4764893e
B142 — filtrar assessores por município da carteira na omnibox
Adiciona dimensão municipality na URL e omnibox da lista de assessores,
espelhando o precedente de lideranças: chips removíveis, busca tipada no
catálogo e filtro server OR via municipality.advisors.

Closes #310

Co-authored-by: Francisco Solla <fsolla@users.noreply.github.com>
2026-08-02 23:05:33 +00:00
Cursor Agent
989e3abab8
Format B135 wizard back navigation files 2026-08-02 23:05:09 +00:00
Cursor Agent
c9fdc59ed2
B143 — omnibox de lideranças filtra por organização e dobradinha
- URL state: organization / stateDeputy (OR inclusivo por dimensão)
- Facets cross-filtered em leadershipData
- Adapter omnibox + wiring na página
- Testes unit/int e plano de implementação

Co-authored-by: Francisco Solla <fsolla@users.noreply.github.com>
2026-08-02 23:04:45 +00:00
Cursor Agent
56e60ce589
B146 — stub innerWidth in mobile overlay unit tests
Co-authored-by: Francisco Solla <fsolla@users.noreply.github.com>
2026-08-02 23:04:32 +00:00
Cursor Agent
28525aab4b
B135 — Voltar no wizard usa passo lógico anterior na cadeia (#289)
- wizardPreviousHref em wizardActionChain para todos os elos B98
- Avanço encadeado com router.push; Voltar no chrome com replace
- Testes unitários para href anterior e navegação pending

Co-authored-by: Francisco Solla <fsolla@users.noreply.github.com>
2026-08-02 23:04:26 +00:00
Cursor Agent
e731e407ab
style: prettier format B139 files 2026-08-02 23:04:25 +00:00
Cursor Agent
59206574e6
Fix int test marker helper call (fixtures.value)
Co-authored-by: Francisco Solla <fsolla@users.noreply.github.com>
2026-08-02 23:04:25 +00:00
Cursor Agent
e8f21a9885
B140 — Demandas omnibox: tipo e busca na lista
- Add q param to demand list URL contract and buildDemandListWhere
- Extend demandOmnibox with kind + search chips/suggestions/actions
- Search title and leadership contact name (visible list columns)
- clearDemandOmnibox drops bar filters but keeps activity deep-link
- Unit + int tests; impl plan docs/plans/demandas-omnibox-tipo-busca-impl.md

Co-authored-by: Francisco Solla <fsolla@users.noreply.github.com>
2026-08-02 23:03:24 +00:00
Cursor Agent
b509c7d7b3
B141 — filtro por fonte na omnibox de apoiadores (#309)
Adiciona dimensão Fonte ao estado de lista, where-builder, aggregate SQL
e adapter omnibox (B128), com guard isSupporterSource e testes.

Co-authored-by: Francisco Solla <fsolla@users.noreply.github.com>
2026-08-02 23:03:22 +00:00
Cursor Agent
23e71d2de3
B146 — FAB overlay idle on open; close/handle chrome fixes
- Block Dialog onOpenAutoFocus and Drawer initialFocus so search does not
  steal focus on open (actions stay visible per B132 idle state).
- Reserve md:pr-10 on search chrome so desktop close button does not overlap.
- Enable showSwipeHandle on mobile drawer (no X button).
- Unit tests for idle state, swipe handle, and close spacing.

Co-authored-by: Francisco Solla <fsolla@users.noreply.github.com>
2026-08-02 23:03:04 +00:00
Cursor Agent
5335f69b43
B134 — motivo opcional (tendência + nível); remove reversalSignals
- Make engagement level note optional in schema and UI
- Remove reversalSignals field from popover, action snapshot and DB
- Add data migration to strip reversalSignals from movimento snapshots
- Wizard trend note step no longer requires text; labels show (opcional)

Co-authored-by: Francisco Solla <fsolla@users.noreply.github.com>
2026-08-02 23:02:53 +00:00
Cursor Agent
68ab54756e
B139 — tipo na omnibox de organizações
Adapter organizationOmnibox (q + kind exclusivo), OrganizationFilters
migrado do searchOnly degenerado, testes unit B128.

Co-authored-by: Francisco Solla <fsolla@users.noreply.github.com>
2026-08-02 23:02:46 +00:00
Francisco Solla
d0cd103b90
Merge pull request #318 from fsolla/cursor/56661d91
B146 — plano: FAB overlay sem autofocus e fechar
2026-08-02 19:52:45 -03:00
Francisco Ignácio Fontoura Solla
e9fee27d58 style: format B146 intention plan with Prettier
Related #317
2026-08-02 19:51:06 -03:00
Francisco Solla
948b8447ef
Merge pull request #316 from fsolla/cursor/b145-detalhe-titulo-header
B145 — Detalhe de entidade — título no header (plano)
2026-08-02 19:50:46 -03:00
Francisco Ignácio Fontoura Solla
ed0710b8ab docs(plans): intenção B146 — FAB overlay sem autofocus e fechar
Related #317
2026-08-02 19:49:47 -03:00
Francisco Ignácio Fontoura Solla
0982492b67 style: format B145 intention plan with Prettier 2026-08-02 19:48:50 -03:00
Francisco Ignácio Fontoura Solla
8f189cdc9c docs(plans): intenção B145 — detalhe com título no header 2026-08-02 19:47:30 -03:00
Francisco Solla
d28abc13b6
Merge pull request #314 from fsolla/cursor/484591d9
B144 — Sidebar entrada para Organizações (plano)
2026-08-02 19:44:25 -03:00
Francisco Ignácio Fontoura Solla
5ab510ba30 style: format B144 intention plan with Prettier 2026-08-02 19:42:31 -03:00
Francisco Ignácio Fontoura Solla
9b30fef2ad docs(plans): intenção B144 — sidebar Organizações
A lista já existe; falta só o item de navegação no staffNav.
2026-08-02 19:40:40 -03:00
Francisco Solla
3413f6c65d
Merge pull request #312 from fsolla/cursor/3913a655
B138–B143 — planos: completar filtros das omniboxes /campanha
2026-08-02 19:37:35 -03:00
Francisco Ignácio Fontoura Solla
d0f4489848 docs(plans): intenção B138–B143 — completar filtros das omniboxes /campanha
Registra o lote pós-inventário (presets/busca em atividades e dimensões
faltantes nas demais listas) para claim via work-issue.
2026-08-02 19:35:05 -03:00
Francisco Solla
5b451af893
Merge pull request #305 from fsolla/cursor/09115594
B137 — plano: Colunas ao lado da omnibox
2026-08-02 19:29:54 -03:00
Francisco Ignácio Fontoura Solla
5a1e4b125f docs(plans): intenção B137 — Colunas ao lado da omnibox
Related #304
2026-08-02 19:27:37 -03:00
Francisco Solla
bbd866f312
Merge pull request #303 from fsolla/cursor/b136-grade-3x2-verify
B136 — plano: grade 3×2 Início/FAB (corrigir orientação)
2026-08-02 19:20:57 -03:00
Francisco Ignácio Fontoura Solla
73d37be8c2 docs(plans): B136 — grade 3×2 Início/FAB (corrigir orientação)
Sucessor de B122/B132: aceite visual 3 colunas × 2 linhas.

Related #302
2026-08-02 19:19:28 -03:00
Francisco Solla
9fa0fbe58c
Merge pull request #300 from fsolla/cursor/ops-kill-288-fix
fix(ops): archive Cursor agent workflow (no pnpm cache)
2026-08-02 19:00:39 -03:00
Francisco Ignácio Fontoura Solla
db0f8d7852 fix(ops): archive-cursor-agent without pnpm cache lookup
setup-node package-manager-cache was looking for pnpm and failing the job.
2026-08-02 18:59:17 -03:00
Francisco Solla
6a65edcb93
Merge pull request #299 from fsolla/cursor/ops-kill-288
ops: one-shot Archive Cursor agent workflow
2026-08-02 18:57:41 -03:00
Francisco Ignácio Fontoura Solla
9a60a350da ops: one-shot workflow to archive a Cursor Cloud agent
Unmerged helper to cancel+archive pool workers with the repo CURSOR_API_KEY.
2026-08-02 18:55:50 -03:00
Francisco Solla
d0d73a9627
Merge pull request #298 from fsolla/cursor/plan-issue-lifecycle-skill
plan-issue — ciclo de vida na skill (blocked→ready + planos imutáveis)
2026-08-02 18:54:36 -03:00
Francisco Ignácio Fontoura Solla
8a712510f5 docs(plan-issue): ciclo blocked→ready + planos in-progress imutáveis
Documenta o ciclo de vida (gate → register blocked → Related → merge →
promote) e proíbe editar planos de Issues já claimadas ou fechadas.

Related #292
Related #296
2026-08-02 18:53:07 -03:00
Francisco Solla
ad0b1d84a1
Merge pull request #297 from fsolla/cursor/ops18-promote-dual
OPS18 — plano de intenção: promote dual no merge
2026-08-02 18:49:23 -03:00