@@ -53,6 +53,8 @@ import { TriggerCard } from './EncodingShelfCard';
53
53
import ChevronLeftIcon from '@mui/icons-material/ChevronLeft' ;
54
54
import ChevronRightIcon from '@mui/icons-material/ChevronRight' ;
55
55
import CloudQueueIcon from '@mui/icons-material/CloudQueue' ;
56
+ import PrecisionManufacturingIcon from '@mui/icons-material/PrecisionManufacturing' ;
57
+
56
58
import { alpha } from '@mui/material/styles' ;
57
59
58
60
import { dfSelectors } from '../app/dfSlice' ;
@@ -348,10 +350,7 @@ let SingleThreadView: FC<{
348
350
349
351
let releventChartElements = relevantCharts . map ( ( ce , j ) =>
350
352
< Box key = { `relevant-chart-${ ce . chartId } ` }
351
- sx = { {
352
- display : 'flex' , padding : 0 , paddingBottom : j == relevantCharts . length - 1 ? 1 : 0.5 ,
353
- ...collapsedProps
354
- } } >
353
+ sx = { { display : 'flex' , padding : 0 , pb : j == relevantCharts . length - 1 ? 1 : 0.5 , ...collapsedProps } } >
355
354
{ buildChartCard ( ce , focusedChartId ) }
356
355
</ Box > )
357
356
@@ -494,15 +493,39 @@ let SingleThreadView: FC<{
494
493
</ Box >
495
494
< Box sx = { { flex : 1 , padding : '8px 0px' , minHeight : '8px' , ...chartElementProps } } >
496
495
{ releventChartElements }
496
+ { ( pendingSSEActions . some ( a => a . data ?. source_table_ids [ 0 ] == tableId ) ) &&
497
+ < Box sx = { {
498
+ py : 1 , display : 'flex' , alignItems : 'center' , justifyContent : 'center' , } } >
499
+ < Typography sx = { { mr : 1 , fontSize : '10px' , color : 'rgba(0,0,0,0.5)' } } >
500
+ agent is deriving data...
501
+ </ Typography >
502
+ < PrecisionManufacturingIcon sx = { {
503
+ fontSize : 16 ,
504
+ color : 'rgba(0,0,0,0.5)' ,
505
+ animation : 'spin 2s linear infinite' ,
506
+ '@keyframes spin' : {
507
+ '0%' : {
508
+ transform : 'scale(1)' ,
509
+ } ,
510
+ '25%' : {
511
+ transform : 'rotate(30deg) scale(1.5)' ,
512
+ } ,
513
+ '50%' : {
514
+ transform : 'scale(1)' ,
515
+ } ,
516
+ '75%' : {
517
+ transform : 'rotate(330deg) scale(1.5)' ,
518
+ } ,
519
+ '100%' : {
520
+ transform : 'rotate(360deg) scale(1)' ,
521
+ } ,
522
+ }
523
+ } } />
524
+ </ Box > }
497
525
</ Box >
498
- { pendingSSEActions . some ( a => a . data ?. source_table_ids [ 0 ] == tableId ) &&
499
- < Box sx = { { p : 2 , display : 'flex' , alignItems : 'center' , justifyContent : 'center' , height : '100%' , width : '100%' } } >
500
- < Typography sx = { { fontSize : '10px' , color : 'rgba(0,0,0,0.5)' } } >
501
- agent is deriving data...
502
- </ Typography >
503
- < CircularProgress size = { 16 } sx = { { ml : 1 , color : 'rgba(0,0,0,0.5)' } } />
504
- </ Box > }
505
526
</ Box > ,
527
+
528
+ ,
506
529
( i == tableIdList . length - 1 ) ?
507
530
< Box sx = { { marginLeft : "6px" , marginTop : '-10px' } } >
508
531
< PanoramaFishEyeIcon sx = { { fontSize : 5 } } />
0 commit comments