Skip to content

refactor(core): 라디오 단품 CustomRadioButton 직접 사용을 Deprecated·Konsist 가드로 막는다 (#649 분리) #1728

Closed

Description

@OnlyReadOneBook

작업 유형

refactor — 동작 변경 없는 구조·책임·경계 개선

주 담당 모듈

core — 코어

개요

#1354 로 AfternoteRadioGroup 이 들어왔지만 단품 CustomRadioButton 은 아무 제약 없이 공개돼 있어, 선택값 소유권이 호출부에 남는 오용(#648 실사고)이 다시 들어올 수 있다. 부모 #649 의 「단품 직접 사용 제한」 몫을 분리했다. PR #1639 가 구현한다. 단품 삭제는 하지 않는다 — 마지막 사용처(setting)가 #1396 으로 이관된 뒤 부모에서 한다.

  • CustomRadioButton 에 @Deprecated(WARNING, ReplaceWith 없음) + 이관 근거 KDoc
  • SingleSelectionRadioKonsistTest — app·core·feature 전 소스셋에서 core:ui button 패키지 밖 CustomRadioButton 참조(FQN 포함) 금지. 잔여 1건(feature/setting/.../RadioGroupCard.kt)은 허용 목록(Set<String> 명시), 해소된 항목은 경고만 찍는 짝 테스트
  • core/ui/README.md Radio 항목·안티패턴 표에 단품 금지 명시
  • 남의 모듈 0줄 — setting 은 경고만 내고 컴파일된다

참고

Activity

  1. added
    refactor동작 변경 없이 코드 구조·책임·경계를 개선하는 작업
    area:core공용 코어·네트워크 기능 영역
    on Sep 2, 2026
  2. added
    pr-open이 이슈를 구현하는 PR 이 열려 있다 — base 가 기본 브랜치가 아니어도 드러낸다
    on Sep 2, 2026
  3. removed
    pr-open이 이슈를 구현하는 PR 이 열려 있다 — base 가 기본 브랜치가 아니어도 드러낸다
    on Sep 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

area:core공용 코어·네트워크 기능 영역refactor동작 변경 없이 코드 구조·책임·경계를 개선하는 작업

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions