diff --git a/src/components/molecules/IntegrationSettings.tsx b/src/components/molecules/IntegrationSettings.tsx
index 8eeb7727..c31605de 100644
--- a/src/components/molecules/IntegrationSettings.tsx
+++ b/src/components/molecules/IntegrationSettings.tsx
@@ -177,12 +177,12 @@ export const IntegrationSettingsModal = ({
>
Integrate with Google Sheet{" "}
-
+ {/* */}
{recording && recording.google_sheet_id ? (
<>
-
+
Google Sheet Integrated Successfully.
Every time this robot creates a successful run, its captured data
is appended to your {recording.google_sheet_name} Google Sheet.
diff --git a/src/components/molecules/NavBar.tsx b/src/components/molecules/NavBar.tsx
index 30feef51..4c0b7296 100644
--- a/src/components/molecules/NavBar.tsx
+++ b/src/components/molecules/NavBar.tsx
@@ -3,7 +3,7 @@ import axios from 'axios';
import styled from "styled-components";
import { stopRecording } from "../../api/recording";
import { useGlobalInfoStore } from "../../context/globalInfo";
-import { IconButton, Menu, MenuItem, Typography, Avatar } from "@mui/material";
+import { IconButton, Menu, MenuItem, Typography, Avatar, Chip, } from "@mui/material";
import { AccountCircle, Logout, Clear } from "@mui/icons-material";
import { useNavigate } from 'react-router-dom';
import { AuthContext } from '../../context/auth';
@@ -58,6 +58,7 @@ export const NavBar: React.FC = ({ recordingName, isRecording }) =>
}}>
+
{
user ? (
diff --git a/src/components/molecules/RecordingsTable.tsx b/src/components/molecules/RecordingsTable.tsx
index 09ee2239..e9f0aebc 100644
--- a/src/components/molecules/RecordingsTable.tsx
+++ b/src/components/molecules/RecordingsTable.tsx
@@ -9,13 +9,9 @@ import TablePagination from '@mui/material/TablePagination';
import TableRow from '@mui/material/TableRow';
import { useEffect } from "react";
import { WorkflowFile } from "maxun-core";
-
-
import SearchIcon from '@mui/icons-material/Search';
import { IconButton, Button, Box, Typography, TextField, MenuItem, Menu, ListItemIcon, ListItemText } from "@mui/material";
-import { Schedule, DeleteForever, Edit, PlayCircle, Settings, Power, ContentCopy, } from "@mui/icons-material";
-
-import LinkIcon from '@mui/icons-material/Link';
+import { Schedule, DeleteForever, Edit, PlayCircle, Settings, Power, ContentCopy, MoreHoriz } from "@mui/icons-material";
import { useGlobalInfoStore } from "../../context/globalInfo";
import { checkRunsForRecording, deleteRecordingFromStorage, getStoredRecordings } from "../../api/storage";
import { Add } from "@mui/icons-material";
@@ -23,14 +19,8 @@ import { useNavigate } from 'react-router-dom';
import { stopRecording } from "../../api/recording";
import { GenericModal } from '../atoms/GenericModal';
-import axios from 'axios';
-import { apiUrl } from '../../apiConfig';
-import { Menu as MenuIcon } from '@mui/icons-material';
-
-
/** TODO:
* 1. allow editing existing robot after persisting browser steps
- * 2. show robot settings: id, url, etc.
*/
interface Column {
@@ -161,7 +151,7 @@ export const RecordingsTable = ({ handleEditRecording, handleRunRecording, handl
row.name.toLowerCase().includes(searchTerm.toLowerCase())
);
-
+
return (
@@ -254,33 +244,33 @@ export const RecordingsTable = ({ handleEditRecording, handleRunRecording, handl
handleIntegrateRecording(row.id, row.name, row.params || [])} />
);
- case 'options':
- return (
-
- handleEditRobot(row.id, row.name, row.params || [])}
- handleDelete={() => {
+ case 'options':
+ return (
+
+ handleEditRobot(row.id, row.name, row.params || [])}
+ handleDelete={() => {
- checkRunsForRecording(row.id).then((result: boolean) => {
- if (result) {
- notify('warning', 'Cannot delete recording as it has active runs');
- }
- })
+ checkRunsForRecording(row.id).then((result: boolean) => {
+ if (result) {
+ notify('warning', 'Cannot delete recording as it has active runs');
+ }
+ })
- deleteRecordingFromStorage(row.id).then((result: boolean) => {
- if (result) {
- setRows([]);
- notify('success', 'Recording deleted successfully');
- fetchRecordings();
- }
- })
- }}
- handleDuplicate={() => {
- handleDuplicateRobot(row.id, row.name, row.params || []);
- }}
- />
-
- );
+ deleteRecordingFromStorage(row.id).then((result: boolean) => {
+ if (result) {
+ setRows([]);
+ notify('success', 'Recording deleted successfully');
+ fetchRecordings();
+ }
+ })
+ }}
+ handleDuplicate={() => {
+ handleDuplicateRobot(row.id, row.name, row.params || []);
+ }}
+ />
+
+ );
case 'settings':
return (
@@ -417,7 +407,7 @@ const OptionsButton = ({ handleEdit, handleDelete, handleDuplicate }: OptionsBut
size="small"
onClick={handleClick}
>
-
+