mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
feat: hide filters button and hide testing history (#149)
* feat: hide testing history * feat: hide filters button
This commit is contained in:
@ -1,16 +1,5 @@
|
|||||||
import SimilaritySlider from '@/components/similarity-slider';
|
import SimilaritySlider from '@/components/similarity-slider';
|
||||||
import { DeleteOutlined, HistoryOutlined } from '@ant-design/icons';
|
import { Button, Card, Divider, Flex, Form, Input, Slider, Tag } from 'antd';
|
||||||
import {
|
|
||||||
Button,
|
|
||||||
Card,
|
|
||||||
Divider,
|
|
||||||
Flex,
|
|
||||||
Form,
|
|
||||||
Input,
|
|
||||||
Slider,
|
|
||||||
Space,
|
|
||||||
Tag,
|
|
||||||
} from 'antd';
|
|
||||||
import { FormInstance } from 'antd/lib';
|
import { FormInstance } from 'antd/lib';
|
||||||
|
|
||||||
import styles from './index.less';
|
import styles from './index.less';
|
||||||
@ -83,7 +72,7 @@ const TestingControl = ({ form, handleTesting }: IProps) => {
|
|||||||
</Card>
|
</Card>
|
||||||
</Form>
|
</Form>
|
||||||
</section>
|
</section>
|
||||||
<section>
|
{/* <section>
|
||||||
<div className={styles.historyTitle}>
|
<div className={styles.historyTitle}>
|
||||||
<Space size={'middle'}>
|
<Space size={'middle'}>
|
||||||
<HistoryOutlined className={styles.historyIcon} />
|
<HistoryOutlined className={styles.historyIcon} />
|
||||||
@ -111,7 +100,7 @@ const TestingControl = ({ form, handleTesting }: IProps) => {
|
|||||||
</Card>
|
</Card>
|
||||||
))}
|
))}
|
||||||
</Space>
|
</Space>
|
||||||
</section>
|
</section> */}
|
||||||
</section>
|
</section>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|||||||
@ -1,4 +1,3 @@
|
|||||||
import { ReactComponent as FilterIcon } from '@/assets/filter.svg';
|
|
||||||
import ModalManager from '@/components/modal-manager';
|
import ModalManager from '@/components/modal-manager';
|
||||||
import { useFetchKnowledgeList } from '@/hooks/knowledgeHook';
|
import { useFetchKnowledgeList } from '@/hooks/knowledgeHook';
|
||||||
import { useSelectUserInfo } from '@/hooks/userSettingHook';
|
import { useSelectUserInfo } from '@/hooks/userSettingHook';
|
||||||
@ -25,9 +24,9 @@ const Knowledge = () => {
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<Space size={'large'}>
|
<Space size={'large'}>
|
||||||
<Button icon={<FilterIcon />} className={styles.filterButton}>
|
{/* <Button icon={<FilterIcon />} className={styles.filterButton}>
|
||||||
Filters
|
Filters
|
||||||
</Button>
|
</Button> */}
|
||||||
<ModalManager>
|
<ModalManager>
|
||||||
{({ visible, hideModal, showModal }) => (
|
{({ visible, hideModal, showModal }) => (
|
||||||
<>
|
<>
|
||||||
|
|||||||
Reference in New Issue
Block a user