add smokeapi settings dialog & styling #67

This commit is contained in:
Novattz
2025-12-23 01:58:30 +01:00
parent ab057b8d10
commit 3675ff8fae
7 changed files with 354 additions and 1 deletions

View File

@@ -30,6 +30,12 @@ export interface ProgressDialogState {
instructions?: InstallationInstructions
}
export interface SmokeAPISettingsDialogState {
visible: boolean
gamePath: string
gameTitle: string
}
// Define the context type
export interface AppContextType {
// Game state
@@ -54,6 +60,11 @@ export interface AppContextType {
handleSettingsOpen: () => void
handleSettingsClose: () => void
// SmokeAPI settings
smokeAPISettingsDialog: SmokeAPISettingsDialogState
handleSmokeAPISettingsOpen: (gameId: string) => void
handleSmokeAPISettingsClose: () => void
// Toast notifications
showToast: (
message: string,