From 3dad2e9d616b86b9cc8a338f36f11b553662c9f1 Mon Sep 17 00:00:00 2001 From: "younghoon100.park" Date: Tue, 2 Jul 2024 17:40:50 +0900 Subject: [PATCH] [Log] modified, changed menu scenario (ShowProduct.jsx, PlayerPanel.jsx) --- com.twin.app.shoptime/src/App/deepLinkHandler.js | 4 +++- com.twin.app.shoptime/src/utils/Config.js | 3 ++- .../src/views/DetailPanel/ThemeProduct/ShowProduct.jsx | 2 +- com.twin.app.shoptime/src/views/PlayerPanel/PlayerPanel.jsx | 3 ++- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/com.twin.app.shoptime/src/App/deepLinkHandler.js b/com.twin.app.shoptime/src/App/deepLinkHandler.js index b693dff8..2d60658c 100644 --- a/com.twin.app.shoptime/src/App/deepLinkHandler.js +++ b/com.twin.app.shoptime/src/App/deepLinkHandler.js @@ -55,7 +55,9 @@ export const getMenuByTargetContent = (contentTarget) => { : LOG_MENU.DETAIL_PAGE_PRODUCT_DETAIL; } else if (type === "LS" || type === "VS") { return LOG_MENU.FULL_SHOP_NOW; - } else if (type === "TD" || type === "HD") { + } else if (type === "TD") { + return LOG_MENU.DETAIL_PAGE_THEME_DETAIL; + } else if (type === "HD") { return LOG_MENU.DETAIL_PAGE_TRAVEL_THEME_DETAIL; } else if (type === "HP") { return LOG_MENU.HOT_PICKS; diff --git a/com.twin.app.shoptime/src/utils/Config.js b/com.twin.app.shoptime/src/utils/Config.js index 4dbee48a..c7e6e0bc 100644 --- a/com.twin.app.shoptime/src/utils/Config.js +++ b/com.twin.app.shoptime/src/utils/Config.js @@ -288,8 +288,9 @@ export const LOG_MENU = { DETAIL_PAGE_BILLING_PRODUCT_DETAIL: "Detail Page/Billing Product Detail", // completed DETAIL_PAGE_PRODUCT_DETAIL: "Detail Page/Product Detail", // completed - DETAIL_PAGE_TRAVEL_THEME_DETAIL: "Detail Page/Travel Theme Detail", // completed DETAIL_PAGE_GROUP_DETAIL: "Detail Page/Group Detail", // completed + DETAIL_PAGE_THEME_DETAIL: "Detail Page/Theme Detail", + DETAIL_PAGE_TRAVEL_THEME_DETAIL: "Detail Page/Travel Theme Detail", // completed FULL: "Full Player/Full Player", // completed FULL_SHOP_NOW: "Full Player/Shop Now", // completed diff --git a/com.twin.app.shoptime/src/views/DetailPanel/ThemeProduct/ShowProduct.jsx b/com.twin.app.shoptime/src/views/DetailPanel/ThemeProduct/ShowProduct.jsx index fe4ceb1b..37885618 100644 --- a/com.twin.app.shoptime/src/views/DetailPanel/ThemeProduct/ShowProduct.jsx +++ b/com.twin.app.shoptime/src/views/DetailPanel/ThemeProduct/ShowProduct.jsx @@ -65,7 +65,7 @@ export default function ShowOption({ }, [productData, productInfo, selectedIndex]); useEffect(() => { - sendLogGNB(LOG_MENU.DETAIL_PAGE_TRAVEL_THEME_DETAIL); + sendLogGNB(LOG_MENU.DETAIL_PAGE_THEME_DETAIL); }, [sendLogGNB]); useEffect(() => { diff --git a/com.twin.app.shoptime/src/views/PlayerPanel/PlayerPanel.jsx b/com.twin.app.shoptime/src/views/PlayerPanel/PlayerPanel.jsx index 850b6e84..d02a67e2 100644 --- a/com.twin.app.shoptime/src/views/PlayerPanel/PlayerPanel.jsx +++ b/com.twin.app.shoptime/src/views/PlayerPanel/PlayerPanel.jsx @@ -110,8 +110,9 @@ const getLogTpNo = (type, nowMenu) => { return Config.LOG_TP_NO.VOD.POPULAR_SHOWS_AND_HOT_PICKS; // 151 case Config.LOG_MENU.DETAIL_PAGE_BILLING_PRODUCT_DETAIL: case Config.LOG_MENU.DETAIL_PAGE_PRODUCT_DETAIL: - case Config.LOG_MENU.DETAIL_PAGE_TRAVEL_THEME_DETAIL: case Config.LOG_MENU.DETAIL_PAGE_GROUP_DETAIL: + case Config.LOG_MENU.DETAIL_PAGE_THEME_DETAIL: + case Config.LOG_MENU.DETAIL_PAGE_TRAVEL_THEME_DETAIL: return Config.LOG_TP_NO.VOD.ITEM_DETAIL_MEDIA; // 156 case Config.LOG_MENU.FULL: return Config.LOG_TP_NO.VOD.FULL_MEDIA; // 155