Skip to content

CCCT-2774 Update Connect Action Bar Icons To New Designs - #3879

Open
OrangeAndGreen wants to merge 2 commits into
masterfrom
CCCT-2774-update-action-bar-icons
Open

CCCT-2774 Update Connect Action Bar Icons To New Designs#3879
OrangeAndGreen wants to merge 2 commits into
masterfrom
CCCT-2774-update-action-bar-icons

Conversation

@OrangeAndGreen

@OrangeAndGreen OrangeAndGreen commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

CCCT-2774

Product Description

The refresh and notifications icons in the PersonalID/Connect action bar are updated to the new designs. The refresh icon changes from a cloud-with-arrow to two arrows in a circle, and the notification bell takes on the new outline shape. The unread badge is now part of the bell glyph itself rather than a separate red circle.

Technical Summary

The new icons are Material Symbols Outlined at weight 300, 24px. I confirmed the family by converting the Figma export's coordinates back to the 960 grid and matching them against Google's published _wght300_24px.svg sources, then generated the drawables from those canonical paths rather than from the Figma clipboard output.

Two things worth knowing before reading the diff:

  • ic_backup is renamed to ic_sync, since "backup" no longer describes the artwork. @color/ic_backup went with it — the deleted drawable was its only consumer, and all three menus that show the icon already tint it white. The menu item IDs (notification_cloud_sync, cloud_sync) still say "cloud"; they're wired into Java/Kotlin so I left them alone.
  • Only the unread bell appears in the Figma designs, and its source component has been removed from the "[OLD] CommCare Connect Components" library. I used Material Symbols notifications at the same weight as the read-state counterpart — worth a designer confirm.

Safety Assurance

Safety story

What gives confidence:

  • I ran the app and visually checked the Connect action bar icons, and confirmed the sync icon still renders on the work history and push notification screens.
  • The diff is resource-only — no Java or Kotlin changes, so there is no behavior or data impact.
  • assembleCommcareDebug passes and all three vector drawables compile into the APK, which means AAPT accepted the path data.
  • I verified @color/ic_backup had no other consumer before removing it.

Risks to review:

  • The unread badge changes color. It was a separate red #E44434 circle; per Figma it is now white and part of the monochrome glyph. This is a deliberate design change, but it is a visible departure from what ships today and is the thing most likely to draw a "was this intended?" question.
  • The read-state bell is inferred rather than taken from Figma (see Technical Summary). If the designer intended something else, that icon is wrong.
  • ic_bell is also used untinted in the nav drawer footer, which sits on @color/connect_blue_color. I did not exercise the nav drawer with an unread notification, so the unread bell in that surface is unverified.
  • menu_work_history.xml was pulled in because it referenced the same drawable. That screen is slightly outside the ticket's stated scope.

OrangeAndGreen and others added 2 commits August 24, 2026 14:27
Swap the PersonalID/Connect action bar icons for the new Figma designs,
which use Material Symbols Outlined at weight 300, 24px:

- Refresh: cloud-with-arrow replaced by the two-arrows-in-a-circle
  "sync" glyph. Renamed ic_backup -> ic_sync since "backup" no longer
  describes the artwork, and dropped @color/ic_backup along with it
  (the deleted drawable was its only consumer; all three menus that
  show the icon tint it white).
- Notifications: new "notifications" / "notifications_unread" bell
  shapes. The unread badge is now part of the monochrome glyph rather
  than a separate red circle, and the hand-rolled outline path in
  ic_new_notification_bell collapses to a single path.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@OrangeAndGreen OrangeAndGreen self-assigned this Aug 24, 2026
@OrangeAndGreen

Copy link
Copy Markdown
Contributor Author

Suggested Review Order

  • app/res/drawable/ic_backup.xml — the deleted icon; read it first for the before/after contrast
  • app/res/drawable/ic_sync.xml — its replacement, the new two-arrows-in-a-circle glyph
  • app/res/drawable/ic_new_notification_bell.xml — unread bell; the badge color change lives here
  • app/res/drawable/ic_bell.xml — read-state bell, the one icon inferred rather than taken from Figma
  • app/res/menu/menu_connect.xml — main Connect action bar, where both icons appear together
  • app/res/menu/menu_notification.xml, app/res/menu/menu_work_history.xml — the other two sync-icon consumers
  • app/res/values/colors.xml — removal of the now-orphaned ic_backup color
  • RELEASES.md — release note only; no QA notes for this change

@coderabbitai

coderabbitai Bot commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 334993bb-d56f-4e77-83b9-83f0d3ca5232

📥 Commits

Reviewing files that changed from the base of the PR and between aef4da2 and c536bb1.

📒 Files selected for processing (9)
  • RELEASES.md
  • app/res/drawable/ic_backup.xml
  • app/res/drawable/ic_bell.xml
  • app/res/drawable/ic_new_notification_bell.xml
  • app/res/drawable/ic_sync.xml
  • app/res/menu/menu_connect.xml
  • app/res/menu/menu_notification.xml
  • app/res/menu/menu_work_history.xml
  • app/res/values/colors.xml
💤 Files with no reviewable changes (2)
  • app/res/values/colors.xml
  • app/res/drawable/ic_backup.xml

Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review.


📝 Walkthrough

Walkthrough

The release notes now document updated Connect action bar icons. The bell drawables use Material Symbols notification paths. A new white sync drawable replaces the former backup drawable in the Connect, notification, and work history menus. The obsolete backup drawable and color resource were removed.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Merge Risk: ⚪ Minimal · up to c536b

This is a localized visual resource update with no behavior or data changes; no actionable merge-blocking risk remains after normal checks and review.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0 files. (7 skipped: 7 unsupported.)
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Description check ✅ Passed The description covers the product change, technical rationale, ticket, safety story, testing, risks, and release-note update.
Title check ✅ Passed The title clearly and concisely identifies the update to the Connect action bar icons.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch CCCT-2774-update-action-bar-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.

@codecov

codecov Bot commented Aug 24, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 32.98%. Comparing base (bc5cd55) to head (c536bb1).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #3879      +/-   ##
============================================
- Coverage     33.04%   32.98%   -0.07%     
+ Complexity     5864     5861       -3     
============================================
  Files           999      999              
  Lines         59398    59398              
  Branches       7093     7093              
============================================
- Hits          19628    19590      -38     
- Misses        37528    37567      +39     
+ Partials       2242     2241       -1     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@OrangeAndGreen
OrangeAndGreen marked this pull request as ready for review August 24, 2026 19:35
@OrangeAndGreen
OrangeAndGreen requested review from a team, Jignesh-dimagi and shubham1g5 and removed request for a team and shubham1g5 August 24, 2026 19:35
@Jignesh-dimagi

Copy link
Copy Markdown
Contributor

Looks good! Just a minor detail: the icon order in the implementation differs slightly from the design specs. The design places Sync then Notification (left-to-right), whereas the implementation currently has Notification then Sync. I'm not sure if the exact ordering is mandatory. I also noticed the spacing between them is slightly off compared to Figma.

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