import { orderBy } from 'lodash'; import * as React from 'react'; import type { IExecution, IExecutionStage, ITask, ITaskStep } from '../../domain'; import { robotToHuman } from '../../presentation'; import { StatusGlyph } from '../../task/StatusGlyph'; import { displayableTasks } from '../../task/displayableTasks.filter'; import { duration } from '../../utils'; export interface IRunningTasksPopoverContentProps { executions: IExecution[]; tasks: ITask[]; } interface IItemDetailsProps { item: IExecutionStage | ITaskStep; transformName?: boolean; } export const ItemDetails = ({ item, transformName }: IItemDetailsProps) => (