통합 로그 피드백 수정

This commit is contained in:
opacity@t-win.kr
2025-08-08 10:57:41 +09:00
parent a9d775be01
commit 0525290989
3 changed files with 10 additions and 9 deletions

View File

@@ -78,6 +78,7 @@ const TabItemBase = ({
contextName: LOG_CONTEXT_NAME.GNB,
messageId: LOG_MESSAGE_ID.GNB,
buttonTitle: title,
buttonId: `GNB_CLICK_${title.toUpperCase().replace(" ", "_")}`,
})
);
}

View File

@@ -44,7 +44,7 @@ const TabItemBase = ({
const _onClick = useCallback(
(ev) => {
const subtitle = title.split("-")[0];
const buttonTitle = patncNm ? patncNm : subtitle;
clearPressedJob.current.start(() => {
if (itemId) {
setSelectedSubItemId(itemId);
@@ -62,7 +62,8 @@ const TabItemBase = ({
sendLogTotalRecommend({
contextName: LOG_CONTEXT_NAME.GNB,
messageId: LOG_MESSAGE_ID.GNB,
buttonTitle: patncNm ? patncNm : subtitle,
buttonTitle: buttonTitle,
buttonId: `GNB_CLICK_${buttonTitle.toUpperCase().replace(" ", "_")}`,
})
);
});

View File

@@ -1536,7 +1536,6 @@ const PlayerPanel = ({
return null;
}
return playListInfo && playListInfo[selectedIndex]?.showUrl;
}, [playListInfo, selectedIndex, broadcast]);
@@ -2045,8 +2044,8 @@ const PlayerPanel = ({
showType: isShowType,
player: isPlayer,
category: showDetailInfo[0].showCatNm,
contentId: showDetailInfo[0].showId,
contentTitle: showDetailInfo[0].showNm,
showId: showDetailInfo[0].showId,
showTitle: showDetailInfo[0].showNm,
partner: showDetailInfo[0].patncNm,
contextName: Config.LOG_CONTEXT_NAME.SHOW,
messageId: Config.LOG_MESSAGE_ID.SHOWVIEW,
@@ -2058,7 +2057,7 @@ const PlayerPanel = ({
showType: isShowType,
player: isPlayer,
category: currentItem.catNm,
contentId: currentItem.showId,
showId: currentItem.showId,
contentTitle: currentItem.showNm,
partner: currentItem.patncNm,
contextName: Config.LOG_CONTEXT_NAME.SHOW,
@@ -2089,7 +2088,7 @@ const PlayerPanel = ({
dispatch(sendLogTotalRecommend(params));
}
}
}, [isVODPaused, createLogParams]);
}, [isVODPaused, createLogParams, showDetailInfo]);
// 컴포넌트 언마운트 시에만 로그를 보냄
useEffect(() => {
@@ -2099,7 +2098,7 @@ const PlayerPanel = ({
dispatch(sendLogTotalRecommend(params));
}
};
}, [createLogParams, dispatch]);
}, [createLogParams, dispatch, showDetailInfo]);
return (
<TPanel