From 4d2b0189a3ae3048838c0b763f23e57c7a533666 Mon Sep 17 00:00:00 2001 From: amhsirak Date: Thu, 9 Jan 2025 20:04:02 +0530 Subject: [PATCH] feat: create robot ui directory --- src/api/storage.ts | 2 +- src/components/robot/Recordings.tsx | 2 +- src/components/{molecules => robot}/ScheduleSettings.tsx | 0 src/pages/MainPage.tsx | 2 +- 4 files changed, 3 insertions(+), 3 deletions(-) rename src/components/{molecules => robot}/ScheduleSettings.tsx (100%) diff --git a/src/api/storage.ts b/src/api/storage.ts index 12332fc0..201a38cc 100644 --- a/src/api/storage.ts +++ b/src/api/storage.ts @@ -1,7 +1,7 @@ import { default as axios } from "axios"; import { WorkflowFile } from "maxun-core"; import { RunSettings } from "../components/run/RunSettings"; -import { ScheduleSettings } from "../components/molecules/ScheduleSettings"; +import { ScheduleSettings } from "../components/robot/ScheduleSettings"; import { CreateRunResponse, ScheduleRunResponse } from "../pages/MainPage"; import { apiUrl } from "../apiConfig"; diff --git a/src/components/robot/Recordings.tsx b/src/components/robot/Recordings.tsx index a0209d5f..c05ea261 100644 --- a/src/components/robot/Recordings.tsx +++ b/src/components/robot/Recordings.tsx @@ -2,7 +2,7 @@ import React, { useState } from 'react'; import { RecordingsTable } from "./RecordingsTable"; import { Grid } from "@mui/material"; import { RunSettings, RunSettingsModal } from "../run/RunSettings"; -import { ScheduleSettings, ScheduleSettingsModal } from "../molecules/ScheduleSettings"; +import { ScheduleSettings, ScheduleSettingsModal } from "./ScheduleSettings"; import { IntegrationSettings, IntegrationSettingsModal } from "../integration/IntegrationSettings"; import { RobotSettings, RobotSettingsModal } from "./RobotSettings"; import { RobotEditModal } from './RobotEdit'; diff --git a/src/components/molecules/ScheduleSettings.tsx b/src/components/robot/ScheduleSettings.tsx similarity index 100% rename from src/components/molecules/ScheduleSettings.tsx rename to src/components/robot/ScheduleSettings.tsx diff --git a/src/pages/MainPage.tsx b/src/pages/MainPage.tsx index e9ee8af6..0255306c 100644 --- a/src/pages/MainPage.tsx +++ b/src/pages/MainPage.tsx @@ -11,7 +11,7 @@ import { createRunForStoredRecording, interpretStoredRecording, notifyAboutAbort import { io, Socket } from "socket.io-client"; import { stopRecording } from "../api/recording"; import { RunSettings } from "../components/run/RunSettings"; -import { ScheduleSettings } from "../components/molecules/ScheduleSettings"; +import { ScheduleSettings } from "../components/robot/ScheduleSettings"; import { IntegrationSettings } from "../components/integration/IntegrationSettings"; import { RobotSettings } from "../components/robot/RobotSettings"; import { apiUrl } from "../apiConfig";