-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[HOLD for payment 2024-02-20] [$500] Android - Room-Invited room avatar looks different #35262
Comments
Job added to Upwork: https://www.upwork.com/jobs/~01220f7073da90ab3b |
Triggered auto assignment to @Christinadobrzyn ( |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @allroundexperts ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Invited room avatar looks different ( like placeholder) What is the root cause of that problem?In here, we're not using the When user is a member of the room but is not a member of the workspace, they will not have access to the In this case, the right thing to do is to fallback to the report's So it couldn't find the policyName and will fallback to the default avatar (instead of the avatar with workspace initial as it should be). What changes do you think we should make in order to solve the problem?In here, use the
(Can consider passing Optionally, in here, we should use the What alternative solutions did you explore? (Optional)Unrelated, but there's a |
ProposalPlease re-state the problem that we are trying to solve in this issue.Android - Room-Invited room avatar looks different What is the root cause of that problem?No policy record associated with the room is stored in the onyx because the user was not invited to the policy but to the policy room. Lines 1443 to 1446 in c5ca9a8
Hence, in the However, The correct workspace avatar source is stored in the What changes do you think we should make in order to solve the problem?We should also check if the Therefore, let's change the code snippet mentioned above to modify the
Extras
|
@Tony-MK Just FYI the Proposal updated to mention this additional information. |
reviewing proposals |
Triggered auto assignment to @srikarparsi, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
@allroundexperts No, if the policy does not exist, it will use the
@allroundexperts I've tried that solution and it doesn't work, I don't think it's actually related to this issue, because in |
Reviewing proposals |
Will provide an update tomorrow! |
Hey, @allroundexperts and @tienifr, my proposed solution works suitably and is viable. Firstly, you try it out for yourself on this test branch. Furthermore, the video below compares the dev and staging to demonstrate that the changes work and provide consistency throughout the app. POC.movFinally, we use the Lines 1517 to 1519 in 953b313
|
@Tony-MK I think you've mistaken this one with another issue. The issue you're trying to fix is the same as this issue (which already has a PR raised to fix it) This GH issue is when the workspace has no avatar uploaded, thus the workspace name initial ( |
Okay. I got the incorrect impression here as well that the issue was for custom avatars of a workspace. @tienifr correctly pointed out that the above is being handled in #33470. This issue is about the default avatar not getting displayed correctly because policy name is missing (since the user was invited to the room, not the policy). As such, I think @tienifr's proposal would work well in this case. Thanks for the explanation @tienifr! 🎀 👀 🎀 C+ reviewed |
Current assignee @srikarparsi is eligible for the choreEngineerContributorManagement assigner, not assigning anyone new. |
Thanks @tienifr . Seems I did not figure out the expected result properly. |
📣 @tienifr 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
Awesome! Looks like we're working on a PR! |
PR is here - #35630 |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.40-5 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2024-02-20. 🎊 For reference, here are some details about the assignees on this issue:
|
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
hi! Sorry I'm ooo sick today - I'll follow up on this tomorrow |
Payouts due: Contributor: $500 @tienifr (paid in Upwork - https://www.upwork.com/nx/wm/workroom/36224169/overview) Eligible for 50% #urgency bonus? NA Do we need a regression test for this? |
nudge @allroundexperts do need a regression test for this? |
DMd @allroundexperts about the regression test |
Checklist
|
Awesome! Thanks @allroundexperts - created the regression test. I think this can be closed! |
$500 approved for @allroundexperts based on this summary. |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: 1.4.32
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
Action Performed:
Expected Result:
Invited room avatar must be shown correctly
Actual Result:
Invited room avatar looks different ( like placeholder)
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6355985_1706287071557.full.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: