* fix: chat module link

* fix: url fetch check

* fix: import file ui

* feat: app logs

* perf: iframe icon

* imgs cdn

* perf: click range and pg
This commit is contained in:
Archer
2023-08-24 21:08:49 +08:00
committed by GitHub
parent 2b50dac0e7
commit 9415e22de9
30 changed files with 506 additions and 63 deletions

View File

@@ -132,7 +132,7 @@ const ChunkImport = ({ kbId }: { kbId: string }) => {
};
return (
<Box display={['block', 'flex']} h={['auto', '100%']}>
<Box display={['block', 'flex']} h={['auto', '100%']} overflow={'overlay'}>
<Flex
flexDirection={'column'}
flex={'1 0 0'}
@@ -152,7 +152,7 @@ const ChunkImport = ({ kbId }: { kbId: string }) => {
{!emptyFiles && (
<>
<Box py={4} px={2} maxH={'400px'} overflow={'auto'}>
<Box py={4} px={2} minH={['auto', '100px']} maxH={'400px'} overflow={'auto'}>
{files.map((item) => (
<Flex
key={item.id}

View File

@@ -77,7 +77,7 @@ const CsvImport = ({ kbId }: { kbId: string }) => {
maxW: '400px'
};
return (
<Box display={['block', 'flex']} h={['auto', '100%']}>
<Box display={['block', 'flex']} h={['auto', '100%']} overflow={'overlay'}>
<Flex
flexDirection={'column'}
flex={'1 0 0'}
@@ -100,7 +100,7 @@ const CsvImport = ({ kbId }: { kbId: string }) => {
{!emptyFiles && (
<>
<Box py={4} px={2} maxH={'400px'} overflow={'auto'}>
<Box py={4} minH={['auto', '100px']} px={2} maxH={'400px'} overflow={'auto'}>
{files.map((item) => (
<Flex
key={item.id}

View File

@@ -65,7 +65,7 @@ const ManualImport = ({ kbId }: { kbId: string }) => {
});
return (
<Box p={[4, 8]}>
<Box p={[4, 8]} h={'100%'} overflow={'overlay'}>
<Box display={'flex'} flexDirection={['column', 'row']}>
<Box flex={1} mr={[0, 4]} mb={[4, 0]} h={['50%', '100%']}>
<Box h={'30px'}>{'匹配的知识点'}</Box>

View File

@@ -123,7 +123,7 @@ const QAImport = ({ kbId }: { kbId: string }) => {
};
return (
<Box display={['block', 'flex']} h={['auto', '100%']}>
<Box display={['block', 'flex']} h={['auto', '100%']} overflow={'overlay'}>
<Flex
flexDirection={'column'}
flex={'1 0 0'}
@@ -143,7 +143,7 @@ const QAImport = ({ kbId }: { kbId: string }) => {
{!emptyFiles && (
<>
<Box py={4} px={2} maxH={'400px'} overflow={'auto'}>
<Box py={4} px={2} minH={['auto', '100px']} maxH={'400px'} overflow={'auto'}>
{files.map((item) => (
<Flex
key={item.id}