Commit graph

4 commits

Author SHA1 Message Date
Sebastian Almberg
59e36fb824 Fix batch EDA edit: required validation and pre-populate shared values
- Add required=false to TriStateCheckboxType fields so HTML5 validation
  doesn't force users to check visibility/BOM/board checkboxes
- Pre-populate form fields when all selected parts share the same EDA
  value, so users can see current state before editing
2026-02-16 21:11:00 +01:00
Sebastian Almberg
310872b7a5 Fix PHPStan errors in PopulateKicadCommand and BatchEdaController
Add @var type annotations for Doctrine repository findAll() calls so
PHPStan can resolve getEdaInfo() on Footprint/Category entities. Fix
array return type for numeric-string keys and add explicit callback to
array_filter to satisfy strict rules.
2026-02-16 21:10:59 +01:00
Sebastian Almberg
e05a751b84 Remove unused counter variable in BatchEdaController 2026-02-16 21:10:59 +01:00
Sebastian Almberg
f314578790 Add batch EDA field editing from parts table
Users can now select multiple parts in any parts table and batch-edit
their EDA/KiCad fields (symbol, footprint, reference prefix, value,
visibility, exclude from BOM/board/sim). Each field has an "Apply"
checkbox so users control exactly which fields are changed.
2026-02-16 21:10:59 +01:00