Part-DB-server/tests/Services
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
..
AI Added tests for AIPlatformRegistry 2026-05-02 22:12:36 +02:00
Attachments Ran rector and made tests final 2026-02-14 23:32:43 +01:00
Cache Added more tests 2026-05-11 21:50:33 +02:00
EDA Add per-parameter "visible in symbol" flag for KiCad EDA export (#1444) 2026-07-27 22:31:06 +02:00
EntityMergers/Mergers Ran rector and made tests final 2026-02-14 23:32:43 +01:00
Formatters Added more tests 2026-05-11 21:50:33 +02:00
ImportExportSystem Add CSV export for Project BOM tables (#1442) 2026-07-27 21:40:51 +02:00
InfoProviderSystem Reworked info provider system to merge all provider metadata into a unified DTO 2026-07-26 13:55:27 +02:00
LabelSystem Implement parsing of TME QR codes (#1324) 2026-03-29 14:53:31 +02:00
LogSystem Test some more edge cases in tests 2026-05-11 23:13:46 +02:00
Misc Ran rector and made tests final 2026-02-14 23:32:43 +01:00
Parameters Ran rector and made tests final 2026-02-14 23:32:43 +01:00
Parts Test some more edge cases in tests 2026-05-11 23:13:46 +02:00
ProjectSystem Test some more edge cases in tests 2026-05-11 23:13:46 +02:00
System Ensure that the Password reset link is generated on a trusted domain, and cannot be manipulated by an attacker by setting the host header 2026-07-19 23:05:02 +02:00
Trees Ran rector and made tests final 2026-02-14 23:32:43 +01:00
UserSystem Added additional tests 2026-05-11 20:28:40 +02:00
ElementTypeNameGeneratorTest.php Ran rector and made tests final 2026-02-14 23:32:43 +01:00
ElementTypesTest.php Ran rector and made tests final 2026-02-14 23:32:43 +01:00
EntityURLGeneratorTest.php Added more tests 2026-05-11 21:50:33 +02:00