diff --git a/frontend/src/melodies/MelodyList.jsx b/frontend/src/melodies/MelodyList.jsx index 8e75104..c5fe467 100644 --- a/frontend/src/melodies/MelodyList.jsx +++ b/frontend/src/melodies/MelodyList.jsx @@ -958,8 +958,8 @@ export default function MelodyList() { const selectClass = "px-3 py-2 rounded-md text-sm cursor-pointer border"; return ( -
-
+
+

Melodies

{canEdit && ( @@ -973,187 +973,187 @@ export default function MelodyList() { )}
-
+
-
- - - - - - -
- - {showCreatorPicker && ( -
- {allCreators.length === 0 ? ( -

No creators found

- ) : ( - allCreators.map((creator) => ( - - )) - )} - {createdByFilter.length > 0 && ( - - )} -
- )} -
- - {languages.length > 1 && ( +
+
- )} - {/* Column visibility dropdown */} -
- + {showCreatorPicker && ( +
+ {allCreators.length === 0 ? ( +

No creators found

+ ) : ( + allCreators.map((creator) => ( + + )) + )} + {createdByFilter.length > 0 && ( + + )} +
+ )} +
+ + {languages.length > 1 && ( + + )} + +
+ - - - )} - - ); - })} -
- )} + + + + Columns + + {showColumnPicker && ( +
+ {orderedColumnPickerColumns.map((col) => { + const orderIdx = visibleColumns.indexOf(col.key); + const canMove = orderIdx >= 0; + return ( + + ); + })} +
+ )} +
-
+
- - {hasAnyFilter - ? `Filtered - Showing ${displayRows.length} / ${allMelodyCount || melodies.length} Melodies | ${offlineTaggedCount} Melodies tagged for Offline` - : `Showing all (${allMelodyCount || melodies.length}) Melodies | ${offlineTaggedCount} Melodies tagged for Offline`} - + {hasAnyFilter + ? `Filtered - Showing ${displayRows.length} / ${allMelodyCount || melodies.length} Melodies | ${offlineTaggedCount} Melodies tagged for Offline` + : `Showing all (${allMelodyCount || melodies.length}) Melodies | ${offlineTaggedCount} Melodies tagged for Offline`} {canEdit && (