Skip to content

[Feat/#483] 리뷰 화면에서 오늘 메뉴 찜하기로 이동 - #486

Merged
Hrepay merged 3 commits into
developfrom
feat/#483
Nov 8, 2026
Merged

Hrepay merged 3 commits into
developfrom
feat/#483

Conversation

@Hrepay

@Hrepay Hrepay commented Nov 8, 2026

Copy link
Copy Markdown
Member

#️⃣ 관련 이슈

Resolved #483

⚠️ 이 PR은 #484(토글)와 #485(알림 다이얼로그) 위에 쌓여 있습니다. 두 PR이 먼저 머지되면 이 PR의 diff는 이 작업분만 남습니다.

💡작업 내용

1. 리뷰 화면 "오늘의 메뉴를 찜해보세요!" 버튼 (ReviewRateViewCell)

  • "오늘의 메뉴" 박스 아래, 별점 통계 위에 추가. 디자인: 높이 41 · 모서리 8 · gray300 테두리 · 하트 · Medium 12 · 화살표
  • 보고 있는 식단이 오늘이고, 변동 식단이며, 찜 대상 식당(학생·도담·기숙사·교직원)일 때만 표시 (TodayMenuSlot.forReview)
  • 어제·내일 식단, 스낵코너(고정 메뉴)에는 표시하지 않음

2. 학식 탭 → 리뷰 화면에 날짜·식당·시간대 전달 (ReviewMenuTypeInfo)

  • HomeRestaurantViewController가 마지막으로 조회한 날짜·시간대를 보관해 리뷰 화면에 넘김

3. 버튼 탭 동작 (NotificationPermissionPrompt.ensureFavoriteNotificationAllowed)

  • 기기 권한 거부 → "알림 권한이 꺼져 있어요" (설정으로 이동)
  • 마이페이지 토글 OFF 또는 권한 미결정 → "메뉴 찜 알림을 허용해주세요" (취소 / 알림 허용하기)
  • 허용 상태 → 찜 탭(메뉴 찜)으로 전환하고 "오늘 식단에서 찜하기" 카드를 해당 식당·시간대로 펼침 (CustomTabBarContainerController.showTodayMenuFavorite)
  • 리뷰 화면은 학식 탭 스택에 그대로 두어 학식 탭으로 돌아오면 이어서 볼 수 있음

4. 버그 수정

  • 찜 탭을 처음 열 때 헤더 생성 코드가 카드를 접어 버려, 리뷰에서 펼친 채로 들어와도 접혀 보이던 문제 수정

테스트: 유닛 58개 통과 (TodayMenuSlotTests 1개 추가). 시뮬레이터에서 기숙사 식당 저녁 리뷰 → 버튼 → 찜 탭 카드가 "기숙사 식당 · 저녁"으로 펼쳐지고 오늘 메뉴 7개가 칩으로 보이는 것까지 확인.

💬리뷰 요구사항(선택)

  • "알림 미허용" 판정 기준을 "마이페이지 토글 OFF 또는 기기 권한 미결정 → 허용 요청 / 기기 권한 거부 → 설정 이동"으로 잡았습니다. 기획 확인이 필요하면 알려주세요.
  • 실기기 확인: 어제·내일 식단 리뷰에서 버튼이 안 보이는지, 토글 OFF 상태에서 다이얼로그 → 허용 후 다시 눌렀을 때 이동하는지

@Hrepay
Hrepay temporarily deployed to Configuration Files November 8, 2026 07:47 — with GitHub Actions Inactive
@coderabbitai

coderabbitai Bot commented Nov 8, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 9 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 6c15832 and f89e487.

Files ignored due to path filters: 4

  • EATSSU/App/Resources/en.lproj/Localizable.strings is excluded by !**/*.lproj/*.strings
  • EATSSU/App/Resources/ja.lproj/Localizable.strings is excluded by !**/*.lproj/*.strings
  • EATSSU/App/Resources/ko.lproj/Localizable.strings is excluded by !**/*.lproj/*.strings
  • EATSSU/App/Resources/vi.lproj/Localizable.strings is excluded by !**/*.lproj/*.strings
Files selected for processing: 11

  • EATSSU/App/Sources/Notification/NotificationPermissionPrompt.swift
  • EATSSU/App/Sources/Presentation/Home/Model/ReviewMenuTypeInfo.swift
  • EATSSU/App/Sources/Presentation/Home/ViewController/HomeRestaurantViewController.swift
  • EATSSU/App/Sources/Presentation/Like/Model/TodayMenuSlot.swift
  • EATSSU/App/Sources/Presentation/Like/ViewController/LikeViewController.swift
  • EATSSU/App/Sources/Presentation/Like/ViewController/MenuLikeViewController.swift
  • EATSSU/App/Sources/Presentation/Review/View/SeeReview/ReviewRateViewCell.swift
  • EATSSU/App/Sources/Presentation/Review/ViewController/ReviewViewController.swift
  • EATSSU/App/Sources/Presentation/TabBar/CustomTabBarContainerController.swift
  • EATSSU/App/Sources/Utility/Literal/TextLiteral.swift
  • EATSSU/Tests/UnitTests/TodayMenuSlotTests.swift
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

# Conflicts:
#	EATSSU/App/Resources/en.lproj/Localizable.strings
#	EATSSU/App/Resources/ja.lproj/Localizable.strings
#	EATSSU/App/Resources/ko.lproj/Localizable.strings
#	EATSSU/App/Resources/vi.lproj/Localizable.strings
#	EATSSU/App/Sources/Utility/Literal/TextLiteral.swift
@Hrepay
Hrepay merged commit 15d12f0 into develop Nov 8, 2026
@Hrepay
Hrepay temporarily deployed to Configuration Files November 8, 2026 08:27 — with GitHub Actions Inactive
@Hrepay
Hrepay deleted the feat/#483 branch November 8, 2026 08:27

This branch was previously deployed

1 inactive deployment
Configuration Files — f89e4878 Deployed Nov 8, 2026 by Hrepay via Unit Tests #52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feat] 리뷰 화면에서 오늘 메뉴 찜하기로 이동

1 participant