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:
@@ -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.
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user