refactor(#86): buildPolygonLayer — dedup _isMixed tak #90
Labels
No labels
blocked
bug
design
documentation
duplicate
enhancement
future
good first issue
help wanted
invalid
question
refactoring
tracker
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
jelmer/topoquiz#90
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Part of #86 (code-audit scope 1). Zie AUDIT.md §3.
Context
buildPolygonLayerinindex.html:999-1043heeft twee takken:_isMixed-tak (8 regels) — filter op mixed-set + addLayerZe delen de meeste logica maar zijn gedupliceerd. Subtiel gedragsverschil in de fall-through-return.
Scope
_isMixedsetup-flag kan dan wegVerificatie
node test.js→ 1437+ groennpx playwright test→ 166 groenEffort/Impact/Risico
1 / 2 / 1 (quick win)
Fixed in v2.18.8 — unified buildPolygonLayer filter; ~14 LOC saved per AUDIT §3.3.