From 3009706795fcf6fb44d25c1458f24c0714822352 Mon Sep 17 00:00:00 2001 From: xXJSONDeruloXx Date: Mon, 20 Oct 2025 09:59:29 -0400 Subject: feat: mv edit and delete profile buttons to share one row --- src/components/ProfileManagement.tsx | 60 ++++++++++++++++++++++++++---------- 1 file changed, 43 insertions(+), 17 deletions(-) (limited to 'src') diff --git a/src/components/ProfileManagement.tsx b/src/components/ProfileManagement.tsx index 6e2a8f8..7504ca4 100644 --- a/src/components/ProfileManagement.tsx +++ b/src/components/ProfileManagement.tsx @@ -14,7 +14,7 @@ import { AppOverview, Router } from "@decky/ui"; -import { RiArrowDownSFill, RiArrowUpSFill } from "react-icons/ri"; +import { RiArrowDownSFill, RiArrowUpSFill, RiEditLine, RiDeleteBinLine } from "react-icons/ri"; import { getProfiles, createProfile, @@ -416,23 +416,49 @@ export function ProfileManagement({ currentProfile, onProfileChange }: ProfileMa - - Rename - - - - - - Delete - + + + + + + + + )} -- cgit v1.2.3 From 2e4f52af98e63d8437c7ea5805eafcb1ece77b94 Mon Sep 17 00:00:00 2001 From: xXJSONDeruloXx Date: Mon, 20 Oct 2025 10:14:59 -0400 Subject: chore: rm awk separator --- src/components/ProfileManagement.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/components/ProfileManagement.tsx b/src/components/ProfileManagement.tsx index 7504ca4..d3d15a9 100644 --- a/src/components/ProfileManagement.tsx +++ b/src/components/ProfileManagement.tsx @@ -405,6 +405,7 @@ export function ProfileManagement({ currentProfile, onProfileChange }: ProfileMa label="" childrenLayout="below" childrenContainerWidth="max" + bottomSeparator="none" > -- cgit v1.2.3 From 2b348fb00027766547084f2f348c62952956ac00 Mon Sep 17 00:00:00 2001 From: xXJSONDeruloXx Date: Mon, 20 Oct 2025 10:46:18 -0400 Subject: chore: cap LSFG-VK in FE to match plugin naming --- src/components/InstallationButton.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/components/InstallationButton.tsx b/src/components/InstallationButton.tsx index 7892678..d0f2ce5 100644 --- a/src/components/InstallationButton.tsx +++ b/src/components/InstallationButton.tsx @@ -37,7 +37,7 @@ export function InstallationButton({ return (
-
Uninstall lsfg-vk
+
Uninstall LSFG-VK
); } @@ -45,7 +45,7 @@ export function InstallationButton({ return (
-
Install lsfg-vk
+
Install LSFG-VK
); }; -- cgit v1.2.3 From 2d718e686431b05e0767b1bd1efa1584487998d0 Mon Sep 17 00:00:00 2001 From: xXJSONDeruloXx Date: Mon, 20 Oct 2025 11:15:23 -0400 Subject: feat: always set no_fp16 false even on previous conf --- src/components/ConfigurationSection.tsx | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'src') diff --git a/src/components/ConfigurationSection.tsx b/src/components/ConfigurationSection.tsx index 9afc650..b098b32 100644 --- a/src/components/ConfigurationSection.tsx +++ b/src/components/ConfigurationSection.tsx @@ -4,7 +4,7 @@ import { RiArrowDownSFill, RiArrowUpSFill } from "react-icons/ri"; import { ConfigurationData } from "../config/configSchema"; import { FpsMultiplierControl } from "./FpsMultiplierControl"; import { - NO_FP16, FLOW_SCALE, PERFORMANCE_MODE, HDR_MODE, + FLOW_SCALE, PERFORMANCE_MODE, HDR_MODE, EXPERIMENTAL_PRESENT_MODE, DXVK_FRAME_RATE, DISABLE_STEAMDECK_MODE, MANGOHUD_WORKAROUND, DISABLE_VKBASALT, FORCE_ENABLE_VKBASALT, ENABLE_WSI, ENABLE_ZINK } from "../config/generatedConfigSchema"; @@ -97,15 +97,6 @@ export function ConfigurationSection({ /> - - onConfigChange(NO_FP16, value)} - /> - - Date: Mon, 20 Oct 2025 11:46:11 -0400 Subject: chore: hide wiki buttons --- src/components/Content.tsx | 4 ++-- src/components/index.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/components/Content.tsx b/src/components/Content.tsx index d3c04d3..6efa8e2 100644 --- a/src/components/Content.tsx +++ b/src/components/Content.tsx @@ -135,8 +135,8 @@ export function Content() { {/* Wiki and clipboard buttons - always available for documentation */} - - + {/* */} + {/* */} {/* Plugin Update Checker */} {/* */} diff --git a/src/components/index.ts b/src/components/index.ts index 260d192..65a3252 100644 --- a/src/components/index.ts +++ b/src/components/index.ts @@ -4,7 +4,7 @@ export { InstallationButton } from "./InstallationButton"; export { ConfigurationSection } from "./ConfigurationSection"; export { FpsMultiplierControl } from "./FpsMultiplierControl"; export { UsageInstructions } from "./UsageInstructions"; -export { WikiButton } from "./WikiButton"; +// export { WikiButton } from "./WikiButton"; export { SmartClipboardButton } from "./SmartClipboardButton"; export { FgmodClipboardButton } from "./FgmodClipboardButton"; // export { ClipboardDisplay } from "./ClipboardDisplay"; -- cgit v1.2.3 From a7f7d5878a037fd59fb3257daf9d5e22c63ef9e8 Mon Sep 17 00:00:00 2001 From: xXJSONDeruloXx Date: Mon, 20 Oct 2025 11:50:57 -0400 Subject: centralize index into src, comment out unused imports --- src/components/Content.tsx | 4 ++-- src/components/index.ts | 14 -------------- src/index.tsx | 2 +- 3 files changed, 3 insertions(+), 17 deletions(-) delete mode 100644 src/components/index.ts (limited to 'src') diff --git a/src/components/Content.tsx b/src/components/Content.tsx index 6efa8e2..fdb8672 100644 --- a/src/components/Content.tsx +++ b/src/components/Content.tsx @@ -8,8 +8,8 @@ import { InstallationButton } from "./InstallationButton"; import { ConfigurationSection } from "./ConfigurationSection"; import { ProfileManagement } from "./ProfileManagement"; import { UsageInstructions } from "./UsageInstructions"; -import { WikiButton } from "./WikiButton"; -import { ClipboardButton } from "./ClipboardButton"; +// import { WikiButton } from "./WikiButton"; +// import { ClipboardButton } from "./ClipboardButton"; import { SmartClipboardButton } from "./SmartClipboardButton"; import { FgmodClipboardButton } from "./FgmodClipboardButton"; // import { ClipboardDisplay } from "./ClipboardDisplay"; diff --git a/src/components/index.ts b/src/components/index.ts deleted file mode 100644 index 65a3252..0000000 --- a/src/components/index.ts +++ /dev/null @@ -1,14 +0,0 @@ -export { Content } from "./Content"; -export { StatusDisplay } from "./StatusDisplay"; -export { InstallationButton } from "./InstallationButton"; -export { ConfigurationSection } from "./ConfigurationSection"; -export { FpsMultiplierControl } from "./FpsMultiplierControl"; -export { UsageInstructions } from "./UsageInstructions"; -// export { WikiButton } from "./WikiButton"; -export { SmartClipboardButton } from "./SmartClipboardButton"; -export { FgmodClipboardButton } from "./FgmodClipboardButton"; -// export { ClipboardDisplay } from "./ClipboardDisplay"; -// export { PluginUpdateChecker } from "./PluginUpdateChecker"; -export { NerdStuffModal } from "./NerdStuffModal"; -export { default as FlatpaksModal } from "./FlatpaksModal"; -export { ProfileManagement } from "./ProfileManagement"; diff --git a/src/index.tsx b/src/index.tsx index 799f2ff..bbe4cd3 100755 --- a/src/index.tsx +++ b/src/index.tsx @@ -1,7 +1,7 @@ import { staticClasses } from "@decky/ui"; import { definePlugin } from "@decky/api"; import { GiPlasticDuck } from "react-icons/gi"; -import { Content } from "./components"; +import { Content } from "./components/Content"; export default definePlugin(() => { console.log("decky-lsfg-vk plugin initializing"); -- cgit v1.2.3