From 7e576633715caa2a8d19dbe6b33a92881c2c5b81 Mon Sep 17 00:00:00 2001
From: Christopher Lott <chris@MacBook-Air-von-Christopher.fritz.box>
Date: Thu, 7 May 2026 22:44:59 +0200
Subject: remove dead code across frontend and backend

- Remove TS ConfigurationManager class in configSchema.ts (called
  non-existent backend methods; only getDefaults() was used, replaced
  with direct import)
- Remove Python update_config method and create_config_from_args (unreachable
  since plugin.py routes through update_config_from_dict; also carried a
  duplicate @staticmethod that would crash at runtime)
- Delete configuration_helpers_generated.py entirely (all three functions
  were unused)
- Remove their generators from generate_python_boilerplate.py
- Remove dead generated code from config_schema_generated.py
  (create_config_dict, get_function_parameters, TOML_FIELDS, SCRIPT_FIELDS)
- Remove duplicate import in config_schema.py
- Remove unused config prop from UsageInstructions component
---
 src/components/UsageInstructions.tsx | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

(limited to 'src/components/UsageInstructions.tsx')

diff --git a/src/components/UsageInstructions.tsx b/src/components/UsageInstructions.tsx
index 0c27517..5f032b8 100644
--- a/src/components/UsageInstructions.tsx
+++ b/src/components/UsageInstructions.tsx
@@ -1,11 +1,6 @@
 import { PanelSectionRow } from "@decky/ui";
-import { ConfigurationData } from "../config/configSchema";
 
-interface UsageInstructionsProps {
-  config: ConfigurationData;
-}
-
-export function UsageInstructions({ config: _config }: UsageInstructionsProps) {
+export function UsageInstructions() {
   return (
     <>
       <PanelSectionRow>
-- 
cgit v1.2.3

