Skip to content
This repository was archived by the owner on Apr 18, 2024. It is now read-only.

Commit 64f9492

Browse files
authored
fix: LSDV-5120: Confidence score icon is being shown always (#1380)
fix: LSDV-5120: Confidence score icon is being showed always Co-authored-by: juliosgarbi <[email protected]>
1 parent 9969fa2 commit 64f9492

File tree

2 files changed

+15
-2
lines changed

2 files changed

+15
-2
lines changed

src/components/SidePanels/OutlinerPanel/OutlinerTree.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { Tooltip } from '../../../common/Tooltip/Tooltip';
99
import Registry from '../../../core/Registry';
1010
import { PER_REGION_MODES } from '../../../mixins/PerRegionModes';
1111
import { Block, cn, Elem } from '../../../utils/bem';
12-
import { FF_DEV_2755, isFF } from '../../../utils/feature-flags';
12+
import { FF_DEV_2755, FF_DEV_3873, isFF } from '../../../utils/feature-flags';
1313
import { flatten, isDefined, isMacOS } from '../../../utils/utilities';
1414
import { NodeIcon } from '../../Node/Node';
1515
import { LockButton } from '../Components/LockButton';
@@ -402,7 +402,7 @@ const RegionControls: FC<RegionControlsProps> = observer(({
402402
}, []);
403403

404404
return (
405-
<Elem name="controls" mod={{ withControls: hasControls }}>
405+
<Elem name="controls" mod={{ withControls: hasControls, newUI: isFF(FF_DEV_3873) }}>
406406
<Elem name="control" mod={{ type: 'score' }}>
407407
{isDefined(item?.score) && item.score.toFixed(2)}
408408
</Elem>

src/components/SidePanels/OutlinerPanel/TreeView.styl

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,19 @@
124124
justify-content center
125125
grid-template-columns repeat(5, 32px)
126126

127+
&_newUI
128+
display grid
129+
130+
.outliner-item__control_type_dirty
131+
display none
132+
133+
.outliner-item__control_type_lock
134+
display none
135+
136+
&:hover
137+
.outliner-item__control_type_lock
138+
display flex
139+
127140
&_withControls
128141
grid-template-columns repeat(6, 32px)
129142

0 commit comments

Comments
 (0)