Skip to content

Conversation

@jaypanchal-13
Copy link
Contributor

@jaypanchal-13 jaypanchal-13 commented Jan 21, 2026

Product Description

Ticket -> https://dimagi.atlassian.net/browse/CCCT-1985

  • Changed no data msg in multiple screen's

Screen Shot -> Left -> before screenshot and right -> after screenshot

Screenshot 2026-01-27 113643 Screenshot 2026-01-27 114828 Screenshot 2026-01-27 112953 Screenshot 2026-01-27 120536

Technical Summary

Feature Flag

Safety Assurance

Safety story

Automated test coverage

QA Plan

Labels and Review

  • Do we need to enhance the manual QA test coverage ? If yes, the "QA Note" label is set correctly
  • Does the PR introduce any major changes worth communicating ? If yes, the "Release Note" label is set and a "Release Note" is specified in PR description.
  • Risk label is set correctly
  • The set of people pinged as reviewers is appropriate for the level of risk of the change

@coderabbitai
Copy link

coderabbitai bot commented Jan 21, 2026

📝 Walkthrough

Walkthrough

This change updates user-facing strings and layout attributes across multiple language resource files. The primary modification is renaming the notification string resource from pn_no_notification_found to pn_no_notification_available with revised message text in English and ten localized variants (Spanish, French, Hindi, Lithuanian, Norwegian, Portuguese, Swahili, Tigrinya, and others). Additional strings like connect_no_jobs, personalid_work_history_no_records_available, and no_channel_msg are similarly updated with reworded messaging. A layout XML file has attribute adjustments applied to the tvNoWorkHistoryAvailable view, including margin and padding removals and color/constraint modifications.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

Possibly related PRs

  • PR #3120 — Modifies the same French strings resource file and includes the pn_no_notification_foundpn_no_notification_available string rename.
  • PR #3344 — Modifies app/res/layout/fragment_work_history_earned.xml and adjusts the tvNoWorkHistoryAvailable view attributes.
  • PR #3269 — Updates the same pn_no_notification_foundpn_no_notification_available string resource rename across language variants.

Suggested labels

Release Note, QA Note

Suggested reviewers

  • OrangeAndGreen
  • Jignesh-dimagi
  • shubham1g5
  • conroy-ricketts
🚥 Pre-merge checks | ✅ 2 | ❌ 1
❌ Failed checks (1 inconclusive)
Check name Status Explanation Resolution
Description check ❓ Inconclusive The PR description is incomplete. While it references the ticket and provides screenshots, critical sections lack detail or explanation. Please provide more context in Technical Summary explaining the rationale for messaging changes, and complete Safety Assurance sections (Safety story, Automated test coverage, QA Plan) to substantiate that this change is regression-free.
✅ Passed checks (2 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Title check ✅ Passed The title clearly relates to the main changes in the PR, which involve updating empty-state messages across multiple screens and layouts.

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

✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch CCCT-1985-update-empty-screen-text

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

@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

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
app/res/layout/fragment_work_history_earned.xml (1)

8-18: Avoid hardcoded black text color.

If the parent background changes (e.g., dark theme), black text can become unreadable. Prefer a theme attribute so the empty-state text adapts to the active theme.

🛠️ Suggested change
-        android:textColor="@color/black"
+        android:textColor="?attr/textColorPrimary"
🤖 Fix all issues with AI agents
In `@app/res/values-ti/strings.xml`:
- Line 292: The Tigrinya string identified by name "connect_no_jobs" contains
stray Thai characters (“ปรากฏ”) and must be replaced with the correct Tigrinya
text via the localization process; locate the <string name="connect_no_jobs">
entry and update its value to the proper Tigrinya translation (using your
i18n/localization workflow or translator) so the sentence is entirely in
Tigrinya and free of mixed-script characters.

<string name="connect_last_update">ዝተመሓየሸ: %s</string>
<string name="connect_title">ኣራኽብ</string>
<string name="connect_no_jobs">ኣብ ዝኾነ ንጡፍ ዕድላት ኣይተዓደምኩምን። በይዛኹም ፀኒሕኹም ተመለሱ።</string>
<string name="connect_no_jobs">ንሕጂ ናብ ዝኾነ ዕድላት ኣይተዓደምካን። ሓንሳብ ናብ ዕድል ምስ ተዓደምካ፡ ኣብዚ ዝርዝር ክปรากฏ እዩ።</string>
Copy link

@coderabbitai coderabbitai bot Jan 21, 2026

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor

Fix mixed-script text in Tigrinya string.

The connect_no_jobs translation includes Thai characters (“ปรากฏ”), which looks like an accidental copy/paste and will read incorrectly to Tigrinya users. Please replace with the correct Tigrinya wording via your localization workflow.

🤖 Prompt for AI Agents
In `@app/res/values-ti/strings.xml` at line 292, The Tigrinya string identified by
name "connect_no_jobs" contains stray Thai characters (“ปรากฏ”) and must be
replaced with the correct Tigrinya text via the localization process; locate the
<string name="connect_no_jobs"> entry and update its value to the proper
Tigrinya translation (using your i18n/localization workflow or translator) so
the sentence is entirely in Tigrinya and free of mixed-script characters.

Copy link
Contributor

Choose a reason for hiding this comment

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

@jaypanchal-13 can we verify this

Copy link

Choose a reason for hiding this comment

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

Seems like the humans are having a chat. I'll hop back into my burrow for now. If you need me again, just tag @coderabbitai in a new comment, and I'll come hopping out!

<string name="connect_last_update">Mis à jour: %s</string>
<string name="connect_title">Connecter</string>
<string name="connect_no_jobs">Vous n\'avez été invité à aucune opportunité active. Veuillez revenir plus tard.</string>
<string name="connect_no_jobs">Vous navez encore été invité à aucune opportunité. Une fois que vous êtes invité à une opportunité, elle apparaîtra dans cette liste.</string>
Copy link
Contributor

Choose a reason for hiding this comment

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

It has missing \ in n\’avez.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@Jignesh-dimagi Yes but it is not showing or throwing any error.

Copy link
Contributor

Choose a reason for hiding this comment

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

This might be a difference in the actual characters, between ’ (unicode 8217) and ' (ASCII 39)
It looks like AS only wants the ASCII char to be escaped. But I think we should be consistent in which one we use, and since other places use ' we should use it here also (with the \)

@Jignesh-dimagi
Copy link
Contributor

@jaypanchal-13 Just a thought: All screen has different UI (text size, color, gravity) to show the empty screen. Shouldn't we make it uniform across all the screen?

@jaypanchal-13
Copy link
Contributor Author

connect_no_jobs

@Jignesh-dimagi Can you check again is it look fine or need changes?

<string name="connect_last_update">ዝተመሓየሸ: %s</string>
<string name="connect_title">ኣራኽብ</string>
<string name="connect_no_jobs">ኣብ ዝኾነ ንጡፍ ዕድላት ኣይተዓደምኩምን። በይዛኹም ፀኒሕኹም ተመለሱ።</string>
<string name="connect_no_jobs">ንሕጂ ናብ ዝኾነ ዕድላት ኣይተዓደምካን። ሓንሳብ ናብ ዕድል ምስ ተዓደምካ፡ ኣብዚ ዝርዝር ክปรากฏ እዩ።</string>
Copy link
Contributor

Choose a reason for hiding this comment

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

@jaypanchal-13 can we verify this

Copy link
Contributor

@OrangeAndGreen OrangeAndGreen left a comment

Choose a reason for hiding this comment

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

Added a couple things to check, and looks like Conroy identified an important one also

<string name="connect_last_update">Mis à jour: %s</string>
<string name="connect_title">Connecter</string>
<string name="connect_no_jobs">Vous n\'avez été invité à aucune opportunité active. Veuillez revenir plus tard.</string>
<string name="connect_no_jobs">Vous navez encore été invité à aucune opportunité. Une fois que vous êtes invité à une opportunité, elle apparaîtra dans cette liste.</string>
Copy link
Contributor

Choose a reason for hiding this comment

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

This might be a difference in the actual characters, between ’ (unicode 8217) and ' (ASCII 39)
It looks like AS only wants the ASCII char to be escaped. But I think we should be consistent in which one we use, and since other places use ' we should use it here also (with the \)


<string name="personalid_authentication_failed">Authenticating the biometrics on your Android device has failed. Please apply any available system updates, or try again with a different device</string>
<string name="no_channel_msg">You have no current messaging channels</string>
<string name="no_channel_msg">You’re not subscribed to any messaging channels</string>
Copy link
Contributor

Choose a reason for hiding this comment

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

Perhaps a better question for the product team...

When I imagine seeing this message as a user the first thing that comes to mind is "How do I subscribe to some messaging channels?"

Perhaps the message should be more like the one for the opportunity list and include text like "Once you've been invited to a messaging channel, it will appear in this list."

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@OrangeAndGreen Asked in slack here

@shubham1g5
Copy link
Contributor

@jaypanchal-13 I see that all those screenshots are following different text styles and margins and it would be great to use a consistent style here.

@Jignesh-dimagi
Copy link
Contributor

@Jignesh-dimagi Can you check again is it look fine or need changes?

@jaypanchal-13 It's nearly there; it's just that the margins are different. You can also confirm the style from Brendon.

@jaypanchal-13
Copy link
Contributor Author

jaypanchal-13 commented Jan 22, 2026

@jaypanchal-13 I see that all those screenshots are following different text styles and margins and it would be great to use a consistent style here.

@shubham1g5 Left side is before screen shot and right side is after screen shot. Can you check now. For same I have messaged Brandon here in slack

Copy link
Contributor

@conroy-ricketts conroy-ricketts left a comment

Choose a reason for hiding this comment

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

This looks great to me as long as Product does not request any additional changes 👍

shubham1g5
shubham1g5 previously approved these changes Jan 27, 2026
Jignesh-dimagi
Jignesh-dimagi previously approved these changes Jan 27, 2026
@jaypanchal-13 jaypanchal-13 changed the title Updated no data messages in different screen's CCCT-1985 Updated no data messages in different screen's Jan 29, 2026
@jaypanchal-13 jaypanchal-13 merged commit f0dcb1d into master Jan 29, 2026
7 checks passed
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.

6 participants