Add configurable columns

This commit is contained in:
Geomitron
2024-07-12 13:22:43 -05:00
parent 452111c1ef
commit 91e80aed52
8 changed files with 174 additions and 28 deletions

View File

@@ -30,6 +30,7 @@ export interface Settings {
libraryPath: string | undefined // The path to the user's library
isSng: boolean // If the chart should be downloaded as a .sng file or as a chart folder
isCompactTable: boolean // If the search result table should have reduced padding
visibleColumns: string[] // The search result columns to include
zoomFactor: number // How much the display should be zoomed
instrument: Instrument | null // The instrument selected by default, or `null` for "Any Instrument"
difficulty: Difficulty | null // The difficulty selected by default, or `null` for "Any Difficulty"
@@ -46,6 +47,7 @@ export const defaultSettings: Settings = {
libraryPath: undefined,
isSng: false,
isCompactTable: false,
visibleColumns: ['artist', 'album', 'genre', 'year'],
zoomFactor: 1,
instrument: 'guitar',
difficulty: null,