@@ -598,7 +598,8 @@ export function RemixUiTopbar() {
598598 className = { `codicon codicon-layout-sidebar-left${ leftPanelHidden ? '-off' : '' } fs-5` }
599599 data-id = "toggleLeftSidePanelIcon"
600600 onClick = { ( ) => {
601- trackMatomoEvent ( { category : 'topbar' , action : 'leftSidePanel' , name : 'toggleIconClicked' , isClick : true } )
601+ if ( leftPanelHidden ) trackMatomoEvent ( { category : 'topbar' , action : 'leftSidePanel' , name : 'showLeftSidePanelClicked' , isClick : true } )
602+ else trackMatomoEvent ( { category : 'topbar' , action : 'leftSidePanel' , name : 'hideLeftSidePanelClicked' , isClick : true } )
602603 plugin . call ( 'sidePanel' , 'togglePanel' )
603604 }
604605 }
@@ -609,7 +610,8 @@ export function RemixUiTopbar() {
609610 className = { `codicon codicon-layout-panel${ bottomPanelHidden ? '-off' : '' } fs-5` }
610611 data-id = "toggleBottomPanelIcon"
611612 onClick = { ( ) => {
612- trackMatomoEvent ( { category : 'topbar' , action : 'terminalPanel' , name : 'toggleIconClicked' , isClick : true } )
613+ if ( bottomPanelHidden ) trackMatomoEvent ( { category : 'topbar' , action : 'terminalPanel' , name : 'showTerminalPanelClicked' , isClick : true } )
614+ else trackMatomoEvent ( { category : 'topbar' , action : 'terminalPanel' , name : 'hideTerminalPanelClicked' , isClick : true } )
613615 plugin . call ( 'terminal' , 'togglePanel' )
614616 }
615617 }
@@ -620,7 +622,8 @@ export function RemixUiTopbar() {
620622 className = { `codicon codicon-layout-sidebar-right${ rightPanelHidden ? '-off' : '' } fs-5` }
621623 data-id = "toggleRightSidePanelIcon"
622624 onClick = { ( ) => {
623- trackMatomoEvent ( { category : 'topbar' , action : 'rightSidePanel' , name : 'toggleIconClicked' , isClick : true } )
625+ if ( rightPanelHidden ) trackMatomoEvent ( { category : 'topbar' , action : 'rightSidePanel' , name : 'showRightSidePanelClicked' , isClick : true } )
626+ else trackMatomoEvent ( { category : 'topbar' , action : 'rightSidePanel' , name : 'hideRightSidePanelClicked' , isClick : true } )
624627 plugin . call ( 'rightSidePanel' , 'togglePanel' )
625628 }
626629 }
0 commit comments