[251112] feat: ProductVideoV2,MediaPanel cleanup

🕐 커밋 시간: 2025. 11. 12. 19:55:49

📊 변경 통계:
  • 총 파일: 5개
  • 추가: +205줄
  • 삭제: -114줄

📁 추가된 파일:
  + com.twin.app.shoptime/DEBUG_MODE_IMPLEMENTATION.md
  + com.twin.app.shoptime/MEDIAPANEL_CLEANUP_IMPROVEMENTS.md

📝 수정된 파일:
  ~ com.twin.app.shoptime/src/components/VideoPlayer/MediaPlayer.jsx
  ~ com.twin.app.shoptime/src/views/DetailPanel/ProductContentSection/ProductVideo/ProductVideo.v2.jsx
  ~ com.twin.app.shoptime/src/views/MediaPanel/MediaPanel.jsx

🔧 함수 변경 내용:
  📄 com.twin.app.shoptime/src/views/DetailPanel/ProductContentSection/ProductVideo/ProductVideo.v2.jsx (javascript):
     Added: debugLog()
  📄 com.twin.app.shoptime/src/views/MediaPanel/MediaPanel.jsx (javascript):
     Added: debugLog()
  📄 com.twin.app.shoptime/DEBUG_MODE_IMPLEMENTATION.md (md파일):
     Added: Before(), After()
  📄 com.twin.app.shoptime/MEDIAPANEL_CLEANUP_IMPROVEMENTS.md (md파일):
     Added: useCallback(), showControls(), areControlsVisible(), toggleControls(), useLayoutEffect(), useEffect(), clearTimeout(), dispatch(), forEach(), getVideoNode(), addEventListener()

🔧 주요 변경 내용:
  • UI 컴포넌트 아키텍처 개선
  • 개발 문서 및 가이드 개선
This commit is contained in:
2025-11-12 19:55:51 +09:00
parent ee4bb17ed7
commit 743e250030
5 changed files with 882 additions and 140 deletions

View File

@@ -2215,6 +2215,7 @@ const VideoPlayerBase = class extends React.Component {
delete mediaProps.thumbnailUnavailable;
delete mediaProps.titleHideDelay;
delete mediaProps.videoPath;
delete mediaProps.notifyOnClickWhenNotModal;
mediaProps.autoPlay = !noAutoPlay;
mediaProps.className = type !== 'MEDIA' ? css.video : css.media;