From aa689cbb394ea4378b577a3fc29d30faac33a014 Mon Sep 17 00:00:00 2001 From: Bruno Quaresma Date: Wed, 22 Oct 2025 10:16:53 -0300 Subject: [PATCH] feat: add terminal in the task page (#20396) **Demo:** Screenshot 2025-10-21 at 10 45 24 Closes https://github.com/coder/internal/issues/1077 --- site/src/pages/TaskPage/TaskAppIframe.tsx | 24 +++++--- site/src/pages/TaskPage/TaskApps.tsx | 69 +++++++++++++++++------ 2 files changed, 68 insertions(+), 25 deletions(-) diff --git a/site/src/pages/TaskPage/TaskAppIframe.tsx b/site/src/pages/TaskPage/TaskAppIframe.tsx index e1803948c4..e66c8009d0 100644 --- a/site/src/pages/TaskPage/TaskAppIframe.tsx +++ b/site/src/pages/TaskPage/TaskAppIframe.tsx @@ -10,7 +10,7 @@ import { useProxy } from "contexts/ProxyContext"; import { EllipsisVertical, ExternalLinkIcon, HouseIcon } from "lucide-react"; import { useAppLink } from "modules/apps/useAppLink"; import type { Task, WorkspaceAppWithAgent } from "modules/tasks/tasks"; -import { type FC, useRef } from "react"; +import { type FC, type HTMLProps, useRef } from "react"; import { Link as RouterLink } from "react-router"; import { cn } from "utils/cn"; import { TaskWildcardWarning } from "./TaskWildcardWarning"; @@ -85,14 +85,7 @@ export const TaskAppIFrame: FC = ({ )} {app.health === "healthy" || app.health === "disabled" ? ( -