show 시청화면 카테고리 내 정보 수집

This commit is contained in:
Dev TWIN0906
2025-05-14 15:36:18 +09:00
parent 2cf04c43a7
commit e9b909963e
5 changed files with 92 additions and 7 deletions

View File

@@ -6,11 +6,12 @@ import Spotlight from "@enact/spotlight";
import { updatePanel } from "../../../../actions/panelActions";
import TVirtualGridList from "../../../../components/TVirtualGridList/TVirtualGridList";
import { LOG_MENU, panel_names } from "../../../../utils/Config";
import { LOG_CONTEXT_NAME, LOG_MENU, LOG_MESSAGE_ID, panel_names } from "../../../../utils/Config";
import { $L } from "../../../../utils/helperMethods";
import PlayerItemCard, { TYPES } from "../../PlayerItemCard/PlayerItemCard";
import ListEmptyContents from "../TabContents/ListEmptyContents/ListEmptyContents";
import css from "./LiveChannelContents.module.less";
import { sendLogTotalRecommend } from "../../../../actions/logActions";
export default function LiveChannelContents({
liveInfos,
@@ -20,6 +21,8 @@ export default function LiveChannelContents({
currentVideoShowId,
tabIndex,
handleItemFocus,
tabTitle,
panelInfo
}) {
const dispatch = useDispatch();
const isClickBlocked = useRef(false);
@@ -46,11 +49,23 @@ export default function LiveChannelContents({
catCd,
strtDt,
endDt,
catNm,
timezone,
thumbnailUrl,
} = liveInfos[index];
const handleItemClick = () => {
const params = {
tabTitle: tabTitle[tabIndex],
showId: showId,
showTitle: showNm,
showType: panelInfo?.shptmBanrTpNm,
category: catNm,
partner: patncNm,
contextName: LOG_CONTEXT_NAME.SHOW,
messageId: LOG_MESSAGE_ID.CONTENTCLICK
}
dispatch(sendLogTotalRecommend(params));
//중복클릭방지
if (isClickBlocked.current) {
return;