Part-DB-server/src/Entity
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
..
Attachments Merged subchildren operations on APIPlatform into one APIResource, as havinng multiple is deprecated 2026-06-25 20:16:44 +02:00
Base Increase DB field length for URLs to 2048 chars 2025-12-04 23:04:44 +01:00
Contracts Removed unused import statements 2024-03-03 20:34:36 +01:00
EDA Set "Excluded from sim" to false by default for new categories to avoid annoying symbol at kicad parts. 2026-01-18 22:35:37 +01:00
InfoProviderSystem Refactored constraints, to reuse existing mechanisms 2025-09-21 20:45:18 +02:00
LabelSystem Added API endpoint for generating labels (#1234) 2026-02-15 16:03:07 +01:00
LogSystem Added a modal to stocktake / set part lots amount from info page 2026-02-10 23:17:10 +01:00
Parameters Add per-parameter "visible in symbol" flag for KiCad EDA export (#1444) 2026-07-27 22:31:06 +02:00
Parts Return full path and sort structures by full pathes in list tools 2026-07-25 21:03:05 +02:00
PriceInformations Merged subchildren operations on APIPlatform into one APIResource, as havinng multiple is deprecated 2026-06-25 20:16:44 +02:00
ProjectSystem Add mcp tools for projects 2026-07-25 21:30:41 +02:00
UserSystem Automatically set the stocktake permission if a user can already add and withdraw from a lot 2026-02-10 23:24:40 +01:00
.gitignore Initial commit 2019-02-23 16:49:38 +01:00
OAuthToken.php Fixed "implicitly marking parameter as nullable" deprecations in PHP 8.4 fixed 2025-02-08 00:19:20 +01:00
SettingsEntry.php Use a doctrine entity for storing the settings 2025-07-06 22:15:48 +02:00