diff options
| author | Christopher Lott <chris@MacBook-Air-von-Christopher.fritz.box> | 2026-05-07 22:44:59 +0200 |
|---|---|---|
| committer | Christopher Lott <chris@MacBook-Air-von-Christopher.fritz.box> | 2026-05-07 22:44:59 +0200 |
| commit | 0a9ed38d9e5e3f67efc0ecdc0d549d67ccb86fb8 (patch) | |
| tree | 02ae7ff4b1a8d8db528e55bd00d58b044e29aa57 /src/components | |
| parent | 97a70cd68813f2174fe145ee79784e509d11a742 (diff) | |
| download | decky-lsfg-vk-0a9ed38d9e5e3f67efc0ecdc0d549d67ccb86fb8.tar.gz decky-lsfg-vk-0a9ed38d9e5e3f67efc0ecdc0d549d67ccb86fb8.zip | |
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
Diffstat (limited to 'src/components')
| -rw-r--r-- | src/components/Content.tsx | 2 | ||||
| -rw-r--r-- | src/components/UsageInstructions.tsx | 7 |
2 files changed, 2 insertions, 7 deletions
diff --git a/src/components/Content.tsx b/src/components/Content.tsx index 3dc2696..3f94745 100644 --- a/src/components/Content.tsx +++ b/src/components/Content.tsx @@ -143,7 +143,7 @@ export function Content() { </> )} - <UsageInstructions config={config} /> + <UsageInstructions /> <PanelSectionRow> <ButtonItem 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> |
