feat(wizard): redesign environment step - upscaling options

- Replace FSR Version with flexible Upscaler Type + Version
- Add new upscaler options: AMD FSR, NVIDIA DLSS, Intel XeSS, Lossless Scaling FG, Other
- Expand Frame Gen options: lsfg, other
- Add Estimated Battery Life field (minutes)
- Add Custom / Modified System toggle
- Update review step with new summary rows
- Update submit body with new fields
This commit is contained in:
2026-04-27 07:24:23 +08:00
parent bcc0382001
commit 4943f24fd4
3 changed files with 104 additions and 32 deletions
+5 -2
View File
@@ -43,7 +43,7 @@ export function GameEntryWizard({ gameId, gameVersionId }: GameEntryWizardProps)
// Step 4: Environment
const [environment, setEnvironment] = useState<EnvironmentData>({
fsrVersion: "none",
upscalerType: "none",
frameGenMethod: "none",
})
@@ -122,9 +122,12 @@ export function GameEntryWizard({ gameId, gameVersionId }: GameEntryWizardProps)
loadTimeSd: performance.loadTimeSd !== undefined ? Number(performance.loadTimeSd) : null,
protonVersion: environment.protonVersion || null,
osVersion: environment.osVersion || null,
fsrVersion: environment.fsrVersion ?? "none",
upscalerType: environment.upscalerType ?? "none",
upscalerVersion: environment.upscalerVersion || null,
frameGenMethod: environment.frameGenMethod ?? "none",
launchOptions: environment.launchOptions || null,
estimatedBatteryMin: environment.estimatedBatteryMin ?? null,
customSystem: environment.customSystem ?? false,
settingsJson: settingsJson.length > 0 ? settingsJson : null,
userNotes: userNotes || null,
}),