feat: playlist grid view (#1476)

* feat: grid view for playlists
This commit is contained in:
Flutter
2026-01-01 21:21:47 +01:00
committed by GitHub
parent b7627fd469
commit e5c5985f0f
4 changed files with 112 additions and 9 deletions
+19 -1
View File
@@ -1300,7 +1300,25 @@ const initialState: SettingsState = {
itemGap: 'sm',
itemsPerRow: 6,
itemsPerRowEnabled: false,
rows: [],
rows: pickGridRows({
alignLeftColumns: [TableColumn.TITLE, TableColumn.ARTIST],
columns: PLAYLIST_SONG_TABLE_COLUMNS,
enabledColumns: [TableColumn.TITLE, TableColumn.ARTIST],
pickColumns: [
TableColumn.TITLE,
TableColumn.ARTIST,
TableColumn.DURATION,
TableColumn.YEAR,
TableColumn.BIT_RATE,
TableColumn.BPM,
TableColumn.CODEC,
TableColumn.DATE_ADDED,
TableColumn.GENRE,
TableColumn.LAST_PLAYED,
TableColumn.RELEASE_DATE,
TableColumn.TRACK_NUMBER,
],
}),
size: 'default',
},
itemsPerPage: 100,