Skip to content

[refactor] #226 5차 지도 UX 개선#229

Merged
Ojongseok merged 7 commits into
developfrom
refactor/#226-5th-map-ux
Jul 13, 2026
Merged

[refactor] #226 5차 지도 UX 개선#229
Ojongseok merged 7 commits into
developfrom
refactor/#226-5th-map-ux

Conversation

@Ojongseok

@Ojongseok Ojongseok commented Jul 12, 2026

Copy link
Copy Markdown
Member

🔗 관련 이슈

📙 작업 설명

  • 포토부스 상세 즐겨찾기 버튼 디자인 변경사항 반영
  • MapCircleButton 기반으로 CurrentLocationButton, ShowFavoritePhotoBoothButton, 닫기 버튼 컴포넌트 통합 리팩토링 (CloseButton 제거)
  • 클러스터링 강도 완화 (MAX_SCREEN_DISTANCE 200→150px, MAX_CLUSTERING_ZOOM 16→15)
  • 즐겨찾기 해제 시 포토부스 리스트 아이템 이동 애니메이션 적용
  • 이 지역 재검색 후 즐겨찾기 마커가 폴리곤 영역 이탈 시 지도에 남아있는 버그 수정 (favorite 필드 동기화 누락)

📸 스크린샷 또는 시연 영상

기능 미리보기 기능 미리보기
포토부스 상세 포토부스 애니메이션
KakaoTalk_Video_2026-07-13-01-57-41.mp4

💬 추가 설명 or 리뷰 포인트

  • 클러스터링 영역 레벨&거리 조절은 빌드해서 조작해보시고 적당한지 말씀해주시면 감사드리겠읍니다.

Summary by CodeRabbit

  • 새로운 기능

    • 사진 부스 상세 카드에서 즐겨찾기 상태를 확인하고 바로 변경할 수 있습니다.
    • 즐겨찾기 목록과 지도에 표시되는 상태가 더욱 정확하게 동기화됩니다.
    • 상세 카드에서 길찾기와 즐겨찾기 동작을 사용할 수 있습니다.
  • 개선 사항

    • 지도 마커 클러스터링 기준을 조정해 더 빠르게 개별 마커가 표시됩니다.
    • 즐겨찾기 및 지도 버튼의 디자인과 크기를 상황에 맞게 개선했습니다.
    • 즐겨찾기 목록 전환 시 항목이 자연스럽게 애니메이션으로 표시됩니다.

Ojongseok and others added 6 commits July 9, 2026 00:20
…_ZOOM 15

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- CloseButton을 CloseButton.kt에서 MapCircleButton.kt로 통합
- PhotoBoothFavoriteButton → ShowFavoritePhotoBoothButton으로 리네임
- CardFavoriteButton, CardDirectionButton 추가 (isFavorite 버그 수정 포함)
- PhotoBoothDetailContent: 즐겨찾기 버튼을 카드 외부에서 내부로 이동

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Jul 12, 2026

Copy link
Copy Markdown

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 946ae708-c9c5-4e13-a25b-36d85f15e643

📥 Commits

Reviewing files that changed from the base of the PR and between 16aebd9 and d55c887.

📒 Files selected for processing (1)
  • feature/map/impl/src/main/java/com/neki/android/feature/map/impl/component/MapCircleButton.kt

📝 Walkthrough

Walkthrough

지도 폴리곤 조회 결과의 즐겨찾기 동기화, 클러스터링 기준 조정, 즐겨찾기 패널 애니메이션, 공통 버튼 구성, 상세 카드 내 즐겨찾기 버튼 배치가 변경되었습니다.

Changes

지도 즐겨찾기 및 UX 개편

Layer / File(s) Summary
폴리곤 즐겨찾기 상태 동기화
feature/map/impl/.../MapViewModel.kt
폴리곤 조회 마커의 favorite 상태를 현재 즐겨찾기 목록의 ID 매칭 결과로 설정합니다.
클러스터링 및 패널 동작 조정
feature/map/impl/.../cluster/ClustererConst.kt, feature/map/impl/.../component/AnchoredDraggablePanel.kt
클러스터링 줌·거리 기준을 낮추고, 탭 변경 시 콘텐츠를 재구성하며 리스트 항목에 spring 기반 애니메이션을 적용합니다.
지도 및 카드 버튼 구성 정리
feature/map/impl/.../component/MapCircleButton.kt, feature/map/impl/.../component/CloseButton.kt
버튼 스타일을 호출부 modifier로 이동하고 아이콘 크기를 외부에서 지정하도록 변경했으며, 지도·카드 버튼과 프리뷰를 추가·갱신합니다.
상세 카드 즐겨찾기 배치
feature/map/impl/.../component/PhotoBoothDetailContent.kt
상세 화면의 즐겨찾기 버튼을 카드 내부로 이동하고 카드 레이아웃 및 즐겨찾기·길찾기 버튼 구성을 변경합니다.

Estimated code review effort: 3 (Moderate) | ~20 minutes

Possibly related PRs

Suggested labels: fix, feat

Suggested reviewers: ikseong00

Poem

지도를 든 토끼가 깡충,
별표를 다시 맞춰요.
패널은 살랑살랑,
버튼은 동그랗게 빛나고,
카드 속 별도 반짝여요. 🐰

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Linked Issues check ✅ Passed 즐겨찾기 버튼 위치 변경, 클러스터링 완화, 해제 애니메이션 추가가 이슈 #226 요구사항과 일치합니다.
Out of Scope Changes check ✅ Passed 마커 동기화와 버튼 통합 리팩토링도 지도 UX 개선 범위 안에 있어 뚜렷한 범위 이탈이 보이지 않습니다.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Title check ✅ Passed 제목이 #226의 지도 UX 개선과 주요 리팩토링/클러스터링/애니메이션 변경을 잘 요약합니다.
Description check ✅ Passed 이슈, 작업 설명, 스크린샷, 추가 설명이 포함되어 템플릿 요구사항을 대부분 충족합니다.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch refactor/#226-5th-map-ux

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In
`@feature/map/impl/src/main/java/com/neki/android/feature/map/impl/component/AnchoredDraggablePanel.kt`:
- Around line 313-317: Extract the spring stiffness value and damping-ratio
conversion inputs from the animateItem placementSpec into clearly named
constants, then compute dampingRatio from those constants using the existing ζ =
c / (2√(km)) formula with unit mass. Update the spring call in
AnchoredDraggablePanel to reference the named constants and preserve the current
behavior.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 74f3c069-ce22-4ae2-99d5-82ae904944dd

📥 Commits

Reviewing files that changed from the base of the PR and between f8393f8 and 16aebd9.

📒 Files selected for processing (6)
  • feature/map/impl/src/main/java/com/neki/android/feature/map/impl/MapViewModel.kt
  • feature/map/impl/src/main/java/com/neki/android/feature/map/impl/cluster/ClustererConst.kt
  • feature/map/impl/src/main/java/com/neki/android/feature/map/impl/component/AnchoredDraggablePanel.kt
  • feature/map/impl/src/main/java/com/neki/android/feature/map/impl/component/CloseButton.kt
  • feature/map/impl/src/main/java/com/neki/android/feature/map/impl/component/MapCircleButton.kt
  • feature/map/impl/src/main/java/com/neki/android/feature/map/impl/component/PhotoBoothDetailContent.kt
💤 Files with no reviewable changes (1)
  • feature/map/impl/src/main/java/com/neki/android/feature/map/impl/component/CloseButton.kt

@ikseong00 ikseong00 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

깔끔하네요! 고생하셨습니다!

Comment on lines +6 to +7
const val MAX_CLUSTERING_ZOOM = 15 // 클러스터링 종료 줌 레벨 (이 이상이면 개별 마커 표시)
const val MAX_SCREEN_DISTANCE = 150.0 // 클러스터로 묶이는 최대 화면 거리 (px)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@Ojongseok
Ojongseok merged commit bb2df21 into develop Jul 13, 2026
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[refactor] 네컷지도 UX 변경사항 반영

2 participants