diff --git a/DeepDrftManager/Components/Pages/Tracks/Releases.razor b/DeepDrftManager/Components/Pages/Tracks/Releases.razor index 851e045..b63e219 100644 --- a/DeepDrftManager/Components/Pages/Tracks/Releases.razor +++ b/DeepDrftManager/Components/Pages/Tracks/Releases.razor @@ -54,10 +54,11 @@ - @* Medium tab strip: an ALL tab plus one tab per ReleaseMedium, ALL left-most. The medium tabs are - enum-driven — a fourth medium adds a tab automatically; only a label-lookup entry (MediumTabLabels) - and a content arm (MediumGrid) are needed, no markup fork. Selecting a tab swaps the grid below in - place. *@ + @* Medium tab strip: an ALL tab plus one explicit MudTabPanel per ReleaseMedium, ALL left-most. Each + panel is hand-declared in markup (not enum-driven) so @ref captures of the per-tab grid components + are possible. Adding a future medium requires a hand-added MudTabPanel; its position in markup must + match ReleaseMedium enum order, since the ?medium= deep-link seed and ActiveMedium getter are + position-based (panel 0 = ALL, panels 1.. = enum values in order). *@ @* Medium-aware Add Track: the button reflects the active tab and pre-selects the upload form to that tab's medium via a single query-param (?medium=…); the ALL tab defaults to Cut. The medium is a seed only — the upload form's selector stays user-changeable after landing. *@