Skip to content

feat(core-ui): AfternoteFieldContainer 비활성 시각 대응 (closes 342)#401

Open
1hyok wants to merge 1 commit into
developfrom
feat/342
Open

feat(core-ui): AfternoteFieldContainer 비활성 시각 대응 (closes 342)#401
1hyok wants to merge 1 commit into
developfrom
feat/342

Conversation

@1hyok

@1hyok 1hyok commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

📌𝘐𝘴𝘴𝘶𝘦𝘴

Closes #342 — core-ui: AfternoteFieldContainer 의 enabled 가 clickable 에만 영향, 시각 미반영

📎𝘞𝘰𝘳𝘬 𝘋𝘦𝘴𝘤𝘳𝘪𝘱𝘵𝘪𝘰𝘯

  • AfternoteFieldContainer(enabled = false) 가 기존엔 clickable(enabled = ...) 에만 반영돼 클릭만 막히고 보더·배경은 활성과 동일하던 문제 수정
  • enabled = false 시 배경 white→gray2, 보더 gray2→gray3 로 분기 (비활성 버튼 AfternoteButtonType.Un 과 동일 팔레트)
  • enabled / disabled screenshot baseline 추가 (AfternoteFieldContainerScreenshotTest)

📷𝘚𝘤𝘳𝘦𝘦𝘯𝘴𝘩𝘰𝘵

Compose Preview Screenshot Test 로 enabled / disabled baseline 고정. disabled 는 gray2 배경 + gray3 보더로 비활성이 시각적으로 드러남.

💬𝘛𝘰 𝘙𝘦𝘷𝘪𝘦𝘸𝘦𝘳𝘴

  • 디자인 시안 미확정 — 비활성 색은 기존 AfternoteButtonType.Un(gray2 배경 / gray3 보더) 팔레트 차용. 시안 확정 시 토큰 조정 가능.
  • 내부 content(텍스트) 색은 슬롯 주입이라 호출부가 상태에 맞춰 결정 (예: DocumentSlotCard 업로드 중 gray6). 컨테이너는 배경·보더만 책임.
  • 빌드 검증: ./gradlew :core:ui:compileDebugKotlin :core:ui:compileDebugScreenshotTestKotlin BUILD SUCCESSFUL

- `AfternoteFieldContainer`의 `enabled` 상태에 따라 배경색과 보더 색상이 변경되도록 로직 수정
- 비활성 상태 시 배경(`white` -> `gray2`) 및 보더(`gray2` -> `gray3`) 색상을 전환하여 시각적 피드백 강화
- 컴포넌트 KDoc에 상태별 색상 변경 규칙 및 디자인 의도 설명 추가
- `AfternoteFieldContainerScreenshotTest`를 작성하여 활성/비활성 상태에 대한 시각적 회귀 테스트 자동화 및 레퍼런스 이미지 추가
@1hyok 1hyok added the enhancement New feature or request label Jun 4, 2026
@github-actions github-actions Bot requested review from Sadturtleman and koongmai June 4, 2026 07:04
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.

core-ui: AfternoteFieldContainer 의 enabled 가 clickable 에만 영향, 시각 미반영

1 participant