fix(FN-2400): harden dashboard TUI log viewport budgeting
- Rework logs viewport calculation to budget by rendered rows and keep content above footer hints - Add zero-row safety handling for short terminals with a dedicated expansion hint instead of overlapping output - Cap wrapped log rendering by remaining row budget so long messages cannot overflow into footer space - Add regression tests for footer-safe list windowing and wrapped-line truncation, plus a patch changeset for @runfusion/fusion
This commit is contained in:
@@ -2333,7 +2333,8 @@ describe("SettingsModal", () => {
|
||||
render(<SettingsModal onClose={onClose} addToast={addToast} />);
|
||||
await waitFor(() => expect(fetchSettings).toHaveBeenCalled());
|
||||
|
||||
expect(screen.getAllByText("Notifications").length).toBeGreaterThanOrEqual(1);
|
||||
const notificationsLabels = await screen.findAllByText("Notifications");
|
||||
expect(notificationsLabels.length).toBeGreaterThanOrEqual(1);
|
||||
});
|
||||
|
||||
it("shows ntfy enable checkbox in Notifications section", async () => {
|
||||
|
||||
Reference in New Issue
Block a user