Skip to content

Main <- Develop#161

Merged
Seol-JY merged 5 commits intomainfrom
develop
Jan 12, 2026
Merged

Main <- Develop#161
Seol-JY merged 5 commits intomainfrom
develop

Conversation

@Seol-JY
Copy link
Copy Markdown
Member

@Seol-JY Seol-JY commented Jan 12, 2026

Summary by CodeRabbit

릴리스 노트

  • 새로운 기능
    • 이벤트에 버튼 표시 여부 및 버튼 텍스트를 설정할 수 있는 기능이 추가되었습니다.
    • 이벤트 생성 및 수정 시 버튼 가시성과 내용을 커스터마이징할 수 있습니다.
    • 버튼 텍스트는 최대 63자로 제한됩니다.

✏️ Tip: You can customize this high-level summary in your review settings.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Jan 12, 2026

Caution

Review failed

The pull request is closed.

Note

.coderabbit.yaml has unrecognized properties

CodeRabbit is using all valid settings from your configuration. Unrecognized properties (listed below) have been ignored and may indicate typos or deprecated fields that can be removed.

⚠️ Parsing warnings (1)
Validation error: Unrecognized key(s) in object: 'auto_resolve_threads', 'spring_specific'
⚙️ Configuration instructions
  • Please see the configuration documentation for more information.
  • You can also validate your configuration using the online YAML validator.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Walkthrough

이벤트 및 이벤트 상세 도메인에 버튼 표시 여부와 버튼 텍스트 필드를 추가합니다. 데이터베이스 스키마, 엔티티, 요청/응답 DTO, 매퍼, 서비스 및 테스트 코드를 업데이트합니다.

Changes

Cohort / File(s) 변경 사항 요약
데이터베이스 스키마
sql/init.sql
eventsevents_detail 테이블에 button_visible (BOOLEAN NOT NULL)과 button_text (VARCHAR(63) NULL) 컬럼 추가
Events 엔티티 및 매퍼
src/main/java/im/toduck/domain/events/events/persistence/entity/Events.java, src/main/java/im/toduck/domain/events/events/common/mapper/EventsMapper.java
buttonVisible, buttonText 필드 추가, getter/setter 및 업데이트 메서드 구현, 매퍼에서 필드 매핑
Events 요청 DTO
src/main/java/im/toduck/domain/events/events/presentation/dto/request/EventsCreateRequest.java, src/main/java/im/toduck/domain/events/events/presentation/dto/request/EventsUpdateRequest.java
buttonVisible, buttonText 필드 추가, 검증 및 스키마 어노테이션 포함, LocalDateTime 역직렬화 지원 추가
Events 응답 DTO
src/main/java/im/toduck/domain/events/events/presentation/dto/response/EventsResponse.java
isButtonVisible, buttonText 필드 추가, 스키마 어노테이션 포함
Events 서비스
src/main/java/im/toduck/domain/events/events/domain/service/EventsService.java
updateEvents 메서드에 buttonVisible, buttonText 조건부 업데이트 로직 추가
EventsDetail 엔티티 및 매퍼
src/main/java/im/toduck/domain/events/detail/persistence/entity/EventsDetail.java, src/main/java/im/toduck/domain/events/detail/common/mapper/EventsDetailMapper.java
buttonVisible, buttonText 필드 추가, 업데이트 메서드 구현, 매퍼에서 필드 매핑
EventsDetail 요청 DTO
src/main/java/im/toduck/domain/events/detail/presentation/dto/request/EventsDetailCreateRequest.java, src/main/java/im/toduck/domain/events/detail/presentation/dto/request/EventsDetailUpdateRequest.java
buttonVisible, buttonText 필드 추가, 검증 및 스키마 어노테이션 포함
EventsDetail 응답 DTO
src/main/java/im/toduck/domain/events/detail/presentation/dto/response/EventsDetailResponse.java
buttonVisible, buttonText 필드 추가, 스키마 어노테이션 포함
EventsDetail 서비스 및 저장소
src/main/java/im/toduck/domain/events/detail/domain/service/EventsDetailService.java, src/main/java/im/toduck/domain/events/detail/persistence/repository/querydsl/EventsDetailRepositoryCustomImpl.java
서비스에서 조건부 업데이트 로직 추가, 저장소에서 명시적 ID 정렬 제거
테스트 코드
src/test/java/im/toduck/domain/events/detail/domain/usecase/EventsDetailUseCaseTest.java, src/test/java/im/toduck/domain/events/events/domain/usecase/EventsUseCaseTest.java
요청 빌더에 buttonVisible, buttonText 메서드 추가, 테스트 픽스처 업데이트

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~25 minutes

Possibly related PRs

Suggested labels

✨ Feature

Suggested reviewers

  • wafla
  • Junad-Park
  • jungbk0808

Poem

🐰 버튼들이 새로운 옷을 입네요
보임새와 글귀를 담아 춤추고
이벤트 상세도 함께 따라 물드네
스키마부터 서비스까지 모두 손잡고
우리의 소중한 기능들이 반짝반짝! ✨

✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch develop

📜 Recent review details

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 88bd661 and 995d7bb.

📒 Files selected for processing (16)
  • sql/init.sql
  • src/main/java/im/toduck/domain/events/detail/common/mapper/EventsDetailMapper.java
  • src/main/java/im/toduck/domain/events/detail/domain/service/EventsDetailService.java
  • src/main/java/im/toduck/domain/events/detail/persistence/entity/EventsDetail.java
  • src/main/java/im/toduck/domain/events/detail/persistence/repository/querydsl/EventsDetailRepositoryCustomImpl.java
  • src/main/java/im/toduck/domain/events/detail/presentation/dto/request/EventsDetailCreateRequest.java
  • src/main/java/im/toduck/domain/events/detail/presentation/dto/request/EventsDetailUpdateRequest.java
  • src/main/java/im/toduck/domain/events/detail/presentation/dto/response/EventsDetailResponse.java
  • src/main/java/im/toduck/domain/events/events/common/mapper/EventsMapper.java
  • src/main/java/im/toduck/domain/events/events/domain/service/EventsService.java
  • src/main/java/im/toduck/domain/events/events/persistence/entity/Events.java
  • src/main/java/im/toduck/domain/events/events/presentation/dto/request/EventsCreateRequest.java
  • src/main/java/im/toduck/domain/events/events/presentation/dto/request/EventsUpdateRequest.java
  • src/main/java/im/toduck/domain/events/events/presentation/dto/response/EventsResponse.java
  • src/test/java/im/toduck/domain/events/detail/domain/usecase/EventsDetailUseCaseTest.java
  • src/test/java/im/toduck/domain/events/events/domain/usecase/EventsUseCaseTest.java

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.

@Seol-JY Seol-JY merged commit e937654 into main Jan 12, 2026
0 of 3 checks passed
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.

2 participants