mirror of
https://github.com/labring/FastGPT.git
synced 2025-12-25 20:02:47 +00:00
limit custom param name width in http tools (#6125)
Some checks are pending
Build FastGPT images in Personal warehouse / get-vars (push) Waiting to run
Build FastGPT images in Personal warehouse / build-fastgpt-images (map[arch:amd64 runs-on:ubuntu-24.04]) (push) Blocked by required conditions
Build FastGPT images in Personal warehouse / build-fastgpt-images (map[arch:arm64 runs-on:ubuntu-24.04-arm]) (push) Blocked by required conditions
Build FastGPT images in Personal warehouse / release-fastgpt-images (push) Blocked by required conditions
Some checks are pending
Build FastGPT images in Personal warehouse / get-vars (push) Waiting to run
Build FastGPT images in Personal warehouse / build-fastgpt-images (map[arch:amd64 runs-on:ubuntu-24.04]) (push) Blocked by required conditions
Build FastGPT images in Personal warehouse / build-fastgpt-images (map[arch:arm64 runs-on:ubuntu-24.04-arm]) (push) Blocked by required conditions
Build FastGPT images in Personal warehouse / release-fastgpt-images (push) Blocked by required conditions
* limit custom param name width in http tools * scroll * cron log --------- Co-authored-by: archer <545436317@qq.com>
This commit is contained in:
parent
5631ec781e
commit
36821600a4
|
|
@ -11,8 +11,12 @@ export enum TrackEnum {
|
|||
clickOperationalAd = 'clickOperationalAd',
|
||||
closeOperationalAd = 'closeOperationalAd',
|
||||
teamChatQPM = 'teamChatQPM',
|
||||
|
||||
// Admin cron job tracks
|
||||
subscriptionDeleted = 'subscriptionDeleted',
|
||||
freeAccountCleanup = 'freeAccountCleanup',
|
||||
auditLogCleanup = 'auditLogCleanup',
|
||||
chatHistoryCleanup = 'chatHistoryCleanup',
|
||||
|
||||
// web tracks
|
||||
clientError = 'clientError'
|
||||
|
|
|
|||
|
|
@ -158,6 +158,8 @@ export const pushTrack = {
|
|||
}
|
||||
});
|
||||
},
|
||||
|
||||
// Admin cron job tracks
|
||||
subscriptionDeleted: (data: {
|
||||
teamId: string;
|
||||
subscriptionType: string;
|
||||
|
|
@ -185,5 +187,23 @@ export const pushTrack = {
|
|||
expiredTime: data.expiredTime
|
||||
}
|
||||
});
|
||||
},
|
||||
auditLogCleanup: (data: { teamId: string; retentionDays: number }) => {
|
||||
return createTrack({
|
||||
event: TrackEnum.auditLogCleanup,
|
||||
data: {
|
||||
teamId: data.teamId,
|
||||
retentionDays: data.retentionDays
|
||||
}
|
||||
});
|
||||
},
|
||||
chatHistoryCleanup: (data: { teamId: string; retentionDays: number }) => {
|
||||
return createTrack({
|
||||
event: TrackEnum.chatHistoryCleanup,
|
||||
data: {
|
||||
teamId: data.teamId,
|
||||
retentionDays: data.retentionDays
|
||||
}
|
||||
});
|
||||
}
|
||||
};
|
||||
|
|
|
|||
|
|
@ -649,7 +649,7 @@ const CustomParamsTable = ({
|
|||
borderBottom={'none'}
|
||||
bg={'white'}
|
||||
>
|
||||
<TableContainer overflowY={'visible'} overflowX={'unset'}>
|
||||
<TableContainer overflowY={'visible'} overflowX={'auto'}>
|
||||
<Table size={'sm'}>
|
||||
<Thead>
|
||||
<Tr bg={'myGray.50'} h={8}>
|
||||
|
|
@ -663,8 +663,10 @@ const CustomParamsTable = ({
|
|||
<Tbody>
|
||||
{list.map((item, index) => (
|
||||
<Tr key={index} h={8}>
|
||||
<Td px={2}>{item.key}</Td>
|
||||
<Td px={2} maxW={40} textOverflow={'ellipsis'} overflow={'hidden'}>
|
||||
<Td px={2} maxW={'250px'} textOverflow={'ellipsis'} overflow={'hidden'}>
|
||||
{item.key}
|
||||
</Td>
|
||||
<Td px={2} maxW={20} textOverflow={'ellipsis'} overflow={'hidden'}>
|
||||
{item.description}
|
||||
</Td>
|
||||
<Td px={2}>{item.type}</Td>
|
||||
|
|
|
|||
Loading…
Reference in New Issue