Option to toggle fields in songs, albums & artists (#923)
* Add toggleColumns - Add logic for toggling columns - Add MenuComponent + useSelectedFields hook * Refactoring * eslint-fixes * Typo * skip menu in albumGridView * add omittedFields * Add toggling for playlists and albumSong * Refactoring * defaultProps - fix * Add toggling for PlaylistSongs * remove accidental console log * Refactoring for future compatibility * Hide ToggleMenu in albumGridView * Add TopBarComponent in ToggleFieldsMenu * Add defaultOff for useSelectedFields * Fix edge case * eslint fix * Refactoring * Add propType for forwardRef * Fix issues * add translation for grid and table * add translation for grid and table * Ignore menuBtn for spotify-ish and Ligera themes * hide bpm by default in playlistSongs * Add memoization * Default album view must be Grid Co-authored-by: Deluan <deluan@navidrome.org>
This commit is contained in:
@@ -278,6 +278,12 @@
|
||||
"i18n_error": "Cannot load the translations for the specified language",
|
||||
"canceled": "Action cancelled",
|
||||
"logged_out": "Your session has ended, please reconnect."
|
||||
},
|
||||
"toggleFieldsMenu": {
|
||||
"columnsToDisplay": "Columns To Display",
|
||||
"layout": "Layout",
|
||||
"grid": "Grid",
|
||||
"table": "Table"
|
||||
}
|
||||
},
|
||||
"message": {
|
||||
|
||||
Reference in New Issue
Block a user