File tree Expand file tree Collapse file tree 2 files changed +14
-12
lines changed Expand file tree Collapse file tree 2 files changed +14
-12
lines changed Original file line number Diff line number Diff line change 1
1
import * as React from 'react' ;
2
2
import { useTranslation } from 'react-i18next' ;
3
+ import { Grid , GridItem } from '@patternfly/react-core' ;
3
4
import { Link } from 'react-router-dom-v5-compat' ;
4
5
import * as _ from 'lodash' ;
5
6
@@ -98,24 +99,23 @@ export const PodOverviewItem: React.FC<PodOverviewItemProps> = ({ pod }) => {
98
99
const { t } = useTranslation ( ) ;
99
100
const status = podPhase ( pod ) ;
100
101
return (
101
- < li className = "list-group-item container-fluid " >
102
- < div className = "row" >
103
- < span className = "col-xs-5" >
102
+ < li className = "list-group-item" >
103
+ < Grid hasGutter >
104
+ < GridItem span = { 5 } >
104
105
< ResourceLink kind = { pod . kind } name = { name } namespace = { namespace } />
105
- </ span >
106
- < span className = "col-xs-3" >
106
+ </ GridItem >
107
+ < GridItem span = { 3 } >
107
108
< StatusComponent status = { status } />
108
- </ span >
109
-
110
- < span className = "col-xs-1" >
109
+ </ GridItem >
110
+ < GridItem span = { 1 } >
111
111
< PodTraffic podName = { name } namespace = { namespace } tooltipFlag />
112
- </ span >
113
- < span className = "col-xs-3 text-right" >
112
+ </ GridItem >
113
+ < GridItem span = { 3 } >
114
114
< Link to = { `${ resourcePath ( pod . metadata . name , pod . metadata . namespace ) } /logs` } >
115
115
{ t ( 'public~View logs' ) }
116
116
</ Link >
117
- </ span >
118
- </ div >
117
+ </ GridItem >
118
+ </ Grid >
119
119
</ li >
120
120
) ;
121
121
} ;
Original file line number Diff line number Diff line change @@ -10,5 +10,7 @@ export const detectOpenShiftVersion = (setFeatureFlag: SetFeatureFlag) => {
10
10
const enableTopology = openshiftVersion
11
11
? new SemVer ( openshiftVersion ) . compare ( '4.18.99999999' ) >= 0
12
12
: false ; // Need to set this so nightly builds will work, eg: 4.19.0-0.nightly-2025-06-09-210043
13
+ console . log ( `GitOps: Detected OpenShift version = ${ openshiftVersion } ` ) ;
14
+ console . log ( `GitOps: Enable GitOps in Topology View = ${ enableTopology } ` ) ;
13
15
setFeatureFlag ( FLAG_GITOPS_ENABLE_TOPOLOGY , enableTopology ) ;
14
16
} ;
You can’t perform that action at this time.
0 commit comments