|
1 | 1 | import type { Interpolation, Theme } from "@emotion/react";
|
| 2 | +import Skeleton from "@mui/material/Skeleton"; |
2 | 3 | import type {
|
3 | 4 | Template,
|
4 | 5 | Workspace,
|
5 | 6 | WorkspaceAgent,
|
6 | 7 | WorkspaceAgentDevcontainer,
|
7 | 8 | } from "api/typesGenerated";
|
8 |
| -import { Stack } from "components/Stack/Stack"; |
9 | 9 | import { Button } from "components/Button/Button";
|
10 | 10 | import { displayError } from "components/GlobalSnackbar/utils";
|
11 | 11 | import { Spinner } from "components/Spinner/Spinner";
|
| 12 | +import { Stack } from "components/Stack/Stack"; |
12 | 13 | import {
|
13 | 14 | Tooltip,
|
14 | 15 | TooltipContent,
|
15 | 16 | TooltipProvider,
|
16 | 17 | TooltipTrigger,
|
17 | 18 | } from "components/Tooltip/Tooltip";
|
18 |
| -import { ExternalLinkIcon, Container } from "lucide-react"; |
| 19 | +import { useProxy } from "contexts/ProxyContext"; |
| 20 | +import { Container, ExternalLinkIcon } from "lucide-react"; |
| 21 | +import { useFeatureVisibility } from "modules/dashboard/useFeatureVisibility"; |
| 22 | +import { AppStatuses } from "pages/WorkspacePage/AppStatuses"; |
19 | 23 | import type { FC } from "react";
|
20 | 24 | import { useEffect, useState } from "react";
|
21 | 25 | import { portForwardURL } from "utils/portForward";
|
22 | 26 | import { AgentButton } from "./AgentButton";
|
| 27 | +import { AgentLatency } from "./AgentLatency"; |
| 28 | +import { Apps, organizeAgentApps } from "./AgentRow"; |
| 29 | +import { SubAgentStatus } from "./AgentStatus"; |
| 30 | +import { PortForwardButton } from "./PortForwardButton"; |
23 | 31 | import { AgentSSHButton } from "./SSHButton/SSHButton";
|
| 32 | +import { SubAgentOutdatedTooltip } from "./SubAgentOutdatedTooltip"; |
24 | 33 | import { TerminalLink } from "./TerminalLink/TerminalLink";
|
25 | 34 | import { VSCodeDevContainerButton } from "./VSCodeDevContainerButton/VSCodeDevContainerButton";
|
26 |
| -import { useFeatureVisibility } from "modules/dashboard/useFeatureVisibility"; |
27 |
| -import { useProxy } from "contexts/ProxyContext"; |
28 |
| -import { PortForwardButton } from "./PortForwardButton"; |
29 |
| -import { SubAgentStatus } from "./AgentStatus"; |
30 |
| -import { AgentLatency } from "./AgentLatency"; |
31 |
| -import Skeleton from "@mui/material/Skeleton"; |
32 |
| -import { AppStatuses } from "pages/WorkspacePage/AppStatuses"; |
33 |
| -import { SubAgentOutdatedTooltip } from "./SubAgentOutdatedTooltip"; |
34 |
| -import { organizeAgentApps, Apps } from "./AgentRow"; |
35 | 35 |
|
36 | 36 | type AgentDevcontainerCardProps = {
|
37 | 37 | parentAgent: WorkspaceAgent;
|
|
0 commit comments