Part-DB-server/src/Form
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
..
AdminPages Added a "unsaved changed" warning dialog for part, entity edits and system settings 2026-05-25 21:29:10 +02:00
Extension Fixed problem with changing last_stocktake date, when editing part 2026-06-25 00:08:57 +02:00
Filters Allow to order and filter by GTIN in part tables 2026-02-08 15:51:39 +01:00
History Fixed some deprecations 2025-09-23 00:03:04 +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 Render non-printable chars in the scan input field 2026-03-01 13:36:52 +01:00
Part Allow to edit info provider reference 2026-06-28 23:47:49 +02:00
Permissions Applied rector suggestions 2024-06-22 00:31:43 +02:00
ProjectSystem Applied rector suggestions 2024-06-22 00:31:43 +02:00
Security Use a symfony form for login form 2026-03-07 00:46:34 +01:00
Settings Fixed phpstan issues 2026-05-03 00:18:38 +02:00
Type Fixed small deprecations 2026-06-25 12:37:22 +02:00
AttachmentFormType.php Refactored size checks for attachments and check base64 upload length 2026-07-09 19:33:11 +02:00
LabelOptionsType.php Removed unused import statements 2024-03-03 20:34:36 +01:00
ParameterType.php Add per-parameter "visible in symbol" flag for KiCad EDA export (#1444) 2026-07-27 22:31:06 +02:00
TFAGoogleSettingsType.php Added translation for the confirmation code field in the authenticator app 2FA setup section 2024-10-13 20:46:12 +02:00
UserAdminForm.php Added a "unsaved changed" warning dialog for part, entity edits and system settings 2026-05-25 21:29:10 +02:00
UserSettingsType.php Ran rector to convert some our twig extensions to use #[AsTwigXX] attributes 2026-02-14 23:53:31 +01:00