Skip to content

[HOLD for payment 2023-07-24] [$2000] Settings page: remove code preventing rendering before currentUserPersonalDetails is ready #18569

Closed

Description

@amyevans

Coming from #17349 (comment),

We should refactor to remove the code that currently prevents the Settings screen from rendering before currentUserPersonalDetails is ready:

render() {
// On the very first sign in or after clearing storage these
// details will not be present on the first render so we'll just
// return nothing for now.
if (_.isEmpty(this.props.currentUserPersonalDetails)) {
return null;
}

A few notes:

  • Nested screens can now be navigated to earlier than before
  • Make sure there are no issues by (a) testing with a slow connection and (b) testing deep linking into the nested screens
  • We might also need some new loading states (e.g. after removing the above-mentioned code, the text below the avatar on the Settings screen flickers from email address to name + surname)
settings-screen.mov
Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01157142bba66be571
  • Upwork Job ID: 1655764572402282496
  • Last Price Increase: 2023-05-18

Activity

  1. added
    Daily
    Improvement
    on May 8, 2023
  2. amyevans commented on May 8, 2023

    @amyevans
    ContributorAuthor

    @jczekalski and @aimane-chnaif, are you both willing to be assigned to this issue since you've got the context coming from #17349? Or should I open it up to other community members?

  3. aimane-chnaif commented on May 8, 2023

    @aimane-chnaif
    Contributor

    I am happy to take this one as C+

  4. self-assigned this
    on May 9, 2023
  5. added
    Weekly
    External
    and removed
    Daily
    on May 9, 2023
  6. changed the title [-]Settings page: remove code preventing rendering before `currentUserPersonalDetails` is ready[/-] [+][$1000] Settings page: remove code preventing rendering before `currentUserPersonalDetails` is ready[/+] on May 9, 2023
  7. melvin-bot commented on May 9, 2023

    @melvin-bot
  8. melvin-bot commented on May 9, 2023

    @melvin-bot

    Triggered auto assignment to @stephanieelliott (External), see https://stackoverflow.com/c/expensify/questions/8582 for more details.

  9. added
    Daily
    and removed
    Weekly
    on May 9, 2023
  10. melvin-bot commented on May 9, 2023

    @melvin-bot

    Current assignee @aimane-chnaif is eligible for the External assigner, not assigning anyone new.

  11. 124 remaining items

  12. melvin-bot commented on Jul 13, 2023

    @melvin-bot

    Based on my calculations, the pull request did not get merged within 3 working days of assignment. Please, check out my computations here:

    • when @kowczarz got assigned: 2023-05-30 15:38:43 Z
    • when the PR got merged: 2023-07-13 14:40:58 UTC
    • days elapsed: 31

    On to the next one 🚀

  13. stephanieelliott commented on Jul 17, 2023

    @stephanieelliott
    Contributor

    PR was deployed to staging

  14. added
    Weekly
    Awaiting Payment
    and removed
    Daily
    on Jul 17, 2023
  15. changed the title [-][$2000] Settings page: remove code preventing rendering before `currentUserPersonalDetails` is ready[/-] [+][HOLD for payment 2023-07-24] [$2000] Settings page: remove code preventing rendering before `currentUserPersonalDetails` is ready[/+] on Jul 17, 2023
  16. removed
    Reviewing
    on Jul 17, 2023
  17. melvin-bot commented on Jul 17, 2023

    @melvin-bot

    Reviewing label has been removed, please complete the "BugZero Checklist".

  18. melvin-bot commented on Jul 17, 2023

    @melvin-bot

    The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.41-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-07-24. 🎊

    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.

    • External issue reporter
    • Contributor that fixed the issue
    • Contributor+ that helped on the issue and/or PR

    As a reminder, here are the bonuses/penalties that should be applied for any External issue:

    • Merged PR within 3 business days of assignment - 50% bonus
    • Merged PR more than 9 business days after assignment - 50% penalty
  19. added
    Daily
    and removed
    Weekly
    on Jul 23, 2023
  20. stephanieelliott commented on Jul 26, 2023

    @stephanieelliott
    Contributor

    Per the calculations here there is no bonus for this one.

    • External issue reporter: None, $0
    • Contributor that fixed the issue: @kowczarz - expert contrib., no issue payment
    • Contributor+ that helped on the issue and/or PR: @aimane-chnaif was paid in $2000 Upwork
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Awaiting PaymentDailyExternalImprovement

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions