From 4f36f930764a8a842915f94518a731ac22c53385 Mon Sep 17 00:00:00 2001 From: karishmas6 Date: Sat, 22 Jun 2024 19:59:35 +0530 Subject: [PATCH] feat: enqueue links --- .../action-settings/enqueueLinks.tsx | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 src/components/molecules/action-settings/enqueueLinks.tsx diff --git a/src/components/molecules/action-settings/enqueueLinks.tsx b/src/components/molecules/action-settings/enqueueLinks.tsx new file mode 100644 index 00000000..9ccbd5c5 --- /dev/null +++ b/src/components/molecules/action-settings/enqueueLinks.tsx @@ -0,0 +1,32 @@ +import React, { forwardRef, useImperativeHandle } from 'react'; +import { Stack, TextField } from "@mui/material"; +import { WarningText } from "../../atoms/texts"; +import WarningIcon from "@mui/icons-material/Warning"; +import InfoIcon from "@mui/icons-material/Info"; + +export const EnqueueLinksSettings = forwardRef((props, ref) => { + const [settings, setSettings] = React.useState(''); + useImperativeHandle(ref, () => ({ + getSettings() { + return settings; + } + })); + + return ( + + setSettings(e.target.value)} + /> + + + Reads elements targeted by the selector and stores their links in a queue. + Those pages are then processed using the same workflow as the initial page + (in parallel if the maxConcurrency parameter is greater than 1). + + + ); +});