Merge pull request #895 from getmaxun/legacy-recorder

chore: archive legacy recorder
This commit is contained in:
Karishma Shukla
2025-11-30 19:36:56 +05:30
committed by GitHub
14 changed files with 46 additions and 54 deletions

View File

@@ -9,7 +9,6 @@ import { deleteRunFromStorage } from "../../api/storage";
import { columns, Data } from "./RunsTable";
import { RunContent } from "./RunContent";
import { GenericModal } from "../ui/GenericModal";
import { modalStyle } from "../recorder/AddWhereCondModal";
import { getUserById } from "../../api/auth";
import { useTranslation } from "react-i18next";
import { useTheme } from "@mui/material/styles";
@@ -230,3 +229,15 @@ export const CollapsibleRow = ({ row, handleDelete, isOpen, onToggleExpanded, cu
</React.Fragment>
);
}
export const modalStyle = {
top: '45%',
left: '50%',
transform: 'translate(-50%, -50%)',
width: '30%',
backgroundColor: 'background.paper',
p: 4,
height: 'fit-content',
display: 'block',
padding: '20px',
};

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 "../recorder/AddWhereCondModal";
import { modalStyle } from "../run/ColapsibleRow";
interface RunSettingsProps {
isOpen: boolean;