@@ -2,6 +2,14 @@ import Button from "@mui/material/Button";
2
2
import IconButton from "@mui/material/IconButton" ;
3
3
import Tooltip from "@mui/material/Tooltip" ;
4
4
import CreateIcon from "@mui/icons-material/AddOutlined" ;
5
+ import { Link as RouterLink } from "react-router-dom" ;
6
+ import { type Interpolation , type Theme , useTheme } from "@emotion/react" ;
7
+ import { type FC , useCallback , useEffect , useRef , useState } from "react" ;
8
+ import AlertTitle from "@mui/material/AlertTitle" ;
9
+ import ButtonGroup from "@mui/material/ButtonGroup" ;
10
+ import ArrowBackOutlined from "@mui/icons-material/ArrowBackOutlined" ;
11
+ import CloseOutlined from "@mui/icons-material/CloseOutlined" ;
12
+ import PlayArrowOutlined from "@mui/icons-material/PlayArrowOutlined" ;
5
13
import type {
6
14
ProvisionerJobLog ,
7
15
Template ,
@@ -10,13 +18,10 @@ import type {
10
18
VariableValue ,
11
19
WorkspaceResource ,
12
20
} from "api/typesGenerated" ;
13
- import { Link as RouterLink } from "react-router-dom" ;
14
21
import { Alert , AlertDetail } from "components/Alert/Alert" ;
15
- import { TemplateResourcesTable } from "components /TemplateResourcesTable/TemplateResourcesTable" ;
16
- import { WorkspaceBuildLogs } from "components /WorkspaceBuildLogs/WorkspaceBuildLogs" ;
22
+ import { TemplateResourcesTable } from "modules/templates /TemplateResourcesTable/TemplateResourcesTable" ;
23
+ import { WorkspaceBuildLogs } from "modules/workspaces /WorkspaceBuildLogs/WorkspaceBuildLogs" ;
17
24
import { PublishVersionData } from "pages/TemplateVersionEditorPage/types" ;
18
- import { type FC , useCallback , useEffect , useRef , useState } from "react" ;
19
- import PlayArrowOutlined from "@mui/icons-material/PlayArrowOutlined" ;
20
25
import {
21
26
createFile ,
22
27
existsFile ,
@@ -38,10 +43,6 @@ import { MissingTemplateVariablesDialog } from "./MissingTemplateVariablesDialog
38
43
import { MonacoEditor } from "./MonacoEditor" ;
39
44
import { PublishTemplateVersionDialog } from "./PublishTemplateVersionDialog" ;
40
45
import { TemplateVersionStatusBadge } from "./TemplateVersionStatusBadge" ;
41
- import AlertTitle from "@mui/material/AlertTitle" ;
42
- import { type Interpolation , type Theme , useTheme } from "@emotion/react" ;
43
- import ArrowBackOutlined from "@mui/icons-material/ArrowBackOutlined" ;
44
- import CloseOutlined from "@mui/icons-material/CloseOutlined" ;
45
46
import { MONOSPACE_FONT_FAMILY } from "theme/constants" ;
46
47
import { Loader } from "components/Loader/Loader" ;
47
48
import {
@@ -53,7 +54,6 @@ import {
53
54
TopbarIconButton ,
54
55
} from "components/FullPageLayout/Topbar" ;
55
56
import { Sidebar } from "components/FullPageLayout/Sidebar" ;
56
- import ButtonGroup from "@mui/material/ButtonGroup" ;
57
57
import { ProvisionerTagsPopover } from "./ProvisionerTagsPopover" ;
58
58
59
59
type Tab = "logs" | "resources" | undefined ; // Undefined is to hide the tab
0 commit comments