From 8d96d99160e85aaaccd708658cabbc2c381d8b0a Mon Sep 17 00:00:00 2001 From: ddidderr Date: Thu, 21 May 2026 17:46:38 +0200 Subject: [PATCH] fix(ui): keep file viewer visible while installing The detail view already exposes View Files while a game is downloaded, installed, or actively downloading. During the download-to-install handoff, the backend can report Installing before the local downloaded/installed flags have settled in the next snapshot, which briefly hid the file viewer button. Treat Installing as another state where the game root should remain reachable. This keeps the detail view stable during the handoff without changing backend file-opening behavior. Test Plan: - just frontend-test --- .../src/components/modals/GameDetailModal.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crates/lanspread-tauri-deno-ts/src/components/modals/GameDetailModal.tsx b/crates/lanspread-tauri-deno-ts/src/components/modals/GameDetailModal.tsx index 52d1acb..1047125 100644 --- a/crates/lanspread-tauri-deno-ts/src/components/modals/GameDetailModal.tsx +++ b/crates/lanspread-tauri-deno-ts/src/components/modals/GameDetailModal.tsx @@ -55,7 +55,8 @@ export const GameDetailModal = ({ && !isInProgress(game.install_status); const canViewFiles = game.downloaded || game.installed - || game.install_status === InstallStatus.Downloading; + || game.install_status === InstallStatus.Downloading + || game.install_status === InstallStatus.Installing; return (