File tree Expand file tree Collapse file tree 5 files changed +219
-219
lines changed Expand file tree Collapse file tree 5 files changed +219
-219
lines changed Original file line number Diff line number Diff line change 5
5
EyeIcon ,
6
6
FlagIcon ,
7
7
MapPinIcon ,
8
+ ViewfinderCircleIcon ,
8
9
} from '@heroicons/react/24/outline' ;
9
10
/* eslint-disable @nx/enforce-module-boundaries */
10
11
// nx-ignore-next-line
@@ -113,7 +114,7 @@ function ProjectListItem({
113
114
true
114
115
) }
115
116
>
116
- < DocumentMagnifyingGlassIcon className = "h-5 w-5" />
117
+ < ViewfinderCircleIcon className = "h-5 w-5" />
117
118
</ Link >
118
119
119
120
< ExperimentalFeature >
Original file line number Diff line number Diff line change @@ -325,7 +325,7 @@ export function ProjectsSidebar(): JSX.Element {
325
325
type : 'enableCompositeGraph' ,
326
326
context : compositeParam === 'true' ? null : compositeParam ,
327
327
} ) ;
328
- } else if ( ! searchParams . has ( 'composite' ) ) {
328
+ } else if ( ! searchParams . has ( 'composite' ) && compositeEnabled ) {
329
329
projectGraphService . send ( { type : 'disableCompositeGraph' } ) ;
330
330
navigate ( routeConstructor ( '/projects' , true ) ) ;
331
331
}
Original file line number Diff line number Diff line change @@ -24,15 +24,14 @@ import { Tooltip } from '@nx/graph/legacy/tooltips';
24
24
25
25
import { getSystemTheme , Theme , ThemePanel } from '@nx/graph-internal/ui-theme' ;
26
26
import classNames from 'classnames' ;
27
- import { useEffect , useLayoutEffect , useState } from 'react' ;
27
+ import { useLayoutEffect , useState } from 'react' ;
28
28
import {
29
29
Outlet ,
30
30
useNavigate ,
31
31
useNavigation ,
32
32
useParams ,
33
33
useRouteLoaderData ,
34
34
} from 'react-router-dom' ;
35
- import { useSyncExternalStore } from 'use-sync-external-store/shim' ;
36
35
import { RankdirPanel } from './feature-projects/panels/rankdir-panel' ;
37
36
import { useCurrentPath } from './hooks/use-current-path' ;
38
37
import { getProjectGraphService } from './machines/get-services' ;
@@ -50,7 +49,7 @@ export function Shell(): JSX.Element {
50
49
graphService . lastPerformanceReport
51
50
) ;
52
51
53
- useEffect ( ( ) => {
52
+ useLayoutEffect ( ( ) => {
54
53
graphService . listen ( ( ) => {
55
54
setLastPerfReport ( graphService . lastPerformanceReport ) ;
56
55
} ) ;
Original file line number Diff line number Diff line change 339
339
"@markdoc/markdoc" : " 0.2.2" ,
340
340
"@monaco-editor/react" : " ^4.4.6" ,
341
341
"@napi-rs/canvas" : " ^0.1.52" ,
342
- "@nx/graph" : " 0.4.1 " ,
342
+ "@nx/graph" : " 0.4.2 " ,
343
343
"@react-spring/three" : " ^9.7.3" ,
344
344
"@react-three/drei" : " ^9.108.3" ,
345
345
"@react-three/fiber" : " ^8.16.8" ,
You can’t perform that action at this time.
0 commit comments