feat: annotation management frontend (#1764)

This commit is contained in:
Joel
2023-12-18 15:41:24 +08:00
committed by GitHub
parent 96d2de2258
commit 65fd4b39ce
122 changed files with 4718 additions and 214 deletions

View File

@@ -0,0 +1,17 @@
import React from 'react'
import Main from '@/app/components/app/log-annotation'
import { PageType } from '@/app/components/app/configuration/toolbox/annotation/type'
export type IProps = {
params: { appId: string }
}
const Logs = async ({
params: { appId },
}: IProps) => {
return (
<Main pageType={PageType.annotation} appId={appId} />
)
}
export default Logs

View File

@@ -1,5 +1,6 @@
import React from 'react'
import Main from '@/app/components/app/log'
import Main from '@/app/components/app/log-annotation'
import { PageType } from '@/app/components/app/configuration/toolbox/annotation/type'
export type IProps = {
params: { appId: string }
@@ -9,7 +10,7 @@ const Logs = async ({
params: { appId },
}: IProps) => {
return (
<Main appId={appId} />
<Main pageType={PageType.log} appId={appId} />
)
}