ADFA-4690-Clean-up-capitalization-in-Open-External-Link-dialog-box#1549
ADFA-4690-Clean-up-capitalization-in-Open-External-Link-dialog-box#1549Elissa-AppDevforAll wants to merge 2 commits into
Conversation
For URL consent dialog box
There was a problem hiding this comment.
Claude Code Review
This repository is configured for manual code reviews. Comment @claude review for a one-time review, or @claude review always to subscribe this PR to a review on every future push.
Tip: disable this comment in your organization's Code Review settings.
📝 Walkthrough
WalkthroughThe URL consent dialog resources update its title formatting, changes the action labels to “No” and “Yes,” and adjusts the “Don’t ask again” capitalization. The consent message and ChangesURL consent dialog
Estimated code review effort: 1 (Trivial) | ~2 minutes Suggested reviewers: Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 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.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@resources/src/main/res/values/strings.xml`:
- Line 1218: Restore the warning dialog’s cancel label without changing its
intended “Cancel” action: update the url_consent_cancel resource used by
MainActivity, or switch that dialog to an existing generic cancel resource,
while preserving the URL-consent dialog’s separate negative label as “No”.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: 581690d1-23bd-4a0f-b0e9-be7199d8037c
📒 Files selected for processing (1)
resources/src/main/res/values/strings.xml
| <string name="url_consent_cancel">Cancel</string> | ||
| <string name="url_consent_proceed">Proceed</string> | ||
| <string name="url_consent_dont_ask">Don\'t Ask Again</string> | ||
| <string name="url_consent_cancel">No</string> |
There was a problem hiding this comment.
🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win
Keep the unrelated warning dialog’s label as “Cancel”.
MainActivity.kt also uses url_consent_cancel for a warning dialog whose negative action is intended to be “Cancel”. This change makes that dialog display “OK”/“No”. Use a dedicated URL-consent negative label or an existing generic cancel resource instead.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@resources/src/main/res/values/strings.xml` at line 1218, Restore the warning
dialog’s cancel label without changing its intended “Cancel” action: update the
url_consent_cancel resource used by MainActivity, or switch that dialog to an
existing generic cancel resource, while preserving the URL-consent dialog’s
separate negative label as “No”.
Also changed "Proceed" to "Yes" and "Cancel" to "No" because those are the answers to the question being asked.