From a427a68cbe0f69a17c30344579d73ff2a40adafc Mon Sep 17 00:00:00 2001 From: Dev TWIN0906 Date: Thu, 15 May 2025 16:44:05 +0900 Subject: [PATCH] =?UTF-8?q?Detail=20page=20=EB=82=B4=20=EB=B2=84=ED=8A=BC?= =?UTF-8?q?=20=ED=81=B4=EB=A6=AD=20=EC=A0=95=EB=B3=B4=EC=88=98=EC=A7=91=20?= =?UTF-8?q?=EB=A1=9C=EA=B7=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/DetailPanel/GroupProduct/GroupProduct.jsx | 6 ++++++ .../src/views/DetailPanel/SingleProduct/SingleProduct.jsx | 7 ++++++- .../src/views/DetailPanel/ThemeProduct/ShowProduct.jsx | 6 ++++++ .../src/views/DetailPanel/UnableProduct/UnableProduct.jsx | 6 ++++++ .../DetailPanel/components/indicator/IndicatorOptions.jsx | 1 - 5 files changed, 24 insertions(+), 2 deletions(-) diff --git a/com.twin.app.shoptime/src/views/DetailPanel/GroupProduct/GroupProduct.jsx b/com.twin.app.shoptime/src/views/DetailPanel/GroupProduct/GroupProduct.jsx index d4a221ad..2b1bf327 100644 --- a/com.twin.app.shoptime/src/views/DetailPanel/GroupProduct/GroupProduct.jsx +++ b/com.twin.app.shoptime/src/views/DetailPanel/GroupProduct/GroupProduct.jsx @@ -101,6 +101,12 @@ export default function GroupProduct({ }; dispatch(sendLogDetail(params)); + dispatch(sendLogTotalRecommend({ + menu: LOG_MENU.DETAIL_PAGE_GROUP_DETAIL, + buttonTitle: 'DESCRIPTION', + contextName: LOG_CONTEXT_NAME.DETAILPAGE, + messageId: LOG_MESSAGE_ID.BUTTONCLICK + })) } }, [productData]); diff --git a/com.twin.app.shoptime/src/views/DetailPanel/SingleProduct/SingleProduct.jsx b/com.twin.app.shoptime/src/views/DetailPanel/SingleProduct/SingleProduct.jsx index 2c8dc053..8e01ce82 100644 --- a/com.twin.app.shoptime/src/views/DetailPanel/SingleProduct/SingleProduct.jsx +++ b/com.twin.app.shoptime/src/views/DetailPanel/SingleProduct/SingleProduct.jsx @@ -101,8 +101,13 @@ export default function SingleProduct({ patncNm: productData?.patncNm ?? "", patnrId: productData?.patnrId ?? "", }; - console.log ('###detail button click', params) dispatch(sendLogDetail(params)); + dispatch(sendLogTotalRecommend({ + menu: LOG_MENU.DETAIL_PAGE_BILLING_PRODUCT_DETAIL, + buttonTitle: 'DESCRIPTION', + contextName: LOG_CONTEXT_NAME.DETAILPAGE, + messageId: LOG_MESSAGE_ID.BUTTONCLICK + })) } }, [productData]); 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 2612b46a..c0e3080a 100644 --- a/com.twin.app.shoptime/src/views/DetailPanel/ThemeProduct/ShowProduct.jsx +++ b/com.twin.app.shoptime/src/views/DetailPanel/ThemeProduct/ShowProduct.jsx @@ -156,6 +156,12 @@ export default function ShowOption({ }; dispatch(sendLogDetail(params)); + dispatch(sendLogTotalRecommend({ + menu: LOG_MENU.DETAIL_PAGE_THEME_DETAIL, + buttonTitle: 'DESCRIPTION', + contextName: LOG_CONTEXT_NAME.DETAILPAGE, + messageId: LOG_MESSAGE_ID.BUTTONCLICK + })) } }, [productData]); diff --git a/com.twin.app.shoptime/src/views/DetailPanel/UnableProduct/UnableProduct.jsx b/com.twin.app.shoptime/src/views/DetailPanel/UnableProduct/UnableProduct.jsx index 411c5d54..42a9204f 100644 --- a/com.twin.app.shoptime/src/views/DetailPanel/UnableProduct/UnableProduct.jsx +++ b/com.twin.app.shoptime/src/views/DetailPanel/UnableProduct/UnableProduct.jsx @@ -104,6 +104,12 @@ export default function UnableProduct({ console.log ('###entryMenuRef', entryMenuRef) console.log ('###entryMenuRef.current', entryMenuRef.current) dispatch(sendLogDetail(params)); + dispatch(sendLogTotalRecommend({ + menu: LOG_MENU.DETAIL_PAGE_PRODUCT_DETAIL, + buttonTitle: 'DESCRIPTION', + contextName: LOG_CONTEXT_NAME.DETAILPAGE, + messageId: LOG_MESSAGE_ID.BUTTONCLICK + })) } }, [productData]); diff --git a/com.twin.app.shoptime/src/views/DetailPanel/components/indicator/IndicatorOptions.jsx b/com.twin.app.shoptime/src/views/DetailPanel/components/indicator/IndicatorOptions.jsx index 49a40ff2..d9d37d64 100644 --- a/com.twin.app.shoptime/src/views/DetailPanel/components/indicator/IndicatorOptions.jsx +++ b/com.twin.app.shoptime/src/views/DetailPanel/components/indicator/IndicatorOptions.jsx @@ -76,7 +76,6 @@ export default function IndicatorOptions({ const descriptionClick = useCallback( (label, description) => { - console.log('###descriptionClick', productInfo?.prdtDesc) setTabLabel([label]); setDescription(description); dispatch(setShowPopup(Config.ACTIVE_POPUP.descriptionPopup));