-
-
Notifications
You must be signed in to change notification settings - Fork 45
Remove pay-per-visit text from job summary cards #2964
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Cleaned up some commented code.
📝 WalkthroughWalkthroughThe changes streamline the user interface by removing redundant UI elements related to job payment information. In the XML layout files (both view_job_card.xml and view_progress_job_card.xml), a Possibly related PRs
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (7)
💤 Files with no reviewable changes (5)
🔇 Additional comments (6)
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
|
@OrangeAndGreen I have approved the MR but also thinking if we can just make visibility = gone in view_job_card.xml and view_progress_job_card.xml for per_visit linearLayout so that all other calculations remains there only to show per visit charges in future |
|
Thanks to both. I think we're confident that this concept has changed enough that we can remove this field from the UI. Also, there are plans to do an additional overhaul of this card in the near future. |
https://dimagi.atlassian.net/browse/CCCT-606
cross-request: dimagi/commcare-core#1455
Product Description
Removes the pay-per-visit text from the job summary card that is shown on several Connect pages.

The concept increasingly does not make sense since opportunities often involve several visits with different pay amounts.
So if a user gets $10 for an initial visit and $5 for a follow-up visit, an overall "pay per visit" isn't meaningful.
View on most pages:
View on app home (with daily progress):

Technical Summary
Removes the pay-per-visit UI fields from the two related cards, and code on related pages that updated the value of the pay-per-visit text.
Feature Flag
Connect
Safety Assurance
Safety story
Relatively simple change, just removing some UI fields and the code that updates them. I also viewed the tiles on each of the related pages to verify that their layout still looks correct, and had to change the layout for the "working hours" to still line up properly.
Automated test coverage
No automated tests for Connect yet.
QA Plan
View the job summary card on any of the pages listed below and verify that there is no info shown related to "pay per visit":
Labels and Review