Skip to content

feat: 투표 지속시간 옵션에 48시간 추가#245

Merged
tlarbals824 merged 1 commit into
developfrom
feat/add-48-hour
Jun 21, 2026
Merged

feat: 투표 지속시간 옵션에 48시간 추가#245
tlarbals824 merged 1 commit into
developfrom
feat/add-48-hour

Conversation

@tlarbals824

@tlarbals824 tlarbals824 commented Jun 21, 2026

Copy link
Copy Markdown
Collaborator

📌 관련 이슈

  • closes #

🔍 작업 내용

📝 변경 사항

💬 리뷰어에게

Summary by CodeRabbit

새로운 기능

  • 48시간 지속 시간 옵션이 추가되었습니다.

@coderabbitai

coderabbitai Bot commented Jun 21, 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: CHILL

Plan: Pro

Run ID: 7ad149dc-babd-4824-92da-742d186533f0

📥 Commits

Reviewing files that changed from the base of the PR and between 289d5f4 and ce01f98.

📒 Files selected for processing (1)
  • src/main/java/com/ject/vs/vote/domain/VoteDuration.java

Walkthrough

VoteDuration 열거형에 HOURS_48(Duration.ofHours(48)) 상수가 추가되었습니다. 기존 fromHours(int hours) 메서드는 변경 없이 48 입력 시 새 상수를 반환할 수 있도록 지원 범위가 확장됩니다.

Changes

VoteDuration 열거형 확장

Layer / File(s) Summary
HOURS_48 enum 상수 추가
src/main/java/com/ject/vs/vote/domain/VoteDuration.java
VoteDuration 열거형에 HOURS_48(Duration.ofHours(48)) 멤버가 추가되어, fromHours(48) 호출 시 해당 상수가 매칭되어 반환됩니다.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Poem

🐇 48시간이 생겨났네, 두 개의 해가 지나는 시간!
enum 목록에 쏙 끼어든 HOURS_48,
fromHours가 반갑게 손 내밀고 🌟
이제 투표는 더 길게 이어지리—
토끼도 두 날을 뛸 수 있다네! 🕐✨

✨ 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 feat/add-48-hour

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 and usage tips.

@tlarbals824 tlarbals824 merged commit 5b9616e into develop Jun 21, 2026
2 of 3 checks passed
@github-actions github-actions Bot deleted the feat/add-48-hour branch June 21, 2026 10:31
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.

1 participant