[FIX/#305] 2차 QA 수정#306
Conversation
Walkthrough이 PR은 2차 QA 피드백을 반영하여 다이얼로그의 기본 닫기 버튼 텍스트를 로컬라이제이션된 문자열로 변경하고, 지역 변경 화면의 미사용 콜백 매개변수를 제거하며, 버튼 스타일과 확인 텍스트를 업데이트하고, UI 텍스트 리소스를 수정합니다. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested labels
Suggested reviewers
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
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. Comment |
There was a problem hiding this comment.
🧹 Nitpick comments (1)
app/src/main/java/com/smashing/app/core/designsystem/component/dialog/SmashingDialog.kt (1)
129-145:dismissTextnull 시 빈 라벨 버튼 fallback은 피하는 것을 권장합니다.Line 129, Line 144에서 빈 문자열 fallback이 유지되어, 텍스트 없는 취소 버튼이 렌더링될 수 있습니다. 최소한 기본 취소 문구를 두는 편이 UX/접근성에 안전합니다.
제안 diff
-import com.smashing.app.R.string.blank_label +import com.smashing.app.R.string.cancel_short @@ - text = dismissText ?: stringResource(blank_label), + text = dismissText ?: stringResource(cancel_short), @@ - text = dismissText ?: stringResource(blank_label), + text = dismissText ?: stringResource(cancel_short),🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@app/src/main/java/com/smashing/app/core/designsystem/component/dialog/SmashingDialog.kt` around lines 129 - 145, 현재 SmashingAlertButton 호출에서 dismissText가 null일 때 stringResource(blank_label)로 빈 레이블을 렌더링하는데, 취소 버튼은 빈 텍스트 대신 명시적 기본 문구를 보여주도록 수정하세요: SmashingAlertButton의 text 인자에 dismissText ?: stringResource(R.string.default_cancel)처럼 명확한 취소 리소스(또는 프로젝트의 기본 취소 문자열 리소스 명)를 사용하거나 dismissText를 non-null로 강제하는 방식으로 변경해 접근성/UX 문제를 해결하세요; 참조 심볼: dismissText, SmashingAlertButton, onDismissClick, stringResource(blank_label).
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Nitpick comments:
In
`@app/src/main/java/com/smashing/app/core/designsystem/component/dialog/SmashingDialog.kt`:
- Around line 129-145: 현재 SmashingAlertButton 호출에서 dismissText가 null일 때
stringResource(blank_label)로 빈 레이블을 렌더링하는데, 취소 버튼은 빈 텍스트 대신 명시적 기본 문구를 보여주도록
수정하세요: SmashingAlertButton의 text 인자에 dismissText ?:
stringResource(R.string.default_cancel)처럼 명확한 취소 리소스(또는 프로젝트의 기본 취소 문자열 리소스 명)를
사용하거나 dismissText를 non-null로 강제하는 방식으로 변경해 접근성/UX 문제를 해결하세요; 참조 심볼: dismissText,
SmashingAlertButton, onDismissClick, stringResource(blank_label).
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Pro
Run ID: cc0a568f-57b0-4c63-9b29-5b57bd1f81db
📒 Files selected for processing (4)
app/src/main/java/com/smashing/app/core/designsystem/component/dialog/SmashingDialog.ktapp/src/main/java/com/smashing/app/core/designsystem/component/ranking/SmashingRankingItem.ktapp/src/main/java/com/smashing/app/presentation/home/regionchange/RegionChangeScreen.ktapp/src/main/res/values/strings.xml
💤 Files with no reviewable changes (1)
- app/src/main/java/com/smashing/app/core/designsystem/component/ranking/SmashingRankingItem.kt
seungjunGong
left a comment
There was a problem hiding this comment.
텍스트 자잘하게 수정된 부분들 QA 시트에서 못봤던거 같은데
어떻게 찾아서 수정해주셨네요 ㅎ.. 고생하셨습니다
Related issue 🛠
Work Description ✏️
Screenshot 📸
Uncompleted Tasks 😅
To Reviewers 📢
Summary by CodeRabbit
릴리스 노트
Bug Fixes
UI & 텍스트 개선
Chores