Skip to content

Commit

Permalink
Enable Run Logs tab
Browse files Browse the repository at this point in the history
  • Loading branch information
dsuhinin authored Jun 7, 2024
1 parent e3d2df1 commit 8943fd8
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/src/pages/RunDetail/RunDetail.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import React from 'react';
import _ from 'lodash-es';
import classNames from 'classnames';
import moment from 'moment';
import {
Expand Down Expand Up @@ -56,6 +57,9 @@ const RunDetailParamsTab = React.lazy(
() =>
import(/* webpackChunkName: "RunDetailParamsTab" */ './RunDetailParamsTab'),
);
const RunLogsTab = React.lazy(
() => import(/* webpackChunkName: "RunDetailParamsTab" */ './RunLogsTab'),
);
const RunDetailSettingsTab = React.lazy(
() =>
import(
Expand All @@ -75,6 +79,7 @@ const RunOverviewTab = React.lazy(
const tabs: Record<string, string> = {
overview: 'Overview',
run_parameters: 'Run Params',
logs: 'Logs',
metrics: 'Metrics',
system: 'System',
settings: 'Settings',
Expand Down Expand Up @@ -126,6 +131,15 @@ function RunDetail(): React.FunctionComponentElement<React.ReactNode> {
isRunInfoLoading={runData?.isRunInfoLoading}
/>
),
logs: (
<RunLogsTab
runHash={runHash}
runLogs={runData?.runLogs}
inProgress={_.isNil(runData?.runInfo?.end_time)}
updatedLogsCount={runData?.updatedLogsCount}
isRunLogsLoading={runData?.isRunLogsLoading}
/>
),
metrics: (
<RunDetailMetricsAndSystemTab
runHash={runHash}
Expand Down

0 comments on commit 8943fd8

Please sign in to comment.