@@ -367,11 +367,14 @@ export class CircularHeatmapComponent implements OnInit {
367367 let teamGroup = chip . value . trim ( ) ;
368368 if ( ! chip . selected ) {
369369 chip . toggleSelected ( ) ;
370+ console . log ( `${ this . perfNow ( ) } : Heat: Chip flip Group '${ teamGroup } : ${ chip . selected } ` ) ;
370371
371372 Object . keys ( this . filtersTeams ) . forEach ( key => {
372373 this . filtersTeams [ key ] = this . dataStore ?. meta ?. teamGroups [ teamGroup ] ?. includes ( key ) || false ;
373374 } ) ;
374375 this . hasTeamsFilter = Object . values ( this . filtersTeams ) . some ( v => v === true ) ;
376+ } else {
377+ console . log ( `${ this . perfNow ( ) } : Heat: Chip flip Group '${ teamGroup } : already on` ) ;
375378 }
376379 }
377380
@@ -383,6 +386,7 @@ export class CircularHeatmapComponent implements OnInit {
383386 toggleTeamFilter ( chip : MatChip ) {
384387 chip . toggleSelected ( ) ;
385388 this . filtersTeams [ chip . value . trim ( ) ] = chip . selected ;
389+ console . log ( `${ this . perfNow ( ) } : Heat: Chip flip Team '${ chip . value } : ${ chip . selected } ` ) ;
386390
387391 this . hasTeamsFilter = Object . values ( this . filtersTeams ) . some ( v => v === true ) ;
388392
@@ -839,14 +843,15 @@ export class CircularHeatmapComponent implements OnInit {
839843 }
840844 }
841845 onPanelOpened ( activity : any ) {
842- console . log ( ' Panel opened' , activity ) ;
846+ console . log ( ` ${ this . perfNow ( ) } : Heat: Card Panel opened: ' ${ activity . name } '` ) ;
843847 }
844848 onPanelClosed ( activity : any ) {
845- console . log ( ' Panel closed' , activity ) ;
849+ console . log ( ` ${ this . perfNow ( ) } : Heat: Card Panel closed: ' ${ activity . name } '` ) ;
846850 }
847851
848852 openActivityDetails ( dimension : string , activityName : string ) {
849853 // Find the activity in the selected sector
854+ console . log ( `${ this . perfNow ( ) } : Heat: Open Overlay: '${ activityName } '` ) ;
850855 if ( ! this . showActivityCard || ! this . showActivityCard . activities ) {
851856 this . old_activityDetails = null ;
852857 this . showOverlay = true ;
@@ -878,6 +883,7 @@ export class CircularHeatmapComponent implements OnInit {
878883
879884 closeOverlay ( ) {
880885 this . showOverlay = false ;
886+ console . log ( `${ this . perfNow ( ) } : Heat: Close Overlay: '${ this . old_activityDetails . name } '` ) ;
881887 }
882888
883889 toggleFilters ( ) {
0 commit comments