From 08939bdaaf12d975722f5e185e2c0630c5dad470 Mon Sep 17 00:00:00 2001 From: chyoo Date: Mon, 6 Jul 2026 16:31:53 +0900 Subject: [PATCH] clarify app release build flow --- .../applications/BuildManagementPage.tsx | 10 ++----- .../applications/ReleaseManagementPage.tsx | 30 ++++++++++++++----- src/pages/launcher/LauncherBuildPage.tsx | 6 ++-- src/pages/operations/NoticesPage.tsx | 23 +++++++------- 4 files changed, 41 insertions(+), 28 deletions(-) diff --git a/src/pages/applications/BuildManagementPage.tsx b/src/pages/applications/BuildManagementPage.tsx index 62951a7..27b2146 100644 --- a/src/pages/applications/BuildManagementPage.tsx +++ b/src/pages/applications/BuildManagementPage.tsx @@ -100,8 +100,7 @@ export function BuildManagementPage() { setSelectedComponentId((prev) => { const valid = filteredSources.some((source) => source.id === prev); const next = valid ? prev : filteredSources[0]?.id || ''; - const nextSource = filteredSources.find((source) => source.id === next); - setBranch(nextSource?.branch || 'develop'); + setBranch('develop'); return next; }); } finally { @@ -137,7 +136,7 @@ export function BuildManagementPage() { if (!componentOptions.some((source) => source.id === selectedComponentId)) { const nextComponent = componentOptions[0]; setSelectedComponentId(nextComponent?.id || ''); - setBranch(nextComponent?.branch || 'develop'); + setBranch('develop'); } }, [componentOptions, selectedComponentId]); @@ -225,9 +224,8 @@ export function BuildManagementPage() { className="mt-2 h-9 w-full rounded-md border border-input bg-background px-3 text-sm text-foreground outline-none focus:ring-2 focus:ring-ring" value={selectedComponent?.id ?? ''} onChange={(event) => { - const next = componentOptions.find((source) => source.id === event.target.value); setSelectedComponentId(event.target.value); - setBranch(next?.branch || 'develop'); + setBranch('develop'); }} > {componentOptions.length === 0 ? : null} @@ -242,8 +240,6 @@ export function BuildManagementPage() { onChange={(event) => setBranch(event.target.value)} > - -