diff --git a/packages/console/package.json b/packages/console/package.json index 3c19f9cff..dc9306430 100644 --- a/packages/console/package.json +++ b/packages/console/package.json @@ -1,6 +1,6 @@ { "name": "@flyteorg/console", - "version": "0.0.34", + "version": "0.0.35", "description": "Flyteconsole main app module", "main": "./dist/index.js", "module": "./lib/index.js", diff --git a/packages/console/src/components/Executions/TaskExecutionsList/MapTaskExecutionDetails.tsx b/packages/console/src/components/Executions/TaskExecutionsList/MapTaskExecutionDetails.tsx index 0c768567c..0acffa816 100644 --- a/packages/console/src/components/Executions/TaskExecutionsList/MapTaskExecutionDetails.tsx +++ b/packages/console/src/components/Executions/TaskExecutionsList/MapTaskExecutionDetails.tsx @@ -28,7 +28,6 @@ export const MapTaskExecutionDetails: React.FC< {filteredResources.map(item => { const attempt = item.retryAttempt ?? 0; const headerText = formatRetryAttempt(attempt); - return (
); diff --git a/packages/console/src/components/Executions/TaskExecutionsList/TaskExecutionLogsCard.tsx b/packages/console/src/components/Executions/TaskExecutionsList/TaskExecutionLogsCard.tsx index 76f7b881d..34dbde0d9 100644 --- a/packages/console/src/components/Executions/TaskExecutionsList/TaskExecutionLogsCard.tsx +++ b/packages/console/src/components/Executions/TaskExecutionsList/TaskExecutionLogsCard.tsx @@ -40,6 +40,7 @@ interface TaskExecutionLogsCardProps { headerText: string; phase: TaskExecutionPhase; logs: Core.ITaskLog[]; + mappedItem?: any; } export const TaskExecutionLogsCard: React.FC< diff --git a/packages/console/src/components/Executions/contexts.ts b/packages/console/src/components/Executions/contexts.ts index 3a1afce63..9a8ea77e3 100644 --- a/packages/console/src/components/Executions/contexts.ts +++ b/packages/console/src/components/Executions/contexts.ts @@ -3,8 +3,8 @@ import { Execution, ExecutionData, LogsByPhase, + MapTaskExecution, NodeExecution, - TaskExecution, } from 'models/Execution/types'; import { dNode } from 'models/Graph/types'; import { createContext } from 'react'; @@ -13,7 +13,7 @@ export interface ExecutionContextData { execution: Execution; } -export type WorkflowTaskExecution = TaskExecution & { +export type WorkflowTaskExecution = MapTaskExecution & { task?: Task; taskData?: ExecutionData; }; diff --git a/packages/console/src/models/Task/index.ts b/packages/console/src/models/Task/index.ts index 0b9aab677..7c072126e 100644 --- a/packages/console/src/models/Task/index.ts +++ b/packages/console/src/models/Task/index.ts @@ -1,3 +1,4 @@ export * from './constants'; export * from './types'; export * from './api'; +export * from './utils'; diff --git a/website/package.json b/website/package.json index 07d0e6796..f9a78a0c3 100644 --- a/website/package.json +++ b/website/package.json @@ -37,7 +37,7 @@ }, "dependencies": { "@flyteorg/common": "^0.0.4", - "@flyteorg/console": "^0.0.34", + "@flyteorg/console": "^0.0.35", "long": "^4.0.0", "protobufjs": "~6.11.3", "react-ga4": "^1.4.1", diff --git a/yarn.lock b/yarn.lock index eb7680f40..b14d1c56c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2020,7 +2020,7 @@ __metadata: resolution: "@flyteconsole/client-app@workspace:website" dependencies: "@flyteorg/common": ^0.0.4 - "@flyteorg/console": ^0.0.34 + "@flyteorg/console": ^0.0.35 "@types/long": ^3.0.32 long: ^4.0.0 protobufjs: ~6.11.3 @@ -2059,7 +2059,7 @@ __metadata: languageName: unknown linkType: soft -"@flyteorg/console@^0.0.34, @flyteorg/console@workspace:packages/console": +"@flyteorg/console@^0.0.35, @flyteorg/console@workspace:packages/console": version: 0.0.0-use.local resolution: "@flyteorg/console@workspace:packages/console" dependencies: