chore: window resize handles, UI cleanup and type fixes
Continuous Integration / build_web (push) Failing after 0s
Continuous Integration / build (macos-latest) (push) Skipped
Continuous Integration / build (ubuntu-22.04) (push) Skipped
Continuous Integration / build (windows-11-arm) (push) Skipped
Continuous Integration / build (windows-latest) (push) Skipped
Continuous Integration / nightly_release (push) Skipped

Adds edge resize handles for frameless Windows/Linux windows, reserves space for the custom titlebar, and fixes assorted unused imports, error-boundary typing and image decoding hints.
This commit is contained in:
1xDed committed 2026-11-28 01:37:33 +03:00
1 parent 6675a55957
commit ae5a2133fa
22 files changed
+161 -35

No files matched your search

+1 -1
View File
@@ -1,5 +1,5 @@
import type { BaseItemDtoQueryResult } from "@jellyfin/sdk/lib/generated-client";
import type { UseQueryResult, useQuery } from "@tanstack/react-query";
import type { UseQueryResult } from "@tanstack/react-query";
import type React from "react";
import { useEffect, useState } from "react";
+4 -3
View File
@@ -54,13 +54,14 @@ const CentralContext = createContext<StoreApi<CentralStore>>(null!);
export const CentralProvider = ({ children }: { children: ReactNode }) => {
const [store] = useState(() =>
createStore<CentralStore>()((set) => ({
defaultServerOnDisk: async () => await getDefaultServer(),
defaultServerOnDisk: async () => (await getDefaultServer()) ?? null,
defaultServerInfoOnDisk: async () => {
const a = await getDefaultServer();
return await getServer(a);
if (!a) return undefined;
return (await getServer(a)) ?? undefined;
},
allServersOnDisk: async () => await getAllServers(),
userOnDisk: async () => await getUser(),
userOnDisk: async () => (await getUser()) ?? null,
clientVersion: version,
currentUser: null,
fetchCurrentUser: async (api) => {
-1
View File
@@ -3,7 +3,6 @@ import type {
MediaSegmentDtoQueryResult,
PlaybackInfoResponse,
} from "@jellyfin/sdk/lib/generated-client";
import type IntroMediaInfo from "./introMediaInfo";
interface PlayResult {
item: BaseItemDtoQueryResult | undefined;