feat(knowledge): add overview page for knowledge base logs

- Implement new overview page to display file and dataset processing logs
This commit is contained in:
2025-11-04 15:32:55 +08:00
parent 74c4f798a5
commit 37dcab1597
12 changed files with 397 additions and 8 deletions

View File

@@ -4,18 +4,20 @@ import {
Dashboard as DashboardIcon,
Search as TestIcon,
Settings as ConfigIcon,
ListAlt as OverviewIcon,
} from '@mui/icons-material';
import { useTranslation } from 'react-i18next';
interface FloatingActionButtonsProps {
onTestClick: () => void;
onConfigClick: () => void;
onOverviewClick: () => void;
}
const FloatingActionButtons: React.FC<FloatingActionButtonsProps> = ({
onTestClick,
onConfigClick,
onOverviewClick,
}) => {
const { t } = useTranslation();
@@ -30,6 +32,11 @@ const FloatingActionButtons: React.FC<FloatingActionButtonsProps> = ({
name: t('knowledge.configSettings'),
onClick: onConfigClick,
},
{
icon: <OverviewIcon />,
name: t('knowledgeDetails.overview'),
onClick: onOverviewClick,
},
];
return (