From 259012407bed843d63d257aaaab6c1de3202531e Mon Sep 17 00:00:00 2001 From: karishmas6 Date: Sun, 1 Sep 2024 01:12:03 +0530 Subject: [PATCH] feat: emit socket to start pagination selection via UI --- src/components/organisms/RightSidePanel.tsx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/components/organisms/RightSidePanel.tsx b/src/components/organisms/RightSidePanel.tsx index e858f10c..5cdbb5f4 100644 --- a/src/components/organisms/RightSidePanel.tsx +++ b/src/components/organisms/RightSidePanel.tsx @@ -156,6 +156,12 @@ export const RightSidePanel = () => { } }; + const handleStartPaginationSelection = () => { + // Start the process of selecting the pagination element + socket?.emit('action', { action: 'startPaginationSelection' }); + }; + + const captureScreenshot = (fullPage: boolean) => { const screenshotSettings: ScreenshotSettings = { fullPage,