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
[HOLD for payment 2023-10-13] [$500] Web - Pronouns value not displayed on login #27675
Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributor
Login and observe that currently selected pronouns value is not displayed
Expected Result:
App should display pronouns value if present on login
Actual Result:
App does not display pronouns value if present on login on login with pronouns page
Workaround:
Unknown
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.71.4 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
Great, thanks for confirming. That means we still need to issue the following payments:
@dukenv0307 - $375 ($250 for half of PR bounty, and $125 for 50% speed bonus for bounty paid). Paid vua Upwork.
@suneox - $250 for providing elements used in the solution. No speed bonus here since they did not contribute to the timed work to get this merged. Paid via upwork.
@dukenv0307 the urgency bonus is 50% of the bounty earned by the contributor who raised the PR, rather than a static bonus. Since you raised the PR, and are earning a $250 bounty for this issue, your 50% bonus for the PR is $125. A $250 bonus on your $250 bounty would be a 100% bonus.
@suneox isn't earning a bonus since they were not involved in the collaborative process of raising the PR quickly.
@dukenv0307 the urgency bonus is 50% of the bounty earned by the contributor who raised the PR, rather than a static bonus. Since you raised the PR, and are earning a $250 bounty for this issue, your 50% bonus for the PR is $125. A $250 bonus on your $250 bounty would be a 100% bonus.
@joekaufmanexpensify my take is that as we're splitting original bounty, we also share responsibility of getting a PR up and merged and will jointly be eligible for the $250 bonus if within 3 days. But 1 of us does not participate in the PR, only I handle the PR from start to end and strive to get it merged asap, I bear the whole responsibility (which by right should be split similar to the reward).
So it makes sense that I'll be eligible for the full bonus of the "PR responsibility" which is $250. I have seen that in other issues like this one. Could you kindly give this a second look, thanks!
@dukenv0307 I definitely understand where you're coming from. However, the previous guidance on the urgency bonus is fairly clear. It is a 50% bonus applied to the bounty earned to incentivize the individual writing the PR to get it done quickly. It scaled down with the various compensation changes we've made to the contributor program as well.
I think we handled the urgency bonus in that other issue incorrectly, so I don't think we'd issue a 100% urgency bonus here based on that.
We appreciate your understanding. Let me know if you have any other questions!
Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributor
Activity
dukenv0307 commentedon Sep 18, 2023
Proposal
Please re-state the problem that we are trying to solve in this issue.
Pronouns value not displayed on login
What is the root cause of that problem?
We only set
searchValuefor the first render.App/src/pages/settings/Profile/PronounsPage.js
Line 29 in 06e8d3a
When we open the page via deep link on login,
currentUserPersonalDetailsis empty until theopenAppAPI is complete. So thesearchValueis empty.What changes do you think we should make in order to solve the problem?
We should subscribe
isLoadingReportDatato know when theopenAppis complete.Then we can create a
useEffectto setsearchValuestate if the API is completeOPTIONAL: To make the best UI, we can display the loading page before the API is complete or hide the text input until the API is complete
What alternative solutions did you explore? (Optional)
NA
Result
Screencast.from.18-09-2023.17.46.10.webm
[-]Web - Pronouns value not displayed on login[/-][+][$500] Web - Pronouns value not displayed on login[/+]melvin-bot commentedon Sep 18, 2023
Triggered auto assignment to @joekaufmanexpensify (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.melvin-bot commentedon Sep 18, 2023
Job added to Upwork: https://www.upwork.com/jobs/~014246fda785f9f058
melvin-bot commentedon Sep 18, 2023
Bug0 Triage Checklist (Main S/O)
Platformsin OP are ✅)melvin-bot commentedon Sep 18, 2023
Triggered auto assignment to @CortneyOfstad (
External), see https://stackoverflow.com/c/expensify/questions/8582 for more details.melvin-bot commentedon Sep 18, 2023
Triggered auto assignment to Contributor-plus team member for initial proposal review - @thesahindia (
External)c3024 commentedon Sep 18, 2023
Proposal
Please re-state the problem that we are trying to solve in this issue.
Pronouns list is not shown initially when accessed from deep link and then logging in
What is the root cause of that problem?
We are setting the initial
searchValuehereApp/src/pages/settings/Profile/PronounsPage.js
Lines 29 to 35 in c77814f
When we access this page from deep link, initially
currentPronounsKeyis empty becausecurrentUserPersonalDetailshas not been loaded yet.What changes do you think we should make in order to solve the problem?
We should show a loading indicator when the page is loading and the
pronounsfield incurrentUserPersonalDetailsdoes not exist by adding this.What alternative solutions did you explore? (Optional)
69 remaining items
dukenv0307 commentedon Oct 24, 2023
@joekaufmanexpensify I agree with this .
JmillsExpensify commentedon Oct 24, 2023
$750 payment approved for @allroundexperts based on summary above.
joekaufmanexpensify commentedon Oct 24, 2023
Great, thanks for confirming. That means we still need to issue the following payments:
joekaufmanexpensify commentedon Oct 24, 2023
@suneox offer sent for $250!
joekaufmanexpensify commentedon Oct 24, 2023
@dhanashree-sawant offer sent for $50!
dukenv0307 commentedon Oct 25, 2023
@joekaufmanexpensify I think the bonus should be $250 and we only split $500 between me and @suneox. Correct me if I missed something.
joekaufmanexpensify commentedon Oct 25, 2023
@dukenv0307 the urgency bonus is 50% of the bounty earned by the contributor who raised the PR, rather than a static bonus. Since you raised the PR, and are earning a $250 bounty for this issue, your 50% bonus for the PR is $125. A $250 bonus on your $250 bounty would be a 100% bonus.
@suneox isn't earning a bonus since they were not involved in the collaborative process of raising the PR quickly.
LMK if you have any other questions!
joekaufmanexpensify commentedon Oct 25, 2023
@dukenv0307 $375 sent and contract ended!
joekaufmanexpensify commentedon Oct 25, 2023
@suneox $250 sent and contract ended!
joekaufmanexpensify commentedon Oct 25, 2023
@dhanashree-sawant $50 sent and contract ended!
joekaufmanexpensify commentedon Oct 25, 2023
Upwork job closed
joekaufmanexpensify commentedon Oct 25, 2023
Bug is fixed, BZ checklist complete, and all payment issued. Closing as this is all set. Thanks everyone!
dukenv0307 commentedon Nov 15, 2023
@joekaufmanexpensify my take is that as we're splitting original bounty, we also share responsibility of getting a PR up and merged and will jointly be eligible for the $250 bonus if within 3 days. But 1 of us does not participate in the PR, only I handle the PR from start to end and strive to get it merged asap, I bear the whole responsibility (which by right should be split similar to the reward).
So it makes sense that I'll be eligible for the full bonus of the "PR responsibility" which is $250. I have seen that in other issues like this one. Could you kindly give this a second look, thanks!
joekaufmanexpensify commentedon Nov 15, 2023
@dukenv0307 I definitely understand where you're coming from. However, the previous guidance on the urgency bonus is fairly clear. It is a 50% bonus applied to the bounty earned to incentivize the individual writing the PR to get it done quickly. It scaled down with the various compensation changes we've made to the contributor program as well.
I think we handled the urgency bonus in that other issue incorrectly, so I don't think we'd issue a 100% urgency bonus here based on that.
We appreciate your understanding. Let me know if you have any other questions!