Part-DB-server/templates/parts/edit
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
..
_advanced.html.twig Allow to edit info provider reference 2026-06-28 23:47:49 +02:00
_associated_parts.html.twig Use a custom delete confirmation message for part associations 2023-11-16 22:38:01 +01:00
_attachments.html.twig Renamed parts/ templates folder to recommended snake_case style 2023-02-04 23:05:39 +01:00
_eda.html.twig Make form layout better at wide screens & Make horizontal form column layout configurable via global Twig variables (#1293) 2026-03-07 16:14:58 +01:00
_lots.html.twig Renamed parts/ templates folder to recommended snake_case style 2023-02-04 23:05:39 +01:00
_main.html.twig Make form layout better at wide screens & Make horizontal form column layout configurable via global Twig variables (#1293) 2026-03-07 16:14:58 +01:00
_manufacturer.html.twig Renamed parts/ templates folder to recommended snake_case style 2023-02-04 23:05:39 +01:00
_orderdetails.html.twig Replaced leftover bootstrap_4 form theme usages with BS5 2023-03-05 23:12:44 +01:00
_specifications.html.twig Add per-parameter "visible in symbol" flag for KiCad EDA export (#1444) 2026-07-27 22:31:06 +02:00
edit_form_styles.html.twig Add per-parameter "visible in symbol" flag for KiCad EDA export (#1444) 2026-07-27 22:31:06 +02:00
edit_part_info.html.twig Make form layout better at wide screens & Make horizontal form column layout configurable via global Twig variables (#1293) 2026-03-07 16:14:58 +01:00
merge_parts.html.twig Added an form for merging two parts together 2023-11-22 20:11:38 +01:00
new_part.html.twig Added an form for merging two parts together 2023-11-22 20:11:38 +01:00
update_from_ip.html.twig More sophisticated two-step bulk import from info providers 2025-08-31 22:16:27 +02:00