add additional configuration to player sidebar

- allow reordering of panels
- allow separation between lyrics and visualizer panels
- allow resize of panels
This commit is contained in:
jeffvli
2025-12-24 23:20:00 -08:00
parent d822d9cd29
commit 5eb2cff6e9
9 changed files with 376 additions and 64 deletions
@@ -101,6 +101,27 @@ export const SidebarSettings = () => {
}),
title: t('setting.showVisualizerInSidebar', { postProcess: 'sentenceCase' }),
},
{
control: (
<Switch
aria-label="Combine lyrics and visualizer"
defaultChecked={settings.combinedLyricsAndVisualizer}
onChange={(e) => {
setSettings({
general: {
...settings,
combinedLyricsAndVisualizer: e.currentTarget.checked,
},
});
}}
/>
),
description: t('setting.combinedLyricsAndVisualizer', {
context: 'description',
postProcess: 'sentenceCase',
}),
title: t('setting.combinedLyricsAndVisualizer', { postProcess: 'sentenceCase' }),
},
];
return (