Skip to content

ADFA-3491 | Update missing icons to Material Design#1174

Open
jatezzz wants to merge 1 commit intostagefrom
refactor/ADFA-3491-update-material-icons
Open

ADFA-3491 | Update missing icons to Material Design#1174
jatezzz wants to merge 1 commit intostagefrom
refactor/ADFA-3491-update-material-icons

Conversation

@jatezzz
Copy link
Copy Markdown
Collaborator

@jatezzz jatezzz commented Apr 10, 2026

Description

Updates the icons for recently added features to use standardized Material Design icons. This ensures all UI elements share a consistent line weight, color, and visual style. Raster images (.png) were removed, and vector drawables (.xml) were updated or replaced with their Material counterparts (e.g., switching to outlined help icons and updating the clone repo and computer vision vectors).

Details

Screen.Recording.2026-04-10.at.3.58.14.PM.mov

Ticket

ADFA-3491

Observation

Removed old .png assets in favor of XML vector drawables to improve app size, scaling, and maintainability.

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Apr 10, 2026

Warning

Rate limit exceeded

@jatezzz has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 17 minutes and 10 seconds before requesting another review.

Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 17 minutes and 10 seconds.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: be4939ed-c47d-4a42-9fdc-63af4b466547

📥 Commits

Reviewing files that changed from the base of the PR and between 2c25ecb and c6cf66e.

⛔ Files ignored due to path filters (2)
  • resources/src/main/res/drawable/fat_pen.png is excluded by !**/*.png
  • resources/src/main/res/drawable/ic_action_help.png is excluded by !**/*.png
📒 Files selected for processing (4)
  • app/src/main/java/com/itsaky/androidide/actions/file/ShowTooltipAction.kt
  • app/src/main/java/com/itsaky/androidide/actions/filetree/HelpAction.kt
  • resources/src/main/res/drawable/ic_clone_repo.xml
  • resources/src/main/res/drawable/ic_computer_vision.xml
📝 Walkthrough

Walkthrough

The PR updates drawable resource definitions and icon references in action classes. Two action classes now use an outlined variant of the help icon drawable, while two vector drawables are redesigned with larger viewports and new geometric path definitions.

Changes

Cohort / File(s) Summary
Action Icon References
app/src/main/java/com/itsaky/androidide/actions/file/ShowTooltipAction.kt, app/src/main/java/com/itsaky/androidide/actions/filetree/HelpAction.kt
Both actions now reference R.drawable.ic_action_help_outlined instead of R.drawable.ic_action_help for their toolbar/UI icons, with no changes to tinting or action logic.
Vector Drawable Resources
resources/src/main/res/drawable/ic_clone_repo.xml, resources/src/main/res/drawable/ic_computer_vision.xml
Both vector drawables have been redesigned with enlarged viewports (from 24x24 to 960x960 and ~1596x1602 respectively) and completely replaced path geometry definitions, altering the rendered icon shapes while maintaining fill and stroke attributes.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

Possibly related PRs

  • CodeOnTheGo#1129: Directly modifies the ic_action_help_outlined drawable resource that is now being referenced by ShowTooltipAction and HelpAction.

Suggested reviewers

  • itsaky-adfa
  • Daniel-ADFA

Poem

🐰 Icons dance in outlined grace,
Vector paths find their new place,
Viewports stretch from small to vast,
Help icons bloom—old swapped for fast! 🎨✨

🚥 Pre-merge checks | ✅ 2 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (2 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and specifically summarizes the main change: updating icons to Material Design standards, which aligns with all file changes in the PR.
Description check ✅ Passed The description is directly related to the changeset, explaining the purpose of icon updates and mentioning specific changes like switching to outlined help icons and updating vector assets.

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

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch refactor/ADFA-3491-update-material-icons

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
Copy Markdown
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: 2

🧹 Nitpick comments (1)
resources/src/main/res/drawable/ic_computer_vision.xml (1)

9-9: Remove redundant transparent stroke attributes.

android:strokeColor="#00000000" is repeated but not needed here. Dropping it trims XML noise and slightly reduces resource size.

Also applies to: 13-13, 17-17, 21-21

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

In `@resources/src/main/res/drawable/ic_computer_vision.xml` at line 9, Remove the
redundant transparent stroke attributes in ic_computer_vision.xml by deleting
the repeated android:strokeColor="#00000000" occurrences; locate the path/vector
elements that include android:strokeColor="#00000000" and remove that attribute
(leaving any necessary strokeWidth or fill attributes intact) to reduce XML
noise and resource size.
🤖 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/drawable/ic_computer_vision.xml`:
- Around line 2-5: The icon file ic_computer_vision.xml currently uses
android:width="20dp" android:height="20dp" with a huge viewport
(viewportWidth="1596" viewportHeight="1602") and very dense pathData, which
causes excessive downscaling for toolbar rendering; replace or normalize it to a
standard Material-size vector by setting android:width="24dp"
android:height="24dp" and viewportWidth/viewportHeight to 24 (or scale the
existing pathData mathematically to a 24x24 viewport), or swap the path for the
canonical 24x24 Material "computer" / "vision" icon path; ensure the path tag's
android:pathData is updated to the scaled/material version so GenerateXMLAction
(toolbar rendering) receives a 24x24 vector.
- Line 8: The vector drawable uses hardcoded black fill colors on its <path>
elements; add theme-driven tinting by adding
android:tint="?attr/colorControlNormal" to the root <vector> element and update
each path's android:fillColor to a neutral value (e.g. `@android`:color/white) so
the icon color is controlled by the theme; apply this change to all four <path>
elements.

---

Nitpick comments:
In `@resources/src/main/res/drawable/ic_computer_vision.xml`:
- Line 9: Remove the redundant transparent stroke attributes in
ic_computer_vision.xml by deleting the repeated android:strokeColor="#00000000"
occurrences; locate the path/vector elements that include
android:strokeColor="#00000000" and remove that attribute (leaving any necessary
strokeWidth or fill attributes intact) to reduce XML noise and resource size.
🪄 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: d8b12529-0d51-4c64-910c-de4abf4e172f

📥 Commits

Reviewing files that changed from the base of the PR and between d45ac54 and 2c25ecb.

⛔ Files ignored due to path filters (2)
  • resources/src/main/res/drawable/fat_pen.png is excluded by !**/*.png
  • resources/src/main/res/drawable/ic_action_help.png is excluded by !**/*.png
📒 Files selected for processing (4)
  • app/src/main/java/com/itsaky/androidide/actions/file/ShowTooltipAction.kt
  • app/src/main/java/com/itsaky/androidide/actions/filetree/HelpAction.kt
  • resources/src/main/res/drawable/ic_clone_repo.xml
  • resources/src/main/res/drawable/ic_computer_vision.xml

Replaces old PNGs and updates vectors for consistent line weight and UI/UX.
@jatezzz jatezzz force-pushed the refactor/ADFA-3491-update-material-icons branch from 2c25ecb to c6cf66e Compare April 10, 2026 21:16
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.

1 participant