File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed
rush-plugins/rush-serve-plugin Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change 10061006 stroke : var (--accent );
10071007 stroke-width : 2 ;
10081008 }
1009+ /* Dim edges that are not executing or failed to de-emphasize passive links */
1010+ .edge .dim {
1011+ opacity : 0.28 ;
1012+ filter : brightness (0.8 );
1013+ }
10091014 .edge .not-running {
10101015 opacity : 0.55 ;
10111016 }
@@ -3079,7 +3084,15 @@ <h3>Phases</h3>
30793084 rec . path . setAttribute ( 'stroke' , strokeColor ) ;
30803085 rec . path . setAttribute ( 'marker-end' , `url(#arrowhead-${ depStatus } )` ) ;
30813086 } else {
3087+ // Clear any explicit opacity set by filtering rules
30823088 rec . path . style . opacity = '' ;
3089+ // Dim edges that are not semantically important (not executing or failed)
3090+ const semImportant = depStatus === 'Executing' || depStatus === 'Failure' ;
3091+ if ( ! semImportant && ! rec . path . classList . contains ( 'highlight' ) ) {
3092+ rec . path . classList . add ( 'dim' ) ;
3093+ } else {
3094+ rec . path . classList . remove ( 'dim' ) ;
3095+ }
30833096 }
30843097 }
30853098 // Update phase pane after node/edge status refresh
You can’t perform that action at this time.
0 commit comments