Skip to content

fix/ADFA-2375 Shorten the permissions introduction text#1014

Merged
davidschachterADFA merged 2 commits intostagefrom
fix/ADFA-2375
Feb 25, 2026
Merged

fix/ADFA-2375 Shorten the permissions introduction text#1014
davidschachterADFA merged 2 commits intostagefrom
fix/ADFA-2375

Conversation

@davidschachterADFA
Copy link
Collaborator

Eventually, we will delete the permissions page. Until then, shortening the text addresses the immediate pain that the text overlaps the right arrow, confusing people.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Feb 25, 2026

📝 Walkthrough

Release Notes

Permissions UI Text Improvements

  • Shortened permissions introduction text to resolve UI overlap issue where text was overlapping the navigation arrow
  • Updated multiple permission-related string resources with more concise language:
    • Permissions intro: condensed to "Next page: permissions"
    • Notification permissions: clarified as "to receive status messages" with note about existing permissions
    • Storage, installation, and accessibility overlay permissions: simplified and shortened language
    • Logger service permission description: minor wording adjustment

Note: This is a temporary interim fix addressing immediate UI layout issues. Long-term plan involves deleting the permissions page entirely, making these strings obsolete.

Risk Considerations:

  • String resource changes affect user-facing UI messages - testing should verify that shortened text displays correctly without truncation and maintains clarity across all supported device sizes
  • Multiple string changes in a single file increase risk of localization issues if translations haven't been updated in parallel
  • Verify that the new concise messaging still adequately communicates permission requirements to end users

Walkthrough

This pull request updates text content in Android string resources, simplifying and shortening permission-related strings. All changes are confined to string resource values while maintaining identical resource keys. No functional code or control flow modifications are introduced.

Changes

Cohort / File(s) Summary
Permission String Resources
resources/src/main/res/values/strings.xml
Simplified and shortened text for 6 permission-related strings: permdesc_bind_logger_service, permissions_info_intro, permissions_info_notifications, permissions_info_storage, permissions_info_install, and permissions_info_overlay_accessibility. Updated wording makes descriptions more concise while preserving core messaging.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~5 minutes

Possibly related PRs

Suggested reviewers

  • hal-eisen-adfa

Poem

🐰✨ Strings grow shorter, clearer, bright,
Permissions simplified just right,
Each word refined, no fluff to see,
The message flows more naturally! 📱

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title 'Shorten the permissions introduction text' directly describes the main change—reducing text length in the permissions UI to fix overlapping issues.
Description check ✅ Passed The description explains the rationale for shortening permissions text (UI overlap with arrow) and mentions the long-term plan to delete the page, relating clearly to the changeset.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch fix/ADFA-2375

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🧹 Nitpick comments (1)
resources/src/main/res/values/strings.xml (1)

689-693: Reminder: Consider updating translation files.

The changed strings (permissions_info_intro, permissions_info_notifications, permissions_info_storage, permissions_info_install, permissions_info_overlay_accessibility) have no corresponding updates in locale-specific resource files (e.g., values-es-rES). The root-level tools:ignore="MissingTranslation" suppresses Lint warnings, and the PR is an acknowledged interim fix, so this is low risk for now. Translation files should be updated in a follow-up before the permissions page is fully retired.

Based on learnings: when reviewing resource string files, display strings in translation files should be updated separately from package identifiers.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@resources/src/main/res/values/strings.xml` around lines 689 - 693, Add the
new/changed display strings to each locale-specific resources file so
translations exist for permissions_info_intro, permissions_info_notifications,
permissions_info_storage, permissions_info_install, and
permissions_info_overlay_accessibility; update the corresponding values-<locale>
(e.g., values-es-rES, values-fr, etc.) XML files with translated text (or
placeholder translations) matching each string name and keep the same markup
(bold tags and arrows) to preserve formatting, so Lint’s MissingTranslation
suppression remains temporary until full localization is completed.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@resources/src/main/res/values/strings.xml`:
- Line 690: The string resource permissions_info_notifications contains a
parenthetical "(to receive status messages)" immediately followed by "On Android
12…" with no separating punctuation; update the string value for
permissions_info_notifications (and similarly the string used at the other
occurrence around line 693, e.g., permissions_info_debugger) to insert a period
(or other appropriate punctuation) after the closing parenthesis so the
parenthetical ends a sentence before the next sentence begins.

---

Nitpick comments:
In `@resources/src/main/res/values/strings.xml`:
- Around line 689-693: Add the new/changed display strings to each
locale-specific resources file so translations exist for permissions_info_intro,
permissions_info_notifications, permissions_info_storage,
permissions_info_install, and permissions_info_overlay_accessibility; update the
corresponding values-<locale> (e.g., values-es-rES, values-fr, etc.) XML files
with translated text (or placeholder translations) matching each string name and
keep the same markup (bold tags and arrows) to preserve formatting, so Lint’s
MissingTranslation suppression remains temporary until full localization is
completed.

ℹ️ Review info

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between bfd32a0 and 6a90a84.

📒 Files selected for processing (1)
  • resources/src/main/res/values/strings.xml

Copy link
Collaborator

@hal-eisen-adfa hal-eisen-adfa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@davidschachterADFA davidschachterADFA merged commit 44420c8 into stage Feb 25, 2026
2 checks passed
@davidschachterADFA davidschachterADFA deleted the fix/ADFA-2375 branch February 25, 2026 02:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants