Skip to content

feat(inbox): replace visual inbox empty-state text with a dimmed bell - #834

Merged
mahmoud-elmorabea merged 1 commit into
mainfrom
mbl-2366-inbox-a11y-labels
Sep 9, 2026
Merged

mahmoud-elmorabea merged 1 commit into
mainfrom
mbl-2366-inbox-a11y-labels

Conversation

@mahmoud-elmorabea

Copy link
Copy Markdown
Contributor

Removes the Visual Notification Inbox's hardcoded English copy and accessibility labels: the empty state becomes the workspace's own bell glyph (dimmed, no text), and host apps supply any accessibility labels themselves via InboxAccessibilityLabels on the in-app module config.

Pairs with customerio/customerio-ios#1251.

🤖 Generated with Claude Code

@github-actions

github-actions Bot commented Sep 3, 2026

Copy link
Copy Markdown

Sample app builds 📱

Below you will find the list of the latest versions of the sample apps. It's recommended to always download the latest builds of the sample apps to accurately test the pull request.


  • java_layout: mbl-2366-inbox-a11y-labels (1788623643)
  • kotlin_compose: mbl-2366-inbox-a11y-labels (1788623632)

Commit 79196d4 · CI run

@codecov

codecov Bot commented Sep 3, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 23.33333% with 46 lines in your changes missing coverage. Please review.
✅ Project coverage is 68.11%. Comparing base (b5cf24d) to head (79196d4).
⚠️ Report is 47 commits behind head on main.

Files with missing lines Patch % Lines
...ustomer/messaginginbox/NotificationInboxOverlay.kt 0.00% 32 Missing ⚠️
...a/io/customer/messaginginbox/InboxAccessibility.kt 12.50% 13 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main     #834      +/-   ##
============================================
- Coverage     69.07%   68.11%   -0.96%     
- Complexity      838     1658     +820     
============================================
  Files           149      250     +101     
  Lines          4601     9396    +4795     
  Branches        628     1513     +885     
============================================
+ Hits           3178     6400    +3222     
- Misses         1189     2480    +1291     
- Partials        234      516     +282     

☔ 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.

@github-actions

github-actions Bot commented Sep 3, 2026

Copy link
Copy Markdown

Build available to test
Version: mbl-2366-inbox-a11y-labels-SNAPSHOT
Repository: https://central.sonatype.com/repository/maven-snapshots/

@github-actions

github-actions Bot commented Sep 3, 2026

Copy link
Copy Markdown

📏 SDK Binary Size Comparison Report

Module Last Recorded Size Current Size Change in Size
core 46.02 KB 46.02 KB ✅ No Change
datapipelines 42.67 KB 42.67 KB ✅ No Change
messagingpush 71.44 KB 71.44 KB ✅ No Change
messaginginapp 151.88 KB 152.88 KB ⬆️ +1.00KB
messaginginbox 60.46 KB 61.19 KB ⬆️ +0.73KB
tracking-migration 22.89 KB 22.89 KB ✅ No Change
location 18.93 KB 18.93 KB ✅ No Change
geofence 94.41 KB 94.41 KB ✅ No Change

The Visual Notification Inbox shipped English copy and accessibility labels
that host apps could not translate. The empty state is now the workspace's own
bell glyph, dimmed — no text — and every accessibility label is supplied by the
host through `NotificationInboxAccessibilityLabels` on the in-app module config.
Unconfigured labels are omitted rather than falling back to SDK English, and the
unread badge is hidden from TalkBack so a bare count is never appended to an
otherwise unnamed bell.

The unread-count label is a function so hosts can apply their own plural rules.
Labels are read as the inbox renders rather than captured when a composable
enters composition, so a host that initializes the SDK later still gets them.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@mahmoud-elmorabea
mahmoud-elmorabea force-pushed the mbl-2366-inbox-a11y-labels branch from 51a8110 to 79196d4 Compare September 5, 2026 15:52
@mahmoud-elmorabea
mahmoud-elmorabea marked this pull request as ready for review September 5, 2026 15:54
@mahmoud-elmorabea
mahmoud-elmorabea requested a review from a team as a code owner September 5, 2026 15:54

@Shahroz16 Shahroz16 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

The inbox accessibility changes look good. The focused tests pass, and I found no remaining issue in the implementation.

@mahmoud-elmorabea
mahmoud-elmorabea merged commit a6ff2e2 into main Sep 9, 2026
38 checks passed
@mahmoud-elmorabea
mahmoud-elmorabea deleted the mbl-2366-inbox-a11y-labels branch September 9, 2026 08:33
cio-mobile-release Bot pushed a commit that referenced this pull request Sep 9, 2026
## [4.21.0](4.20.4...4.21.0) (2026-09-09)

### Features

* **inbox:** replace visual inbox empty-state text with a dimmed bell ([#834](#834)) ([a6ff2e2](a6ff2e2))
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