Skip to content

Commit

Permalink
[RHOAIENG-7425]: Update Pipeline Group Labels and Positioning
Browse files Browse the repository at this point in the history
  • Loading branch information
jenny-s51 committed Jun 25, 2024
1 parent 1c5b791 commit 55107bf
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
8 changes: 4 additions & 4 deletions frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
"@patternfly/react-styles": "^5.3.1",
"@patternfly/react-table": "^5.3.3",
"@patternfly/react-tokens": "^5.3.1",
"@patternfly/react-topology": "^5.4.0-prerelease.9",
"@patternfly/react-topology": "^5.4.0-prerelease.10",
"@patternfly/react-virtualized-extension": "^5.1.0",
"@types/classnames": "^2.3.1",
"axios": "^1.6.4",
Expand Down
5 changes: 5 additions & 0 deletions frontend/src/concepts/topology/PipelineDefaultTaskGroup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ import {
NodeModel,
useHover,
PipelineNodeModel,
TaskGroupPillLabel,
LabelPosition,
} from '@patternfly/react-topology';
import { Flex, FlexItem, Popover, Stack, StackItem } from '@patternfly/react-core';
import { PipelineNodeModelExpanded, StandardTaskNodeData } from '~/concepts/topology/types';
Expand Down Expand Up @@ -57,9 +59,12 @@ const DefaultTaskGroupInner: React.FunctionComponent<PipelinesDefaultGroupInnerP
element={element}
collapsible
recreateLayoutOnCollapseChange
GroupLabelComponent={TaskGroupPillLabel}
selected={selected}
onSelect={onSelect}
hideDetailsAtMedium
centerLabelOnEdge
labelPosition={LabelPosition.top}
showStatusState
scaleNode={hover && detailsLevel !== ScaleDetailsLevel.high}
showLabelOnHover
Expand Down

0 comments on commit 55107bf

Please sign in to comment.