You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Awaiting bugzero checklist and c+ newdot payment][$2000] Empty screen shows for a brief moment in change task assignee modal #23563
BugSomething is broken. Auto assigns a BugZero manager.ExternalAdded to denote the issue can be worked on by a contributorReviewingHas a PR in reviewWeeklyKSv2
Empty list shows for a brief moment before contacts list shows
Note: this doesn't happen in new task flow
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platforms:
Which of our officially supported platforms is this issue occurring on?
Android / native
Android / Chrome
iOS / native
iOS / Safari
MacOS / Chrome / Safari
MacOS / Desktop
Version Number: 1.3.45-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
What changes do you think we should make in order to solve the problem?
We should perform two changes:
updateOptions() should be called on mount.
Remove shouldShowOptions={didScreenTransitionEnd} so that it has its default value of true. Optionally replace with an isUpdatingOptions state that indicates completion of updateOptions().
The same problem seems to be present in TaskShareDestinationSelectorModal, SearchPage and the 2nd cause also in WorkspaceInvitePage.
Fixed result
chrome_LBiMPNYSaq.mp4
What alternative solutions did you explore? (Optional)
changed the title [-]Empty screen shows for a brief moment in change task assignee modal[/-][+][$1000] Empty screen shows for a brief moment in change task assignee modal[/+]on Jul 26, 2023
Please re-state the problem that we are trying to solve in this issue.
Empty screen shows for a brief moment in change task assignee modal
What is the root cause of that problem?
When the transition ends we render the options but we have to wait some times (~200ms) to get data, that why we can see the empty page for a brief moment
@pradeepmdk our team has reviewed the situation and we feel it's fair to award you 25% of the contributor bounty for your assistance in determining the root cause of this bug. As you were not materially involved in proposing or implementing the chosen solution, we do not agree that the full 100% would be fair here.
Thanks again for your patience while we discussed this. Please apply here and we will get this paid out to you.
@pradeepmdk thank you for your additional information, however our decision here is final. I have sent you a contract in Upwork for the payment, please accept and I will ensure you are paid quickly. 😊
@kadiealexander I agree your decision is final. but it is still weird here because for no reason my RCA and solution were ignored. but no one has given me a solution as to why the proposal was not selected here.
For clarity, @sobitneupane explained here why we preferred @tienifr's solution, even though your RCA was valuable here. I appreciate this was a competitive issue with lots of similar proposals, but ultimately our team reserves the right to choose the solution we believe is best.
BugSomething is broken. Auto assigns a BugZero manager.ExternalAdded to denote the issue can be worked on by a contributorReviewingHas a PR in reviewWeeklyKSv2
Activity
melvin-bot commentedon Jul 25, 2023
Triggered auto assignment to @kadiealexander (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.melvin-bot commentedon Jul 25, 2023
Bug0 Triage Checklist (Main S/O)
Platformsin OP are ✅)samh-nl commentedon Jul 25, 2023
Proposal
Please re-state the problem that we are trying to solve in this issue.
Empty screen shows for a brief moment in change task assignee modal
What is the root cause of that problem?
This problem is due to a combination of two factors:
App/src/pages/tasks/TaskAssigneeSelectorModal.js
Lines 99 to 105 in 8b23658
App/src/pages/tasks/TaskAssigneeSelectorModal.js
Line 196 in 8b23658
What changes do you think we should make in order to solve the problem?
We should perform two changes:
updateOptions()should be called on mount.shouldShowOptions={didScreenTransitionEnd}so that it has its default value oftrue. Optionally replace with anisUpdatingOptionsstate that indicates completion ofupdateOptions().The same problem seems to be present in
TaskShareDestinationSelectorModal,SearchPageand the 2nd cause also inWorkspaceInvitePage.Fixed result
chrome_LBiMPNYSaq.mp4
What alternative solutions did you explore? (Optional)
N/A
kadiealexander commentedon Jul 26, 2023
Reproduced:
RPReplay_Final1690358026.MP4
[-]Empty screen shows for a brief moment in change task assignee modal[/-][+][$1000] Empty screen shows for a brief moment in change task assignee modal[/+]melvin-bot commentedon Jul 26, 2023
Job added to Upwork: https://www.upwork.com/jobs/~0163bd3cb559f30da0
melvin-bot commentedon Jul 26, 2023
Current assignee @kadiealexander is eligible for the External assigner, not assigning anyone new.
melvin-bot commentedon Jul 26, 2023
Triggered auto assignment to Contributor-plus team member for initial proposal review - @sobitneupane (
External)tienifr commentedon Jul 26, 2023
Proposal
Please re-state the problem that we are trying to solve in this issue.
Empty screen shows for a brief moment in change task assignee modal
What is the root cause of that problem?
When the transition ends we render the options but we have to wait some times (~200ms) to get data, that why we can see the empty page for a brief moment
App/src/pages/tasks/TaskAssigneeSelectorModal.js
Line 196 in 23a8a34
App/src/pages/tasks/TaskAssigneeSelectorModal.js
Lines 99 to 105 in 23a8a34
What changes do you think we should make in order to solve the problem?
When we're getting data we should show the skeleton
In order to do that I introduce the new variable
const [isLoading, setIsLoading] = React.useState(true);and update it inupdateOptionsfunctionand here
Note There're other places (TaskShareDestinationSelectorModal, SearchPage, ...) face this problem so we should to apply the above logic too
Result
Screen.Recording.2023-07-26.at.15.54.27.mov
76 remaining items
tienifr commentedon Sep 12, 2023
As we mentioned above #23563 (comment) and #23563 (comment). I also believe we should give the bounty for @pradeepmdk because he found the correct RCA cc @kadiealexander @sobitneupane
sobitneupane commentedon Sep 12, 2023
Yup. We have agreed on awarding bounty to @pradeepmdk . I am not sure what is the right amount but I vaguely remember paying 25% in such cases.
cc: @kadiealexander
pradeepmdk commentedon Sep 12, 2023
Let me know what I am missing in selecting my proposal here
still confusing here
@sobitneupane @Beamanator
#23563 (comment) As per this Root cause is unclear so we are getting more proposals and increasing the bountry.
As per this, I should be treated equally(including bouns) right?
pradeepmdk commentedon Sep 18, 2023
any update
kadiealexander commentedon Sep 19, 2023
We are discussing this internally @pradeepmdk, thanks for your patience.
pradeepmdk commentedon Sep 19, 2023
@kadiealexander thanks for the update.
kadiealexander commentedon Sep 19, 2023
@pradeepmdk our team has reviewed the situation and we feel it's fair to award you 25% of the contributor bounty for your assistance in determining the root cause of this bug. As you were not materially involved in proposing or implementing the chosen solution, we do not agree that the full 100% would be fair here.
Thanks again for your patience while we discussed this. Please apply here and we will get this paid out to you.
kadiealexander commentedon Sep 19, 2023
@sobitneupane please don't forget about the first three points in the checklist here. Thanks!
kadiealexander commentedon Sep 19, 2023
Resurfacing this and updating it since it got buried.
Payouts due:
Eligible for 50% #urgency bonus? Yes
Upwork job is here.
pradeepmdk commentedon Sep 20, 2023
@kadiealexander Thank you
I proposed the solution here #23563 (comment) for chosen one.
I have both RCA and Solution.
kadiealexander commentedon Sep 20, 2023
@pradeepmdk thank you for your additional information, however our decision here is final. I have sent you a contract in Upwork for the payment, please accept and I will ensure you are paid quickly. 😊
pradeepmdk commentedon Sep 20, 2023
@kadiealexander I agree your decision is final. but it is still weird here because for no reason my RCA and solution were ignored. but no one has given me a solution as to why the proposal was not selected here.
kadiealexander commentedon Sep 20, 2023
For clarity, @sobitneupane explained here why we preferred @tienifr's solution, even though your RCA was valuable here. I appreciate this was a competitive issue with lots of similar proposals, but ultimately our team reserves the right to choose the solution we believe is best.
JmillsExpensify commentedon Sep 21, 2023
$3,000 payment for @sobitneupane approved based on BZ summary.