fix(FN-000): improve local startup UX
This commit is contained in:
@@ -168,6 +168,8 @@ async function flushFrames() {
|
||||
|
||||
async function focusSettingsDetailPane(stdin: { write: (chunk: string) => void }, lastFrame: () => string | undefined) {
|
||||
stdin.write("\u001b[C");
|
||||
await new Promise((resolve) => setTimeout(resolve, 25));
|
||||
await flushFrames();
|
||||
await waitForFrameContains(lastFrame, "[C/V/X/P/L/U/K/R] remote actions");
|
||||
}
|
||||
|
||||
|
||||
@@ -236,7 +236,7 @@ function SplashScreen({ loadingStatus, updateStatus }: { loadingStatus: string;
|
||||
<Text color="cyanBright" dimColor>{FUSION_URL}</Text>
|
||||
<Text color="cyanBright" dimColor>{`v${FUSION_VERSION}`}</Text>
|
||||
{updateStatus?.updateAvailable && (
|
||||
<Text color="yellow" dimColor>{`Update available: v${updateStatus.currentVersion} → v${updateStatus.latestVersion}. Run \`npm install -g @runfusion/fusion\`.`}</Text>
|
||||
<Text color="yellow" dimColor>{`Update available: v${updateStatus.currentVersion} → v${updateStatus.latestVersion}. Run \`fn update\` for an installed CLI, or pull this source checkout.`}</Text>
|
||||
)}
|
||||
<Box height={1} />
|
||||
<Box flexDirection="row" gap={1}>
|
||||
|
||||
Reference in New Issue
Block a user