Skip to content
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

[FEAT] 댓글 신고 API with 패널티 부여 로직 #711

Merged
merged 1 commit into from
Mar 11, 2024

Conversation

ghyen
Copy link
Contributor

@ghyen ghyen commented Mar 8, 2024

📌 개요

  • 댓글 신고 기능 추가
  • 패널티 부여 로직 추가

💻 작업사항

  • 방 신고 24시간 패널티
  • 댓글 신고 1시간 패널티
  • 중복 신고 제거 로직 추가
  • 본인 신고 제거 로직 추가
  • 패널티 부여시 모든 방 나가기 로직 추가

💡Issue 번호

@ghyen ghyen added the enhancement New feature or request label Mar 8, 2024
@ghyen ghyen requested review from yes-ee, JaBeast and AreSain March 8, 2024 08:35
@ghyen ghyen self-assigned this Mar 8, 2024
@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 6.89655% with 27 lines in your changes are missing coverage. Please review.

Project coverage is 33.31%. Comparing base (e9225ee) to head (d2c1a34).
Report is 17 commits behind head on dev.

Files Patch % Lines
...data/src/main/java/gg/data/party/PartyPenalty.java 0.00% 13 Missing ⚠️
...ata/src/main/java/gg/data/party/CommentReport.java 0.00% 6 Missing ⚠️
gg-data/src/main/java/gg/data/party/Room.java 0.00% 4 Missing ⚠️
...tils/exception/party/AlredayReportedException.java 0.00% 2 Missing ⚠️
.../gg/utils/exception/party/SelfReportException.java 0.00% 2 Missing ⚠️
Additional details and impacted files
@@              Coverage Diff              @@
##                dev     #711       +/-   ##
=============================================
- Coverage     74.16%   33.31%   -40.86%     
+ Complexity      737      419      -318     
=============================================
  Files           166      336      +170     
  Lines          3178     4539     +1361     
  Branches        340      390       +50     
=============================================
- Hits           2357     1512      -845     
- Misses          677     2998     +2321     
+ Partials        144       29      -115     
Flag Coverage Δ
integrationTest ?
unitTest 33.31% <6.89%> (+4.11%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@AreSain AreSain left a comment

Choose a reason for hiding this comment

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

고생 많으셨습니다! 방 패널티 부여에서 size를 5로 늘려야할지 다같이 이야기 해봐야 할 것 같아요

Copy link
Contributor

@JaBeast JaBeast left a comment

Choose a reason for hiding this comment

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

gg

@AreSain AreSain merged commit f566f83 into dev Mar 11, 2024
2 checks passed
@AreSain AreSain deleted the 648-댓글-신고-API branch March 11, 2024 01:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

✨ [Feature] 댓글 신고 API
4 participants