From 62b9bbb2d1597393344dd2129187e142f8618215 Mon Sep 17 00:00:00 2001 From: Karishma Shukla Date: Fri, 27 Jun 2025 17:04:31 +0530 Subject: [PATCH 1/9] fix: inherit bg in dark mode --- src/components/dashboard/MainMenu.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/dashboard/MainMenu.tsx b/src/components/dashboard/MainMenu.tsx index a81c88fc..c6170100 100644 --- a/src/components/dashboard/MainMenu.tsx +++ b/src/components/dashboard/MainMenu.tsx @@ -40,7 +40,7 @@ export const MainMenu = ({ value = 'robots', handleChangeContent }: MainMenuProp color: theme.palette.mode === 'light' ? '#6C6C6C' : 'inherit', '&:hover': { color: theme.palette.mode === 'light' ? '#6C6C6C' : 'inherit', - backgroundColor: theme.palette.mode === 'light' ? '#f5f5f5' : 'rgba(255, 255, 255, 0.08)', + backgroundColor: theme.palette.mode === 'light' ? '#f5f5f5' : 'inherit', }, }; From c25c4cea0ff5ecc429163de3264316a46aaa5cdf Mon Sep 17 00:00:00 2001 From: Karishma Shukla Date: Fri, 27 Jun 2025 17:35:15 +0530 Subject: [PATCH 2/9] feat: remove toggle color on hover --- src/components/dashboard/NavBar.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/dashboard/NavBar.tsx b/src/components/dashboard/NavBar.tsx index 58a9aaf3..db9bf987 100644 --- a/src/components/dashboard/NavBar.tsx +++ b/src/components/dashboard/NavBar.tsx @@ -164,7 +164,7 @@ export const NavBar: React.FC = ({ sx={{ color: darkMode ? '#ffffff' : '#0000008A', '&:hover': { - color: '#ff00c3' + } }} > @@ -595,4 +595,4 @@ const NavBarRight = styled.div` align-items: center; justify-content: flex-end; margin-left: auto; -`; \ No newline at end of file +`; From 22c841e79376373632f87d8bd60dd7801503f67c Mon Sep 17 00:00:00 2001 From: Karishma Shukla Date: Fri, 27 Jun 2025 17:35:36 +0530 Subject: [PATCH 3/9] feat: inherit background on toggle --- src/components/dashboard/NavBar.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/dashboard/NavBar.tsx b/src/components/dashboard/NavBar.tsx index db9bf987..eb91275e 100644 --- a/src/components/dashboard/NavBar.tsx +++ b/src/components/dashboard/NavBar.tsx @@ -164,7 +164,7 @@ export const NavBar: React.FC = ({ sx={{ color: darkMode ? '#ffffff' : '#0000008A', '&:hover': { - + background: 'inherit' } }} > From 0b8a03e0bc7bca1e3404635f9029c841ae4c6676 Mon Sep 17 00:00:00 2001 From: Karishma Shukla Date: Fri, 27 Jun 2025 17:36:26 +0530 Subject: [PATCH 4/9] fix: inherit background on hover --- src/components/dashboard/NavBar.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/dashboard/NavBar.tsx b/src/components/dashboard/NavBar.tsx index eb91275e..1f36879e 100644 --- a/src/components/dashboard/NavBar.tsx +++ b/src/components/dashboard/NavBar.tsx @@ -365,6 +365,9 @@ export const NavBar: React.FC = ({ borderRadius: '5px', padding: '8px', marginRight: '10px', + '&:hover': { + background: 'inherit' + } }}> {user.email} From 859be3f80f1ef78ef6c8b7ead2ef1ed3cf75ab65 Mon Sep 17 00:00:00 2001 From: Karishma Shukla Date: Mon, 30 Jun 2025 14:52:02 +0530 Subject: [PATCH 5/9] fix: simplify dom render + use minimal css for iframe --- .../recorder/DOMBrowserRenderer.tsx | 112 ++++-------------- 1 file changed, 25 insertions(+), 87 deletions(-) diff --git a/src/components/recorder/DOMBrowserRenderer.tsx b/src/components/recorder/DOMBrowserRenderer.tsx index a7cc2d26..a297592f 100644 --- a/src/components/recorder/DOMBrowserRenderer.tsx +++ b/src/components/recorder/DOMBrowserRenderer.tsx @@ -789,97 +789,35 @@ export const DOMBrowserRenderer: React.FC = ({ let rebuiltHTML = tempDoc.documentElement.outerHTML; rebuiltHTML = "\n" + rebuiltHTML; + + const minimalCSS = ` + + `; - const additionalCSS = []; - - if (snapshotData.resources.fonts?.length > 0) { - const fontCSS = snapshotData.resources.fonts - .map((font) => { - const format = font.format || "woff2"; - return ` - @font-face { - font-family: 'ProxiedFont-${ - font.url.split("/").pop()?.split(".")[0] || - "unknown" - }'; - src: url("${font.dataUrl}") format("${format}"); - font-display: swap; - } - `; - }) - .join("\n"); - additionalCSS.push(fontCSS); - } - - if (snapshotData.resources.stylesheets?.length > 0) { - const externalCSS = snapshotData.resources.stylesheets - .map((stylesheet) => stylesheet.content) - .join("\n\n"); - additionalCSS.push(externalCSS); - } - - const enhancedCSS = ` - /* rrweb rebuilt content styles */ - html, body { - margin: 0 !important; - padding: 8px !important; - font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif !important; - background: white !important; - overflow-x: hidden !important; - } - - html::-webkit-scrollbar, - body::-webkit-scrollbar { - display: none !important; - width: 0 !important; - height: 0 !important; - background: transparent !important; - } - - /* Hide scrollbars for all elements */ - *::-webkit-scrollbar { - display: none !important; - width: 0 !important; - height: 0 !important; - background: transparent !important; - } - - * { - scrollbar-width: none !important; /* Firefox */ - -ms-overflow-style: none !important; /* Internet Explorer 10+ */ - } - - img { - max-width: 100% !important; - height: auto !important; - } - - /* Make everything interactive */ - * { - cursor: "pointer" !important; - } - - /* Additional CSS from resources */ - ${additionalCSS.join("\n\n")} - `; - - const headTagRegex = /]*>/i; - const cssInjection = ` - - - - - `; - - if (headTagRegex.test(rebuiltHTML)) { + if (rebuiltHTML.includes("")) { rebuiltHTML = rebuiltHTML.replace( - headTagRegex, - `${cssInjection}` + "", + `${minimalCSS}` ); - } else { + } else if (rebuiltHTML.includes("")) { rebuiltHTML = rebuiltHTML.replace( - /]*>/i, - `${cssInjection}` + "", + `${minimalCSS}` ); } From 9991c1d392e02b2c60988ff06ec910947172af0b Mon Sep 17 00:00:00 2001 From: Rohit Date: Mon, 30 Jun 2025 22:07:31 +0530 Subject: [PATCH 6/9] feat: add mcp integration option --- src/components/integration/IntegrationSettings.tsx | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/components/integration/IntegrationSettings.tsx b/src/components/integration/IntegrationSettings.tsx index 17f0ec72..da48f769 100644 --- a/src/components/integration/IntegrationSettings.tsx +++ b/src/components/integration/IntegrationSettings.tsx @@ -730,6 +730,17 @@ export const IntegrationSettingsModal = ({ Webhook Webhooks + + From ad687e525ad9e35a2c58119323217e1f5f2fd0ee Mon Sep 17 00:00:00 2001 From: Rohit Date: Mon, 30 Jun 2025 22:08:11 +0530 Subject: [PATCH 7/9] feat: add mcp logo --- public/svg/mcp.svg | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 public/svg/mcp.svg diff --git a/public/svg/mcp.svg b/public/svg/mcp.svg new file mode 100644 index 00000000..979efde5 --- /dev/null +++ b/public/svg/mcp.svg @@ -0,0 +1,15 @@ + + + + + + + + + + ModelContextProtocol + + + + + \ No newline at end of file From 53758cd18a30f1e422b9002778f70e682e6cd24f Mon Sep 17 00:00:00 2001 From: Karishma Shukla Date: Tue, 1 Jul 2025 00:11:50 +0530 Subject: [PATCH 8/9] feat: add "noopener,noreferrer" --- src/components/integration/IntegrationSettings.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/integration/IntegrationSettings.tsx b/src/components/integration/IntegrationSettings.tsx index da48f769..cac97171 100644 --- a/src/components/integration/IntegrationSettings.tsx +++ b/src/components/integration/IntegrationSettings.tsx @@ -734,7 +734,7 @@ export const IntegrationSettingsModal = ({