Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Caution Review failedThe pull request is closed. 📝 WalkthroughWalkthrough부동산 비교 기능을 추가하고 모듈 기반 상태 관리 체계로 전환했습니다. 새로운 비교 페이지, 온보딩 플로우, 동적 데이터 바인딩이 도입되었으며 사용자 선호도 기반 초기화가 구현되었습니다. Changes
Sequence DiagramsequenceDiagram
actor User
participant ComparePage as Compare<br/>Page
participant API as API Endpoints
participant CompareSidebar as CompareSidebar<br/>(Like List)
participant CompareMain as CompareMain<br/>(Display)
participant Store as Data Stores
User->>ComparePage: 접근 (URL: ids=1,2,3)
ComparePage->>Store: 초기 selectedIds 읽기
ComparePage->>API: useRecentView(ids) 호출
ComparePage->>API: useCompareList(ids) 호출
ComparePage->>API: useQueries(getCurateQueryOptions) 호출
API-->>ComparePage: 부동산 기본정보, 상세정보, 큐레이션 데이터 반환
ComparePage->>CompareSidebar: 선택 가능한 매물 목록 표시
CompareSidebar->>API: useLikeList 호출
API-->>CompareSidebar: 찜한 매물 목록 반환
User->>CompareSidebar: 매물 선택/해제
CompareSidebar->>Store: selectedIds 상태 업데이트
CompareSidebar->>ComparePage: 선택 변경 콜백
ComparePage->>ComparePage: URL 동기화 (ids 파라미터 업데이트)
ComparePage->>CompareMain: selectedHouses, curationData, basicInfo 전달
CompareMain->>CompareMain: CompareCard 3개 렌더링
CompareMain->>CompareMain: CurationComparison 렌더링 (큐레이션 비교)
CompareMain->>CompareMain: BasicInfoComparison 렌더링 (기본정보 비교)
CompareMain-->>User: 비교 결과 화면 표시
User->>CompareMain: 매물 제거 클릭
CompareMain->>ComparePage: onRemove 콜백
ComparePage->>Store: selectedIds에서 제거
ComparePage->>ComparePage: 데이터 재페칭 및 UI 업데이트
Estimated code review effort🎯 4 (Complex) | ⏱️ ~60 minutes Possibly related PRs
Poem
✨ Finishing touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
This was referenced Feb 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🚀 개요
우리 집 찾기 서비스 '딩글'의 핵심 도메인(매물 조회, 찜, 최근 본 매물, 주요 스팟)에 대한 백엔드 API 연동을 완료하고, 마이페이지 및 종합 데이터 모드의 사용자 경험을 고도화했습니다.✨ 주요 변경 사항
1. 매물 찜(Wishlist) 기능 서버 연동
기존 로컬 상태 기반의 찜 기능을 매물 관리 API(usePropertyZzim)로 전환했습니다.
리스트, 상세 페이지, 지도 마커 등 서비스 전반에서 찜 상태가 실시간으로 동기화되도록 구현했습니다.
2. 마이페이지(My Page) 기능 완성
찜한 집: 서버 데이터를 활용하여 사용자가 찜한 매물 목록을 렌더링합니다.
최근 본 집: Zustand Persist와 서버 조회를 결합하여 브라우저 종료 후에도 최근 본 매물 이력이 유지되도록 구현했습니다.
주요 스팟(Principal Spot): 카카오 우편번호 서비스와 주요 스팟 저장/조회 API를 연동했습니다.
3. 종합 데이터 모드(지도) 고도화
자주 가는 곳 모듈: 마이페이지의 '주요 스팟'과 데이터를 실시간 동기화하여 지도 화면에서도 즉시 확인 및 수정이 가능합니다.
모듈 동적 레이아웃: 편의, 안전, 환경 등 각 모듈의 상태와 아이콘을 API 데이터에 맞춰 정교하게 조정했습니다.
4. Navbar 및 전역 필터링 개선
Navbar의 주거 형태(아파트, 원룸 등) 선택 시 전역 스토어(usePropertyStore)를 통해 메인 매물 리스트가 즉시 필터링되도록 개선했습니다.
하이라이트 로직을 개선하여 지도 페이지(/map)에서만 현재 선택된 타입이 강조되도록 처리했습니다.
5. AI 큐레이션 및 상세 페이지
매물 상세 뷰에 AI가 추천하는 큐레이션 코멘트를 연동했습니다.
매물 비교 페이지의 UI 완성도를 높이고 점수별 하이라이트 로직을 추가했습니다.
🛠 기술적 개선 사항
**Next.js 최적화**: useSearchParams 사용 시 Suspense 경계 설정을 통해 빌드 타임 에러를 해결하고 안정성을 확보했습니다. **상태 관리**: Zustand와 React Query를 적재적소에 활용하여 데이터 일관성을 유지하고 불필요한 리렌더링을 방지했습니다. **코드 품질**: 미사용 임포트 제거 및 ESLint 경고 대응을 통해 최적화된 프로덕션 빌드 사양을 맞췄습니다.Summary by CodeRabbit
릴리스 노트
New Features
Improvements