Skip to content

fix(core-ui): TextField 기본 placeholder 더미 노출 수정 (closes 394)#398

Open
1hyok wants to merge 3 commits into
developfrom
feat/394
Open

fix(core-ui): TextField 기본 placeholder 더미 노출 수정 (closes 394)#398
1hyok wants to merge 3 commits into
developfrom
feat/394

Conversation

@1hyok

@1hyok 1hyok commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

📌𝘐𝘴𝘴𝘶𝘦𝘴

Closes #394 — fix(core-ui): TextField 기본 placeholder 더미 노출 수정

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

  • AfternoteTextField의 placeholder 기본 파라미터를 하드코딩 "Text Field" → string 리소스 core_ui_text_field_placeholder("입력해 주세요")로 교체 (TextFieldShort.kt)
  • CaptionLabeledTextFieldplaceholder 파라미터 추가 + 하위 전파
  • SearchableSongList 노래 검색 필드: 하드코딩 "Text Field" → 기존 song_search_placeholder string 사용
  • afternote 에디터 메시지 placeholder string 더미값 정리
  • placeholder 변경 반영해 screenshot baseline 4개 갱신

📷𝘚𝘤𝘳𝘦𝘦𝘯𝘴𝘩𝘰𝘵

placeholder 텍스트 변경 — screenshot baseline 4개 갱신으로 반영 (Compose Preview / screenshot test 검증). 별도 캡처 없음.

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

  • 발신자 등록 등 placeholder 미지정 호출부는 기본값 교체로 자동 해결됩니다.
  • feature/timeletter·feature/setting의 동일 "Text Field" 하드코딩은 타 담당자 영역이라 이 PR 범위에서 제외했습니다.
  • 빌드 검증: ./gradlew :core:ui:compileDebugKotlin :feature:afternote:presentation:compileDebugKotlin → BUILD SUCCESSFUL

- `TextFieldShort`, `SearchableSongList` 등 주요 컴포저블에서 하드코딩된 "Text Field" 문자열을 `stringResource`를 사용하도록 수정
- `CaptionLabeledTextField`에 `placeholder` 파라미터를 추가하여 외부에서 플레이스홀더를 주입할 수 있도록 개선
- `afternote_editor_message_text_field_placeholder` 리소스 문자열을 "입력해 주세요"로 구체화
- 텍스트 및 레이아웃 변경에 따른 core-ui 모듈의 스크린샷 테스트 레퍼런스 이미지 업데이트
@1hyok 1hyok linked an issue Jun 4, 2026 that may be closed by this pull request
@github-actions github-actions Bot requested review from Sadturtleman and koongmai June 4, 2026 05:58
@github-actions

github-actions Bot commented Jun 4, 2026

Copy link
Copy Markdown

Screenshot test fail — baseline 과 CI rendered PNG 차이.

📦 Artifact: https://github.com/Afternote/Afternote-FE/actions/runs/26936796018 (페이지 하단 Artifacts → screenshot-test-results)

🔍 확인 위치 (artifact zip 내부):

  • diff PNG: preview/debug/diffs/...
  • rendered PNG: preview/debug/rendered/... (CI 환경에서 새로 그린 결과)
  • baseline PNG: repo <module>/src/screenshotTestDebug/reference/... (:core:ui · :app · :feature:onboarding:presentation · :feature:afternote:presentation)

📝 조치 가이드:

  • 의도된 시각 변경 → docker build -t afternote-screenshot:latest -f Dockerfile.screenshot .docker run --rm -v "$PWD":/workspace -w /workspace afternote-screenshot:latest ./gradlew :<module>:updateScreenshotTest 로 baseline 갱신 + commit/push
  • diff 가 anti-aliasing/font 차이로 보이면 docker 환경 변경 여부 (Dockerfile.screenshot) 점검

CI ↔ 로컬 환경 차이는 본 워크플로의 container 단계가 root fix 한다 (README 의 "Compose Preview Screenshot Testing (docker baseline)" 섹션 참조).

@1hyok 1hyok added the bug Something isn't working label Jun 4, 2026
1hyok added 2 commits June 4, 2026 16:12
- `AfternotePopupCardLayout` 스크린샷 테스트 레퍼런스 이미지 업데이트
- `BottomBar` 스크린샷 테스트 레퍼런스 이미지 업데이트
- `ProfileImagePicker` 플레이스홀더 스크린샷 테스트 레퍼런스 이미지 업데이트
- `CustomServiceDialog` 스크린샷 테스트의 레퍼런스 이미지 최신화
- `MemorialPlaylistScreen` 스크린샷 테스트의 레퍼런스 이미지 최신화
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(core-ui): TextField 기본 placeholder 더미 노출 수정

1 participant