Skip to content

Commit

Permalink
Make k8 messages collapsible on node execution details panel (#868)
Browse files Browse the repository at this point in the history
makes k8 messages collapisble on node exectuion details panel

Signed-off-by: Jason Porter <jason@union.ai>
  • Loading branch information
jsonporter authored Apr 24, 2024
1 parent 7fff412 commit 364191e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ import { NoDataIsAvailable } from '../../Literals/LiteralMapViewer';
import { fetchWorkflow } from '../../../queries/workflowQueries';
import { PanelSection } from '../../common/PanelSection';
import { ReactJsonViewWrapper } from '../../common/ReactJsonView';
import { ScrollableMonospaceText } from '../../common/ScrollableMonospaceText';
import { dNode } from '../../../models/Graph/types';
import { NodeExecutionPhase, TaskExecutionPhase } from '../../../models/Execution/enums';
import { transformWorkflowToKeyedDag, getNodeNameFromDag } from '../../WorkflowGraph/utils';
Expand All @@ -46,6 +45,7 @@ import { useNodeExecutionsById } from '../contextProvider/NodeExecutionDetails/W
import { useNodeExecutionContext } from '../contextProvider/NodeExecutionDetails/NodeExecutionDetailsContextProvider';
import { useWorkflowNodeExecutionTaskExecutionsQuery } from '../../hooks/useWorkflowNodeExecutionTaskExecutionsQuery';
import { nodeExecutionRefreshIntervalMs } from '../constants';
import { ExpandableMonospaceText } from '../../common/ExpandableMonospaceText';

const NodeTypeLink = styled(RouterLink)(() => ({
fontWeight: 'normal',
Expand Down Expand Up @@ -250,7 +250,7 @@ const NodeExecutionStatus: FC<NodeExecutionStatusProps> = ({ nodeExecution, fron
</div>
{reasons?.length ? (
<div className="statusBody">
<ScrollableMonospaceText text={reasons.join('\n\n')} />
<ExpandableMonospaceText text={reasons.join('\n\n')} />
</div>
) : null}
</StatusContainer>
Expand Down

0 comments on commit 364191e

Please sign in to comment.