[251126] fix: Log Migration - DetailPanel sendLogGNB

🕐 커밋 시간: 2025. 11. 26. 12:45:16

📊 변경 통계:
  • 총 파일: 3개
  • 추가: +71줄
  • 삭제: -1줄

📝 수정된 파일:
  ~ com.twin.app.shoptime/src/views/DetailPanel/ProductAllSection/ProductAllSection.jsx
  ~ com.twin.app.shoptime/src/views/DetailPanel/ProductContentSection/YouMayAlsoLike/YouMayAlsoLike.jsx
  ~ com.twin.app.shoptime/src/views/PlayerPanel/PlayerPanel.jsx

🔧 주요 변경 내용:
  • 소규모 기능 개선
This commit is contained in:
2025-11-26 12:45:17 +09:00
parent d795182d4c
commit 42eda7e0bb
3 changed files with 71 additions and 1 deletions

View File

@@ -718,6 +718,13 @@ const PlayerPanel = ({ isTabActivated, panelInfo, isOnTop, spotlightId, ...props
panelInfo?.modal &&
liveLogParamsRef.current?.showId === panelInfo?.showId
) {
dlog('[PlayerPanel] 📡 LIVE Modal Log Ready and Conditions Met:', {
isModalLiveLogReady: logStatus.isModalLiveLogReady,
isOnTop,
isModal: panelInfo?.modal,
showIdMatch: liveLogParamsRef.current?.showId === panelInfo?.showId,
logParams: liveLogParamsRef.current,
});
let watchStrtDt = formatGMTString(new Date());
watchIntervalLive.current = setInterval(() => {
@@ -736,6 +743,10 @@ const PlayerPanel = ({ isTabActivated, panelInfo, isOnTop, spotlightId, ...props
isModalLiveLogReady: false,
}));
clearInterval(watchIntervalLive.current);
dlog('[PlayerPanel] 🚀 Dispatching LIVE Modal Log:', {
logParams: liveLogParamsRef.current,
watchStrtDt,
});
dispatch(
sendLogLive({ ...liveLogParamsRef.current, watchStrtDt }, () =>
dispatch(changeLocalSettings({ watchRecord: {} }))