From 23a1275025f64215474eb1539abb9fa00fee16b5 Mon Sep 17 00:00:00 2001 From: daniel-c-harvey Date: Wed, 17 Jun 2026 14:27:50 -0400 Subject: [PATCH] =?UTF-8?q?docs(Releases.razor):=20correct=20stale=20mediu?= =?UTF-8?q?m-tab=20comment=20=E2=80=94=20tabs=20are=20explicit=20markup,?= =?UTF-8?q?=20not=20enum-driven;=20adding=20a=20medium=20requires=20a=20ha?= =?UTF-8?q?nd-added=20panel=20in=20enum=20order?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- DeepDrftManager/Components/Pages/Tracks/Releases.razor | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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. *@