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:
@@ -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 (
|
||||
|
||||
Reference in New Issue
Block a user