통합 로그 피드백 수정
This commit is contained in:
@@ -78,6 +78,7 @@ const TabItemBase = ({
|
||||
contextName: LOG_CONTEXT_NAME.GNB,
|
||||
messageId: LOG_MESSAGE_ID.GNB,
|
||||
buttonTitle: title,
|
||||
buttonId: `GNB_CLICK_${title.toUpperCase().replace(" ", "_")}`,
|
||||
})
|
||||
);
|
||||
}
|
||||
|
||||
@@ -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(" ", "_")}`,
|
||||
})
|
||||
);
|
||||
});
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user