Part-DB-server/tests
Dant-hw 0169c2d1fa
Add per-parameter "visible in symbol" flag for KiCad EDA export (#1444)
* Add per-parameter "visible in symbol" flag for KiCad EDA export

Introduce a nullable tri-state eda_symbol_visibility on part parameters
that drives the KiCad field's "visible" flag in the EDA HTTP-library API
response. This is independent of the existing eda_visibility, which only
controls whether the parameter is exported as a field at all.

When the per-parameter flag is null, the new system default
KiCadEDASettings::defaultParameterSymbolVisibility applies. Both default
such that exported parameter fields keep their previous behavior
("visible": "False"), so the change is backward compatible.

- Entity: eda_symbol_visibility column + accessors, with matching
  serialization groups and a multi-platform migration
- Form: second TriStateCheckboxType, shown for part parameters only
- KiCadHelper: resolve the flag (explicit, else system default) and pass
  it to createField()
- Settings: defaultParameterSymbolVisibility (default false)
- Templates: new eye-icon column in the specifications table
- Translations (en) + tests

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* Fixed message ids

---------

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-authored-by: Jan Böhmer <mail@jan-boehmer.de>
2026-07-27 22:31:06 +02:00
..
API Reworked info provider system to merge all provider metadata into a unified DTO 2026-07-26 13:55:27 +02:00
assets Added custom part status (#1053) 2025-10-27 21:58:16 +01:00
Command Enhance KiCad integration: API v2, batch EDA editing, field export control (#1241) 2026-03-01 22:10:13 +01:00
Controller Add CSV export for Project BOM tables (#1442) 2026-07-27 21:40:51 +02:00
DataTables/Filters Implement extensive search (#1406) 2026-07-27 18:42:32 +02:00
Doctrine Moved from phpunit annotation to attribute 2026-06-25 12:12:34 +02:00
Entity Removed useless setAccessible() calls 2026-06-25 10:54:13 +02:00
EnvVarProcessors Ran rector and made tests final 2026-02-14 23:32:43 +01:00
EventListener Ran rector and made tests final 2026-02-14 23:32:43 +01:00
EventSubscriber Added more tests 2026-05-11 21:50:33 +02:00
Exceptions Ran rector and made tests final 2026-02-14 23:32:43 +01:00
Form/InfoProviderSystem Ran rector and made tests final 2026-02-14 23:32:43 +01:00
Helpers Warn if ProjectBuild passed lot if null 2026-06-25 12:07:54 +02:00
Repository Ran rector and made tests final 2026-02-14 23:32:43 +01:00
Security Ran rector and made tests final 2026-02-14 23:32:43 +01:00
Serializer Return full path and sort structures by full pathes in list tools 2026-07-25 21:03:05 +02:00
Services Add per-parameter "visible in symbol" flag for KiCad EDA export (#1444) 2026-07-27 22:31:06 +02:00
Settings Refactored size checks for attachments and check base64 upload length 2026-07-09 19:33:11 +02:00
State/Mcp Reworked info provider system to merge all provider metadata into a unified DTO 2026-07-26 13:55:27 +02:00
Twig Moved remaining twig extensions to new attributes system 2026-02-15 00:23:30 +01:00
Validator Test some more edge cases in tests 2026-05-11 23:13:46 +02:00
.gitignore Initial commit 2019-02-23 16:49:38 +01:00
ApplicationAvailabilityFunctionalTest.php Add custom KiCad autocomplete list settings (#1342) 2026-04-15 00:01:00 +02:00
bootstrap.php Updated phpunit recipe 2025-07-13 16:53:41 +02:00
DatatablesAvailabilityTest.php Ran rector and made tests final 2026-02-14 23:32:43 +01:00
object-manager.php Fixed PHPstan issues 2023-08-28 22:39:29 +02:00
SettingsTestHelper.php Run rector 2025-07-14 00:26:40 +02:00
symfony-container.php Added declare strict types to all files 2023-06-11 18:59:07 +02:00