Skip to content

ADFA-2424 Removing permissions_info_title#842

Merged
davidschachterADFA merged 3 commits into
stagefrom
ADFA-2424-Remove-string-name-permissions_info_title
Jan 16, 2026
Merged

ADFA-2424 Removing permissions_info_title#842
davidschachterADFA merged 3 commits into
stagefrom
ADFA-2424-Remove-string-name-permissions_info_title

Conversation

@hal-eisen-adfa
Copy link
Copy Markdown
Collaborator

Save some space on the welcome page

@hal-eisen-adfa hal-eisen-adfa requested a review from a team January 16, 2026 04:44
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Jan 16, 2026

📝 Walkthrough

Release Notes: Removed permissions_info_title String

Changes Made

  • Removed unused string resource: Deleted permissions_info_title from resources/src/main/res/values/strings.xml to reduce space on the welcome/permissions page
  • Updated permissions info layout: Modified app/src/main/res/layout/fragment_permissions_info.xml to remove the title TextView and adjusted spacing:
    • Removed title_text TextView component
    • Updated intro_text top margin from 16dp to 24dp
    • Reanchored intro_text constraint to be positioned directly below the logo instead of below the removed title

Risk Assessment

  • No breaking changes detected: Comprehensive codebase search confirms no remaining references to permissions_info_title in Java/Kotlin code or layout files
  • No orphaned localization strings: Only the primary English string resource was removed; no dangling translations to handle
  • Layout consistency maintained: All constraint references updated; no broken constraint chains

Best Practices

  • ✅ Follows proper Android resource removal pattern: layout updated to reflect string resource removal
  • ✅ Spacing adjustments maintain UI/UX balance (24dp margin provides adequate visual breathing room)

Walkthrough

This pull request removes a title text view from the permissions info layout and consolidates the UI spacing by repositioning the intro text constraint to reference the logo instead. The associated string resource for the title is also removed.

Changes

Cohort / File(s) Summary
Layout UI Cleanup
app/src/main/res/layout/fragment_permissions_info.xml
Removed title_text TextView element; adjusted intro_text top margin from 16dp to 24dp; updated intro_text constraint from Top_toBottomOf title_text to Top_toBottomOf logo.
String Resources
resources/src/main/res/values/strings.xml
Removed permissions_info_title string resource entry.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Poem

🐰 A title view hops away,
Spacing springs up in its place,
Strings simplify their display,
Layout finds a cleaner face!
Less is more, the designers say. ✨

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title directly references the main change: removing the permissions_info_title resource. It is specific and clearly summarizes the primary change.
Description check ✅ Passed The description 'Save some space on the welcome page' is related to the changeset—it provides the rationale (space savings) for removing the permissions_info_title resource.
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.



📜 Recent review details

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 383f2f8 and 87dc880.

📒 Files selected for processing (2)
  • app/src/main/res/layout/fragment_permissions_info.xml
  • resources/src/main/res/values/strings.xml
💤 Files with no reviewable changes (1)
  • resources/src/main/res/values/strings.xml
🧰 Additional context used
🧠 Learnings (1)
📚 Learning: 2026-01-05T21:36:07.517Z
Learnt from: hal-eisen-adfa
Repo: appdevforall/CodeOnTheGo PR: 780
File: app/src/main/res/layout/activity_about.xml:123-124
Timestamp: 2026-01-05T21:36:07.517Z
Learning: In the CodeOnTheGo project, drawable resources should reside in the resources module at ./resources/src/main/res/drawable/, and the app module should depend on that module so drawables are accessible across the application. Do not duplicate drawables in app/src/main/res/drawable/. Ensure layout XMLs (e.g., activity_about.xml) reference drawables from the resources module via the module dependency (e.g., drawable/ name). This improves reuse, consistency, and reduces duplication across modules.

Applied to files:

  • app/src/main/res/layout/fragment_permissions_info.xml
🔇 Additional comments (1)
app/src/main/res/layout/fragment_permissions_info.xml (1)

23-32: Constraint + spacing update looks good.

Intro text now correctly anchors to the logo with a sensible top margin after removing the title view.

✏️ Tip: You can disable this entire section by setting review_details to false in your review settings.


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.

@davidschachterADFA davidschachterADFA merged commit 2832269 into stage Jan 16, 2026
2 checks passed
@davidschachterADFA davidschachterADFA deleted the ADFA-2424-Remove-string-name-permissions_info_title branch January 16, 2026 05:36
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