-
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 2023-10-05] [Payment due Oct 2 2023 $500] Search - The avatars order are different in LHN and RHN. #27537
Comments
Triggered auto assignment to @michaelhaxhiu ( |
Bug0 Triage Checklist (Main S/O)
|
Job added to Upwork: https://www.upwork.com/jobs/~01f2234c9135bc93ec |
Current assignee @michaelhaxhiu is eligible for the External assigner, not assigning anyone new. |
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.Search - The avatars order are different in LHN and RHN. What is the root cause of that problem?There is inconsistency between LHN and Search when calling App/src/libs/OptionsListUtils.js Line 548 in 1862aff
LHN: Line 357 in 1862aff
The 4th param Line 1062 in 1862aff
What changes do you think we should make in order to solve the problem?I think we don't really need to render different order between payer and payee here Line 1062 in 1862aff
Just render either [managerIcon, ownerIcon] or [ownerIcon, managerIcon] for all access users
The param isPayer is introduced by this PR https://github.com/Expensify/App/pull/19392/files, but at this time, we only render 1 avatar for either Payer or Payee. Now, since this change 55e4f06#diff-65c096044d5f69b35bcdec14c99c4fda4580759df9b1a7c36650d58eea276f1dR845, we render both avatars of Payer and Payee, so IMO, I think we don't need the What alternative solutions did you explore? (Optional)In this place Line 1078 in 6d67552
Instead of basing on the input isPayer , because we already passed the report object into this util, we can use it to check if the current user is report.managerID , so current user is Payer, then we can continuous to return ordering base on this value.
|
I would agree that App/src/libs/ReportUtils.js condition is redundant. I'd still confirm this in the open source channel. @hoangzinh Can you please write up a post and tag me and @michaelhaxhiu so we can get some more eyes? |
sure @allroundexperts I'm getting thoughts in this thread https://expensify.slack.com/archives/C01GTK53T8Q/p1695088612139029 |
OK as per the above discussion, it seems like adding the 🎀 👀 🎀 C+ reviewed |
Triggered auto assignment to @mountiny, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
📣 @allroundexperts Please request via NewDot manual requests for the Reviewer role ($500) |
📣 @hoangzinh 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
🎯 ⚡️ Woah @hoangzinh / @allroundexperts / @hoangzinh, great job pushing this forwards! ⚡️ The pull request got merged within 3 working days of assignment, so this job is eligible for a 50% #urgency bonus 🎉
On to the next one 🚀 |
Triggered auto assignment to @sophiepintoraetz ( |
I'm re-assigning this to another BZ as part of my preparation for Sabbatical (starting Friday). Next steps:
|
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.74-3 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 2023-10-05. 🎊 After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.
For reference, here are some details about the assignees on this issue:
As a reminder, here are the bonuses/penalties that should be applied for any External 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:
|
@michaelhaxhiu was incorrect with his bug payment - it's $50 for reports, not $250. |
@allroundexperts please request $750 once the BZ checklist is completed! |
Reviewer Checklist
Regression Test Steps
Verify that the avatars order of IOU report of User A to User B is userB-userA in both LHN and Search page Do we 👍 or 👎 ? |
$750 payment approved for @allroundexperts based on BZ summary. |
Re-opening for regression test. |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Action Performed:
Expected Result:
The avatars order should not be different.
Actual Result:
The avatars order are different.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: v1.3.70-2
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
Notes/Photos/Videos: Any additional supporting documentation
2023-09-15.14.06.30.mov
Expensify/Expensify Issue URL:
Issue reported by: @oleksandr-pantsyr
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1692809283563059
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: