Split plan: #1412 change-cards UI series (5 units)
Mantenedores costumam responder em até 3 dias
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 5/5
- Tempo estimado
- Mais de uma semana
- Facilidade para iniciantes
- 5/100
- Tipo de issue
- Refatoração
- Clareza
- Precisa de esclarecimento
- Status de atividade
- Ativa
- Stack de tecnologia
- json, react, typescript
- Domínio
- full-stack, internationalization, testing
Direção de pesquisa
This is a maintainer-level plan for splitting PR #1412 into five units, not a code change a newcomer can start. Its listed files span packages/types, webview-ui ChangeCard.tsx, src/core ApplyPatchTool.ts and checkpoint specs, and src/integrations. Work only begins after the lead approves the unit boundaries and each unit's measured size is posted here.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
Plan draft: split #1412 (feat/change-cards-ui-b3b) | draft for lead review | fixer, 2026-11-25
Trigger: CI mutation-diff printed 1,065 changed executable lines against the 500 cap; reviewability is the second reason (94 files in one PR).
Measured surface (git diff --numstat ca43e69f70..28a6ac9e4d, sha1-40 both): 94 files, a+d 8,756; executable files a+d 8,252; test-file a+d 5,527; non-test executable a+d 2,725; non-executable additions +504 across 14 locale common.json rows (2/0 each). Again: the gate currency is changed executable lines (printed operand 1,065) and the numstat proxy is an upper bound, not a predictor. Largest contributors: applyPatchTool.execute.spec.ts 827/0, ChangeCard.spec.tsx 578/0, changeJournal.spec.ts 517/0, rollback.spec.ts 487/0, ChangeCard.tsx 452/0, ShadowCheckpointService.spec.ts 446/0, checkpointJournal.test.ts 435/0, checkpointSave.spec.ts 431/0, webviewMessageHandler.rollback.spec.ts 374/0, Task.spec.ts 361/0, ApplyPatchTool.ts 311/30, index.ts 304/18. Directories: src/core 5,999 (24), webview-ui/src 1,854 (45), src/services 670 (2), packages/types 153 (3), src/integrations 44 (2), src/i18n 36 (18).
Content source of record: kind commit, ref 28a6ac9e4d9cf71599c43a98e92ca0aef78ee07f, base main tip ca43e69f70.
Units (one contract point + one gate scope; merge order = list order; each unit base = previous unit head):
- U1 card-payload-contract: packages/types payload rows plus the extension-side card model, with the payload tests.
- U2 card-render-and-copy: webview-ui ChangeCard.tsx, ChangeCard.spec.tsx, CodeAccordion rows and the 18 locale copy rows (source-plus-translation pairs stay inside one unit so key drift cannot hide).
- U3 patch-attribution: ApplyPatchTool.ts plus applyPatchTool.execute.spec.ts.
- U4 checkpoint-and-journal-parity: changeJournal, rollback, checkpointJournal, checkpointSave specs and ShadowCheckpointService.ts rows this pull carries.
- U5 message-and-provider-wiring: webviewMessageHandler rows, its rollback spec, and src/integrations rows.
Port manifest: each unit ports exactly its listed files via git diff base..ref -- ; batch-7 content is this named list, nothing implicit. No file in two units. i18n stays whole in U2.
Before any split PR opens: re-measure each unit standalone in changed executable lines (classifier over git show :path for sources, git diff --unified=0 base..head -- path for changes), run the local Stryker preflight on the unit delta, post the numbers here, and split any unit still over 500 along selector ranges rather than file boundaries. Each PR cites this issue and carries its own fidelity note.
LEAD RULINGS (issue owner): (1) i18n stays whole in U2 as listed. (2) Interaction with the #1410 split track: at execution time, re-diff each unit against main AFTER earlier merges; if a unit's content is already in main (e.g., checkpoint/journal rows landed via the 1410 track first), that unit closes as already-landed and its port-manifest entries retire with evidence - empty PRs are not opened. (3) Units merge in list order; per-unit numbers posted before each PR opens.
- Linguagem predominante
- TypeScript
- Estrelas
- 2k
- Forks
- 301
- Merge médio
- 3d 14h
- PRs com merge (30d)
- 103
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Tem um modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de Zoo-Code-Org/Zoo-Code
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 70/100
Zoo-Code-Org/Zoo-Code#2773 · 1 comentário ·
Mantenedores costumam responder em até 3 dias
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
Zoo-Code-Org/Zoo-Code#2717 · 1 comentário ·
Mantenedores costumam responder em até 3 dias
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 77/100
Zoo-Code-Org/Zoo-Code#2515 ·
Mantenedores costumam responder em até 3 dias
-
fix(scripts): stryker-diff.mjs spawns the extensionless .bin shim and cannot run on WindowsTalvez já em andamento @easonLiangWorldedtech assumiu há 15 dias. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
Zoo-Code-Org/Zoo-Code#2514 ·
Mantenedores costumam responder em até 3 dias
-
[BUG] search_files hides matching text on long linesTalvez já em andamento @DananjayaNadun assumiu há 9 dias. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 74/100
Zoo-Code-Org/Zoo-Code#2496 · 1 comentário · 1 responsável ·
Mantenedores costumam responder em até 3 dias
Todas as issues de Zoo-Code-Org/Zoo-Code
Issues semelhantes
-
enhancement
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
Mantenedores costumam responder em até 1 dia
-
ci
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
ClickHouse/clickhouse-js#1248 ·
Mantenedores costumam responder em até 1 dia
-
E2E: Darlehen-Test wartet auf die gebuchte Auszahlung, bevor er zur Liquiditätsvorschau wechseltAbertatechnik
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 67/100
SR5-FoundryVTT/SR5-FoundryVTT#2162 ·
Mantenedores costumam responder em até 1 dia
-
enhancement good first issue
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 84/100
AhmedNAgy25/analysor#25 ·
Mantenedores costumam responder em até 1 dia