[251104] feat: preShopperHouseData

🕐 커밋 시간: 2025. 11. 04. 19:09:24

📊 변경 통계:
  • 총 파일: 6개
  • 추가: +89줄
  • 삭제: -29줄

📝 수정된 파일:
  ~ com.twin.app.shoptime/src/actions/actionTypes.js
  ~ com.twin.app.shoptime/src/actions/searchActions.js
  ~ com.twin.app.shoptime/src/reducers/searchReducer.js
  ~ com.twin.app.shoptime/src/views/SearchPanel/SearchPanel.new.v2.jsx
  ~ com.twin.app.shoptime/src/views/SearchPanel/SearchResults.new.v2.jsx
  ~ com.twin.app.shoptime/src/views/SearchPanel/VoiceInputOverlay/VoiceInputOverlay.jsx

🔧 주요 변경 내용:
  • 타입 시스템 안정성 강화
  • 핵심 비즈니스 로직 개선
  • 소규모 기능 개선
  • 모듈 구조 개선
This commit is contained in:
2025-11-04 19:09:25 +09:00
parent a3e261960b
commit b3589eb940
6 changed files with 89 additions and 29 deletions

View File

@@ -187,6 +187,8 @@ export default function SearchPanel({ panelInfo, isOnTop, spotlightId }) {
const shopperHouseRelativeQueries = useSelector(
(state) => state.search.shopperHouseRelativeQueries
);
// 🔄 이전 shopperHouseData (sortingType 변경 시 사용)
const preShopperHouseData = useSelector((state) => state.search.preShopperHouseData);
// 0hun: 검색 메인, Hot Picks for you 영역에 대한 전역 상태 값
const hotPicksForYou = useSelector((state) => state.search.searchMainData.hotPicksForYou);
// 0hun: 검색 메인, Popular Brands 영역에 대한 전역 상태 값
@@ -1397,6 +1399,7 @@ export default function SearchPanel({ panelInfo, isOnTop, spotlightId }) {
itemInfo={searchDatas.item}
showInfo={searchDatas.show}
shopperHouseInfo={shopperHouseData}
preShopperHouseInfo={preShopperHouseData}
fallbackShopperHouseData={shopperHouseDataRef.current}
shopperHouseSearchId={shopperHouseSearchId}
shopperHouseRelativeQueries={shopperHouseRelativeQueries}