mirror of
https://github.com/rommapp/romm.git
synced 2026-11-29 10:01:00 +01:00
Custom platforms could only be distinguished by name, which is often not enough context (e.g. a "Sega - Genesis/Mega Drive (Unofficial)" folder holding aftermarket and unlicensed dumps). Platforms now carry an optional free-text description, mirroring collections. The column is nullable and defaults to "", matching custom_name, so a rescan (which merges a freshly scanned Platform over the existing row) leaves it untouched. update_platform patches only the fields sent, so an omitted description is preserved and an empty string clears it. Surfaced in the v2 UI only: the Settings tab name form now covers both custom_name and description, and PlatformHead renders the description as a chip alongside the metadata chips. v1 is frozen and gets no new UI, but round-trips the field unchanged through the shared API service. Closes #3402 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>