feat: sync play queue for navidrome/subsonic (#1335)

---------

Co-authored-by: jeffvli <jeffvictorli@gmail.com>
This commit is contained in:
Kendall Garner
2025-12-13 05:05:00 +00:00
committed by GitHub
parent 13afd3d9c4
commit ed5d590a6b
31 changed files with 648 additions and 107 deletions
@@ -12,7 +12,7 @@ interface DragDropZoneProps {
}
export const DragDropZone = ({ icon, onItemSelected, validateItem }: DragDropZoneProps) => {
const zoneFileInput = useRef<HTMLInputElement | null>();
const zoneFileInput = useRef<HTMLInputElement | null>(null);
const [error, setError] = useState<string>('');
const processItem = useCallback(
@@ -122,7 +122,9 @@ export const DragDropZone = ({ icon, onItemSelected, validateItem }: DragDropZon
) : null}
<input
onChange={onZoneInputChange}
ref={(self) => (zoneFileInput.current = self)}
ref={(self) => {
zoneFileInput.current = self;
}}
style={{ display: 'none' }}
type="file"
/>
+2
View File
@@ -100,6 +100,7 @@ import {
LuSun,
LuTable,
LuTriangleAlert,
LuUpload,
LuUser,
LuUserPen,
LuUserRoundCog,
@@ -227,6 +228,7 @@ export const AppIcon = {
themeLight: LuSun,
track: LuMusic2,
unfavorite: LuHeartCrack,
upload: LuUpload,
user: LuUser,
userManage: LuUserRoundCog,
visibility: MdOutlineVisibility,