feat(FN-2488): add terminal refresh fallbacks for terminal startup failures

- Add refresh-page actions alongside retry/reinitialize in TerminalModal bootstrap and xterm init error states
- Add terminal error action-group styling so multiple recovery buttons render cleanly
- Extend TerminalModal tests to cover new refresh controls and verify window reload behavior
- Remove unused TaskLogEntry import and drop the stale hooks eslint suppression in dashboard-tui app
This commit is contained in:
Fusion
2026-04-25 07:07:48 -07:00
committed by gsxdsm
parent 8938bdf93a
commit 908b016727
8 changed files with 196 additions and 30 deletions

View File

@@ -46,7 +46,6 @@ import type {
FileEntry,
FileReadResult,
TaskDetailData,
TaskLogEntry,
TaskEvent,
} from "./state.js";
import { SECTION_ORDER } from "./state.js";
@@ -1175,7 +1174,6 @@ function TaskDetailScreen({
cancelled = true;
unsub();
};
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [projectPath, task.id]);
// When auto-follow is on and new log entries arrive, reset scroll to bottom.

View File

@@ -1,5 +1,6 @@
import os from "node:os";
import v8 from "node:v8";
import { execSync } from "node:child_process";
import { LogRingBuffer } from "./log-ring-buffer.js";
import type { LogEntry } from "./log-ring-buffer.js";
import type {