feat: add workflow run result page
parent
8afd983d98
commit
53a7be496d
@ -0,0 +1,10 @@
|
||||
import React from 'react'
|
||||
import Main from '@/app/components/result'
|
||||
|
||||
const Result = async ({ params }: { params: { appid: string, runId: string } }) => {
|
||||
return (
|
||||
<Main runID={params.runId}/>
|
||||
)
|
||||
}
|
||||
|
||||
export default Result
|
||||
@ -0,0 +1,21 @@
|
||||
'use client'
|
||||
import type { FC } from 'react'
|
||||
import { useTranslation } from 'react-i18next'
|
||||
import Run from '@/app/components/workflow/run'
|
||||
|
||||
type ResultDetail = {
|
||||
runID: string
|
||||
}
|
||||
|
||||
const Result: FC<ResultDetail> = ({ runID }) => {
|
||||
const { t } = useTranslation()
|
||||
|
||||
return (
|
||||
<div className='h-full grow relative flex flex-col pt-3'>
|
||||
<h1 className='shrink-0 px-4 py-1 text-text-primary system-xl-semibold'>{t('appLog.runDetail.workflowTitle')}</h1>
|
||||
<Run runID={runID} activeTab="TRACING"/>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
export default Result
|
||||
Loading…
Reference in New Issue