mirror of
https://github.com/rommapp/romm.git
synced 2026-11-30 02:22:44 +01:00
The folding rule was written three times in two phrasings: as a filter, as its own inverse inside the auto-open check, and as an arithmetic difference for the chevron count. A slot band now partitions into `pinned` and `hidden` once where it is built, so the rule has one home and the filter stops re-running per render. Also: - A band carries its newest asset instead of the id, so ranking no longer scans the band to find it again inside a sort comparator. - `HIDDEN_ASSET_ANNOTATIONS` derives from `AssetAnnotations`, so a third annotation field cannot be added without also being masked. - `normalize_asset_labels` keys the dedupe off a dict, folding each label once, and rejects an oversized set as soon as it crosses the cap instead of after walking the whole body. - The clear button's absolute placement moved onto the stage that wants it, so the inline variant no longer un-sets it. - Two duplicated label ternaries became computeds. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016bZ7R3xC73MZu1vTNuatPK