-
Notifications
You must be signed in to change notification settings - Fork 0
20260202 #477 user 신고 페이지 추가 #485
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The head ref may contain hidden characters: "20260202_#477_user_\uC2E0\uACE0_\uD398\uC774\uC9C0_\uCD94\uAC00"
Conversation
Walkthrough회원 신고 기능을 추가합니다. 신고 사유 열거형, 신고 입력 화면, 관련 API 메서드가 새로 추가되고 프로필 화면에서 신고 흐름이 연결됩니다. Changes
Sequence DiagramsequenceDiagram
actor User
participant ProfileScreen as "프로필 화면"
participant MemberReportScreen as "신고 화면"
participant ReportApi as "ReportApi"
participant Backend as "백엔드"
User->>ProfileScreen: 신고하기 버튼 클릭
ProfileScreen->>MemberReportScreen: navigate(memberId)
User->>MemberReportScreen: 사유 선택 및 (필요시) 추가의견 입력
User->>MemberReportScreen: 신고 제출
MemberReportScreen->>ReportApi: reportMember(memberId, 사유IDs, extraComment)
ReportApi->>Backend: POST /api/report/member/post (memberId, memberReportReasons, extraComment)
alt 성공
Backend-->>ReportApi: 200 OK
ReportApi-->>MemberReportScreen: 성공
MemberReportScreen-->>ProfileScreen: reported = true (pop)
ProfileScreen->>User: 성공 모달 표시 후 화면 종료
else 실패
Backend-->>ReportApi: 에러
ReportApi-->>MemberReportScreen: 에러 전달
MemberReportScreen->>User: 에러 모달 표시
end
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~22 minutes Possibly related PRs
Suggested reviewers
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches🧪 Generate unit tests (beta)
No actionable comments were generated in the recent review. 🎉 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 |
|
❌ 프로젝트 빌드 실패 실패한 단계: 알 수 없는 단계 빌드 로그를 확인하여 문제를 해결해주세요. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
🤖 Fix all issues with AI agents
In `@lib/screens/profile/profile_screen.dart`:
- Line 12: Remove the erroneous import of navigation_extensions.dart from the
top of profile_screen.dart (the import line referencing
package:romrom_fe/utils/navigation_extensions.dart) because that file does not
exist; the navigateTo extension is already provided in common_utils.dart, so
delete the import line and ensure the file still uses navigateTo (no other
changes required).
|
❌ 프로젝트 빌드 실패 실패한 단계: 알 수 없는 단계 빌드 로그를 확인하여 문제를 해결해주세요. |
|
✅ 프로젝트 빌드 성공 APK 빌드가 완료되었습니다. |
SeoHyun1024
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
확인했습니다
Summary by CodeRabbit