feat: create run ui directory

This commit is contained in:
amhsirak
2025-01-09 20:02:58 +05:30
parent 4325070c39
commit 82b8b4d51f
10 changed files with 11 additions and 11 deletions

View File

@@ -1,6 +1,6 @@
import { default as axios } from "axios";
import { WorkflowFile } from "maxun-core";
import { RunSettings } from "../components/molecules/RunSettings";
import { RunSettings } from "../components/run/RunSettings";
import { ScheduleSettings } from "../components/molecules/ScheduleSettings";
import { CreateRunResponse, ScheduleRunResponse } from "../pages/MainPage";
import { apiUrl } from "../apiConfig";

View File

@@ -5,8 +5,8 @@ import TableCell from "@mui/material/TableCell";
import { Box, Collapse, IconButton, Typography, Chip, TextField } from "@mui/material";
import { DeleteForever, KeyboardArrowDown, KeyboardArrowUp, Settings } from "@mui/icons-material";
import { deleteRunFromStorage } from "../../api/storage";
import { columns, Data } from "./RunsTable";
import { RunContent } from "./RunContent";
import { columns, Data } from "../run/RunsTable";
import { RunContent } from "../run/RunContent";
import { GenericModal } from "../ui/GenericModal";
import { modalStyle } from "./AddWhereCondModal";
import { getUserById } from "../../api/auth";

View File

@@ -1,7 +1,7 @@
import React from "react";
import { Button, MenuItem, TextField, Typography } from "@mui/material";
import { Dropdown } from "../ui/DropdownMui";
import { RunSettings } from "./RunSettings";
import { RunSettings } from "../run/RunSettings";
import { useSocketStore } from "../../context/socket";
interface LeftSidePanelSettingsProps {

View File

@@ -10,7 +10,7 @@ import { useBrowserDimensionsStore } from "../../context/browserDimensions";
import { useGlobalInfoStore } from "../../context/globalInfo";
import { TabContext, TabPanel } from "@mui/lab";
import { LeftSidePanelSettings } from "../molecules/LeftSidePanelSettings";
import { RunSettings } from "../molecules/RunSettings";
import { RunSettings } from "../run/RunSettings";
const fetchWorkflow = (id: string, callback: (response: WorkflowFile) => void) => {
getActiveWorkflow(id).then(

View File

@@ -1,7 +1,7 @@
import React, { useState } from 'react';
import { RecordingsTable } from "./RecordingsTable";
import { Grid } from "@mui/material";
import { RunSettings, RunSettingsModal } from "../molecules/RunSettings";
import { RunSettings, RunSettingsModal } from "../run/RunSettings";
import { ScheduleSettings, ScheduleSettingsModal } from "../molecules/ScheduleSettings";
import { IntegrationSettings, IntegrationSettingsModal } from "../integration/IntegrationSettings";
import { RobotSettings, RobotSettingsModal } from "./RobotSettings";

View File

@@ -3,7 +3,7 @@ import { GenericModal } from "../ui/GenericModal";
import { MenuItem, TextField, Typography, Switch, FormControlLabel } from "@mui/material";
import { Dropdown } from "../ui/DropdownMui";
import Button from "@mui/material/Button";
import { modalStyle } from "./AddWhereCondModal";
import { modalStyle } from "../molecules/AddWhereCondModal";
interface RunSettingsProps {
isOpen: boolean;

View File

@@ -1,6 +1,6 @@
import React, { useEffect } from 'react';
import { Grid } from "@mui/material";
import { RunsTable } from "../molecules/RunsTable";
import { RunsTable } from "./RunsTable";
interface RunsProps {
currentInterpretationLog: string;

View File

@@ -16,7 +16,7 @@ import SearchIcon from '@mui/icons-material/Search';
import { useGlobalInfoStore } from "../../context/globalInfo";
import { getStoredRuns } from "../../api/storage";
import { RunSettings } from "./RunSettings";
import { CollapsibleRow } from "./ColapsibleRow";
import { CollapsibleRow } from "../molecules/ColapsibleRow";
// Export columns before the component
export const columns: readonly Column[] = [

View File

@@ -3,14 +3,14 @@ import { useTranslation } from 'react-i18next';
import { MainMenu } from "../components/organisms/MainMenu";
import { Stack } from "@mui/material";
import { Recordings } from "../components/robot/Recordings";
import { Runs } from "../components/organisms/Runs";
import { Runs } from "../components/run/Runs";
import ProxyForm from '../components/proxy/ProxyForm';
import ApiKey from '../components/api/ApiKey';
import { useGlobalInfoStore } from "../context/globalInfo";
import { createRunForStoredRecording, interpretStoredRecording, notifyAboutAbort, scheduleStoredRecording } from "../api/storage";
import { io, Socket } from "socket.io-client";
import { stopRecording } from "../api/recording";
import { RunSettings } from "../components/molecules/RunSettings";
import { RunSettings } from "../components/run/RunSettings";
import { ScheduleSettings } from "../components/molecules/ScheduleSettings";
import { IntegrationSettings } from "../components/integration/IntegrationSettings";
import { RobotSettings } from "../components/robot/RobotSettings";