Part-DB-server/migrations
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
..
.gitignore Updated to doctrine migrations 3.0. 2020-07-04 23:38:18 +02:00
Version1.php Added postgres to the AbstractMultiPlatformMigration class 2024-06-06 23:11:11 +02:00
Version20190902140506.php Added postgres to the AbstractMultiPlatformMigration class 2024-06-06 23:11:11 +02:00
Version20190913141126.php Added postgres to the AbstractMultiPlatformMigration class 2024-06-06 23:11:11 +02:00
Version20190924113252.php Added postgres to the AbstractMultiPlatformMigration class 2024-06-06 23:11:11 +02:00
Version20191214153125.php Added postgres to the AbstractMultiPlatformMigration class 2024-06-06 23:11:11 +02:00
Version20200126191823.php Added postgres to the AbstractMultiPlatformMigration class 2024-06-06 23:11:11 +02:00
Version20200311204104.php Added postgres to the AbstractMultiPlatformMigration class 2024-06-06 23:11:11 +02:00
Version20200409130946.php Added postgres to the AbstractMultiPlatformMigration class 2024-06-06 23:11:11 +02:00
Version20200502161750.php Added postgres to the AbstractMultiPlatformMigration class 2024-06-06 23:11:11 +02:00
Version20220925162725.php Added postgres to the AbstractMultiPlatformMigration class 2024-06-06 23:11:11 +02:00
Version20221003212851.php Added postgres to the AbstractMultiPlatformMigration class 2024-06-06 23:11:11 +02:00
Version20221114193325.php Replaced the obsolete containerawareinterface with own implementation 2025-07-12 23:10:59 +02:00
Version20221204004815.php Added postgres to the AbstractMultiPlatformMigration class 2024-06-06 23:11:11 +02:00
Version20221216224745.php Added postgres to the AbstractMultiPlatformMigration class 2024-06-06 23:11:11 +02:00
Version20230108165410.php Added postgres to the AbstractMultiPlatformMigration class 2024-06-06 23:11:11 +02:00
Version20230219225340.php Added postgres to the AbstractMultiPlatformMigration class 2024-06-06 23:11:11 +02:00
Version20230220221024.php Added postgres to the AbstractMultiPlatformMigration class 2024-06-06 23:11:11 +02:00
Version20230402170923.php Added postgres to the AbstractMultiPlatformMigration class 2024-06-06 23:11:11 +02:00
Version20230408170059.php Added postgres to the AbstractMultiPlatformMigration class 2024-06-06 23:11:11 +02:00
Version20230408213957.php Added postgres to the AbstractMultiPlatformMigration class 2024-06-06 23:11:11 +02:00
Version20230417211732.php Added postgres to the AbstractMultiPlatformMigration class 2024-06-06 23:11:11 +02:00
Version20230528000149.php Added postgres to the AbstractMultiPlatformMigration class 2024-06-06 23:11:11 +02:00
Version20230716184033.php Added postgres to the AbstractMultiPlatformMigration class 2024-06-06 23:11:11 +02:00
Version20230730131708.php Added postgres to the AbstractMultiPlatformMigration class 2024-06-06 23:11:11 +02:00
Version20230816213201.php Added postgres to the AbstractMultiPlatformMigration class 2024-06-06 23:11:11 +02:00
Version20231114223101.php Added postgres to the AbstractMultiPlatformMigration class 2024-06-06 23:11:11 +02:00
Version20231130180903.php Added postgres to the AbstractMultiPlatformMigration class 2024-06-06 23:11:11 +02:00
Version20240427222442.php Added postgres to the AbstractMultiPlatformMigration class 2024-06-06 23:11:11 +02:00
Version20240606203053.php Fixed problems with container injection into migrations 2025-07-12 23:39:26 +02:00
Version20240728145604.php Fixed the NatSortKey function where regex characters were improperly escaped in the old migration 2024-07-28 17:08:55 +02:00
Version20250220215048.php Specify that we mean a column in drop statement. This is more correct 2025-03-29 20:57:58 +01:00
Version20250222165240.php Fixed migration 2025-02-22 19:23:28 +01:00
Version20250321075747.php Added custom part status (#1053) 2025-10-27 21:58:16 +01:00
Version20250325073036.php Added feature for part IPN suggest with category prefixes (#1054) 2025-11-03 00:31:47 +01:00
Version20250706201121.php Use a doctrine entity for storing the settings 2025-07-06 22:15:48 +02:00
Version20250802205143.php Add makefile to help with development setup, change part_ids in bulk import jobs to junction table and implement filtering based on bulk import jobs status and its associated parts' statuses. 2025-08-31 22:17:05 +02:00
Version20250813214628.php Fixed postgresql migrations 2025-08-14 22:37:40 +02:00
Version20251204215443.php Increase DB field length for URLs to 2048 chars 2025-12-04 23:04:44 +01:00
Version20260208131116.php Moved VAT include info from pricedetail to orderdetail level 2026-02-10 16:53:41 +01:00
Version20260211000000.php Enhance KiCad integration: API v2, batch EDA editing, field export control (#1241) 2026-03-01 22:10:13 +01:00
Version20260307204859.php Increase possible length of the vendor barcode column in part lots 2026-03-07 21:54:46 +01:00
Version20260713120000.php Add per-parameter "visible in symbol" flag for KiCad EDA export (#1444) 2026-07-27 22:31:06 +02:00