Merge pull request #974 from getmaxun/auto-detect-ui

feat: auto detect pagination ui
This commit is contained in:
Karishma Shukla
2026-02-15 02:22:28 +05:30
committed by GitHub

View File

@@ -28,7 +28,7 @@ const fetchWorkflow = (id: string, callback: (response: WorkflowFile) => void) =
throw new Error("No workflow found");
}
}
).catch((error) => { console.log(`Failed to fetch workflow:`,error.message) })
).catch((error) => { console.log(`Failed to fetch workflow:`, error.message) })
};
interface RightSidePanelProps {
@@ -920,14 +920,14 @@ export const RightSidePanel: React.FC<RightSidePanelProps> = ({ onFinishCapture
p: 2,
mb: 1,
borderRadius: '8px',
backgroundColor: isDarkMode ? '#1a3a1a' : '#e8f5e9',
border: `1px solid ${isDarkMode ? '#2e7d32' : '#4caf50'}`,
color: '#1E2124',
backgroundColor: isDarkMode ? '#f4f6f4' : '#f4f6f4',
border: `1px solid ${isDarkMode ? '#f4f6f4' : '#f4f6f4'}`,
}}
>
<Typography
variant="body2"
sx={{
color: isDarkMode ? '#81c784' : '#2e7d32',
fontWeight: 'bold',
mb: 0.5
}}
@@ -943,7 +943,6 @@ export const RightSidePanel: React.FC<RightSidePanelProps> = ({ onFinishCapture
<Typography
variant="caption"
sx={{
color: isDarkMode ? '#a5d6a7' : '#388e3c',
display: 'block',
mb: 1
}}
@@ -1008,11 +1007,11 @@ export const RightSidePanel: React.FC<RightSidePanelProps> = ({ onFinishCapture
}
}}
sx={{
color: isDarkMode ? '#81c784' : '#2e7d32',
borderColor: isDarkMode ? '#81c784' : '#2e7d32',
color: '#ff00c3 !important',
borderColor: '#ff00c3 !important',
'&:hover': {
borderColor: isDarkMode ? '#a5d6a7' : '#4caf50',
backgroundColor: isDarkMode ? '#1a3a1a' : '#f1f8f4',
borderColor: '#ff00c3 !important',
backgroundColor: '#f4f6f4 !important',
}
}}
>