Skip to content

[FEAT/#70] 홈 알림 버튼(검색바 우측) + 알림 플로우 - #72

Merged
oilbeaneda merged 4 commits into
developfrom
feat/#70-notification_ui_flow
Aug 28, 2026
Merged

oilbeaneda merged 4 commits into
developfrom
feat/#70-notification_ui_flow

Conversation

@oilbeaneda

@oilbeaneda oilbeaneda commented Aug 28, 2026 •

Copy link
Copy Markdown
Member

Related issue 🛠

Work Description ✏️

홈 화면 알림 관련 UI 반영 + 지도 마커 표시 수정.

1) 홈 상단 알림 버튼 (피그마 시안)

  • 검색바 우측에 56dp 원형 알림 버튼(흰 배경 + 검색바와 동일한 이중 그림자, ic_bell) 추가
  • 검색바 영역을 Row { 검색바(weight) + 알림 버튼 } 구조로 변경
  • 클릭 → 알림 목록 화면 이동 (Event.OnNotificationClick → SideEffect.NavigateToNotification, 홈 그래프에서 navigateToNotification() 배선)
  • 알림 버튼은 HomeAlertButton 컴포넌트로 분리 (home/component/)

2) 찜 마커 찌그러짐 수정

  • 문제: img_favorite(180×190)를 img_pin(204×204)과 동일하게 정사각으로 강제 → 찜 마커가 가로로 찌그러짐
  • 수정: 찜 마커는 높이를 야구펍 마커와 맞추고 너비만 원본 비율(FAVORITE_PIN_ASPECT)을 유지 → 찌그러짐 없이 야구펍 마커처럼 표시

Screenshot 📸

홈 알림 버튼 마커 (수정 후)

Uncompleted Tasks 😅

  • 알림 목록 데이터/뱃지(안읽음 표시)는 서버 연동 후 반영

Summary by CodeRabbit

  • 새로운 기능
    • 홈 화면 검색창 옆에 알림 버튼을 추가했습니다.
    • 알림 버튼을 누르면 알림 화면으로 이동합니다.
    • 즐겨찾기 지도 마커의 크기와 비율을 조정했습니다.

@coderabbitai

coderabbitai Bot commented Aug 28, 2026 •

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 5b228202-c40a-43d4-beba-5f9ec4abf82e

📥 Commits

Reviewing files that changed from the base of the PR and between 15992af and 009ef22.

📒 Files selected for processing (5)
  • app/src/main/java/org/app/presentation/home/HomeContract.kt
  • app/src/main/java/org/app/presentation/home/HomeScreen.kt
  • app/src/main/java/org/app/presentation/home/HomeViewModel.kt
  • app/src/main/java/org/app/presentation/home/component/HomeAlertButton.kt
  • app/src/main/java/org/app/presentation/home/navigation/HomeNavigation.kt

Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review.


📝 Walkthrough

Walkthrough

홈 화면에 알림 버튼을 추가하고, 클릭 이벤트를 ViewModel과 네비게이션 흐름에 연결했습니다. 지도 마커는 유형별 크기로 렌더링하도록 변경했습니다.

Changes

홈 화면 변경

Layer / File(s) Summary
알림 이벤트와 홈 화면 버튼
app/src/main/java/org/app/presentation/home/HomeContract.kt, app/src/main/java/org/app/presentation/home/HomeScreen.kt
OnNotificationClick 이벤트와 NavigateToNotification 사이드 이펙트를 추가했습니다. 검색 영역 옆에 HomeAlertButton을 배치했습니다.
알림 사이드 이펙트와 네비게이션 연결
app/src/main/java/org/app/presentation/home/HomeViewModel.kt, app/src/main/java/org/app/presentation/home/HomeScreen.kt, app/src/main/java/org/app/presentation/home/navigation/HomeNavigation.kt
알림 클릭 시 사이드 이펙트를 발생시키고, navController.navigateToNotification()을 호출하도록 연결했습니다.
지도 마커 렌더링 변경
app/src/main/java/org/app/presentation/home/HomeScreen.kt
FAVORITE 마커에 180f / 190f 가로 비율을 적용했습니다. MATCH 마커는 정사각형으로 유지했습니다. 관련 주석을 제거했습니다.

Estimated code review effort: 2 (Simple) | ~10 minutes

Merge Risk: ⚪ Minimal · up to 009ef

The change adds local notification navigation and corrects favorite-marker proportions; no actionable merge-blocking risk remains beyond normal checks and review.

Sequence Diagram(s)

sequenceDiagram
  participant HomeAlertButton
  participant HomeScreen
  participant HomeViewModel
  participant navController
  HomeAlertButton->>HomeScreen: OnNotificationClick 이벤트 전달
  HomeScreen->>HomeViewModel: 알림 클릭 이벤트 처리
  HomeViewModel-->>HomeScreen: NavigateToNotification 사이드 이펙트 전달
  HomeScreen->>navController: onNavigateToNotification 호출
  navController->>navController: navigateToNotification 실행
Loading

Suggested reviewers: claude

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 7 functions across 5 files. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Linked Issues check ✅ Passed 직접 연결된 이슈 [#70]의 알림 기능 플로우 점검 및 추가 목표에 맞게 알림 버튼, 이벤트, 사이드 이펙트, 화면 이동을 구현했습니다.
Out of Scope Changes check ✅ Passed 마커 비율 수정은 PR 설명과 목표에 포함된 관련 변경입니다. 제공된 범위 밖의 변경은 확인되지 않습니다.
Title check ✅ Passed 제목은 홈 알림 버튼 추가와 알림 플로우 연결이라는 주요 변경 사항을 명확하고 간결하게 설명합니다.
Description check ✅ Passed 설명은 관련 이슈, 작업 내용, 스크린샷, 미완료 작업 섹션을 포함합니다. 알림 버튼, 네비게이션 플로우, 찜 마커 수정 내용을 구체적으로 설명합니다. 스크린샷 경로는 비어 있지만 전체 설명은 대부분 완전합니다.
  • Fix all pre-merge checks with AI
✨ Finishing Touches 💡 1
📝 Generate docstrings 💡
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/#70-notification_ui_flow

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.

@oilbeaneda oilbeaneda changed the title [feat/#70] 홈 알림 버튼(검색바 우측) + 찜 마커 비율 수정 [FEAT/#70] 홈 알림 버튼(검색바 우측) + 알림 플로우 Aug 28, 2026
@oilbeaneda oilbeaneda self-assigned this Aug 28, 2026
@oilbeaneda oilbeaneda added Feat ✨ 신규 기능을 추가하거나 기존 기능의 동작, 정책을 변경 📱UI 화면 UI labels Aug 28, 2026
@oilbeaneda
oilbeaneda merged commit 624f900 into develop Aug 28, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Feat ✨ 신규 기능을 추가하거나 기존 기능의 동작, 정책을 변경 📱UI 화면 UI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feat] 알림 기능 플로우

1 participant