Merge branch 'develop' into snapshot-context
This commit is contained in:
@@ -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',
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
@@ -164,7 +164,7 @@ export const NavBar: React.FC<NavBarProps> = ({
|
||||
sx={{
|
||||
color: darkMode ? '#ffffff' : '#0000008A',
|
||||
'&:hover': {
|
||||
color: '#ff00c3'
|
||||
background: 'inherit'
|
||||
}
|
||||
}}
|
||||
>
|
||||
@@ -365,6 +365,9 @@ export const NavBar: React.FC<NavBarProps> = ({
|
||||
borderRadius: '5px',
|
||||
padding: '8px',
|
||||
marginRight: '10px',
|
||||
'&:hover': {
|
||||
background: 'inherit'
|
||||
}
|
||||
}}>
|
||||
<AccountCircle sx={{ marginRight: '5px' }} />
|
||||
<Typography variant="body1">{user.email}</Typography>
|
||||
@@ -595,4 +598,4 @@ const NavBarRight = styled.div`
|
||||
align-items: center;
|
||||
justify-content: flex-end;
|
||||
margin-left: auto;
|
||||
`;
|
||||
`;
|
||||
|
||||
@@ -730,6 +730,17 @@ export const IntegrationSettingsModal = ({
|
||||
<img src="/svg/webhook.svg" alt="Webhook" style={{ margin: "6px" }} />
|
||||
Webhooks
|
||||
</Button>
|
||||
|
||||
<Button
|
||||
variant="outlined"
|
||||
onClick={() => {
|
||||
window.open("https://docs.maxun.dev/mcp/setup", "_blank" "noopener,noreferrer");
|
||||
}}
|
||||
style={{ display: "flex", flexDirection: "column", alignItems: "center", background: 'white', color: '#ff00c3' }}
|
||||
>
|
||||
<img src="/svg/mcp.svg" alt="MCP" style={{ margin: "6px" }} />
|
||||
MCP
|
||||
</Button>
|
||||
</div>
|
||||
</div>
|
||||
</GenericModal>
|
||||
@@ -1190,4 +1201,4 @@ export const modalStyle = {
|
||||
padding: "20px",
|
||||
maxHeight: "90vh",
|
||||
overflow: "auto",
|
||||
};
|
||||
};
|
||||
|
||||
@@ -835,13 +835,13 @@ export const DOMBrowserRenderer: React.FC<RRWebDOMBrowserRendererProps> = ({
|
||||
|
||||
if (headTagRegex.test(rebuiltHTML)) {
|
||||
rebuiltHTML = rebuiltHTML.replace(
|
||||
headTagRegex,
|
||||
`<head>${cssInjection}`
|
||||
"<head>",
|
||||
`<head><base href="${snapshotData.baseUrl}">${minimalCSS}`
|
||||
);
|
||||
} else {
|
||||
} else if (rebuiltHTML.includes("<html>")) {
|
||||
rebuiltHTML = rebuiltHTML.replace(
|
||||
/<html[^>]*>/i,
|
||||
`<html><head>${cssInjection}</head>`
|
||||
"<html>",
|
||||
`<html><head><base href="${snapshotData.baseUrl}">${minimalCSS}</head>`
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user