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 2024-07-22] [$250] Improve ReportScreen rendering time #44925
AutoAssignerNewDotQualityUsed to assign quality issues to engineersAwaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.ExternalAdded to denote the issue can be worked on by a contributorWeeklyKSv2
In this PR we’ve introduced the above hook and there might be several problems with it:
We are calculating lastAccessedReportID in each re-render, however, we only require it in one particular scenario: when the route.params.reportID is empty,
The useLastAccessedReportID hook is heavy, due to the poor performance of the ReportUtils.findLastAccessedReport function. This issue existed before the introduction of the PR mentioned.
Solution
Ad 1.
We should calculate the lastAccessedReportID only when needed, that means only once, and only when route.params.reportID is empty (code). This value is used to determine which chat we should show to the user when the user accesses the website without reportID in the URL. POC
Ad 2.
After diving deep into the code I’ve discovered that we sort a whole array of reports just to get one, the most recent, report. We can replace this sort with lodashMaxBy, as we do not (from my analysis) need to sort all reports (needs confirmation). POC
⚠️ Automation failed here -> this should be on [HOLD for Payment 2024-07-22] according to today's production deploy from #44948 (comment) and #44955 (comment).
I'm the only one requiring payment here for reviewing PRs #44948 and #44955. Additionally, 1 regression was reported above, therefore bounty payment shoud be adjusted to match that - waiting for regression confirmation from @mountiny.
AutoAssignerNewDotQualityUsed to assign quality issues to engineersAwaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.ExternalAdded to denote the issue can be worked on by a contributorWeeklyKSv2
Activity
melvin-bot commentedon Jul 5, 2024
Current assignee @mountiny is eligible for the AutoAssignerNewDotQuality assigner, not assigning anyone new.
melvin-bot commentedon Jul 5, 2024
Triggered auto assignment to @zanyrenney (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.melvin-bot commentedon Jul 5, 2024
Job added to Upwork: https://www.upwork.com/jobs/~0109e0b5642eb1863c
[-]Improve ReportScreen rendering time[/-][+][$250] Improve ReportScreen rendering time[/+]melvin-bot commentedon Jul 5, 2024
Triggered auto assignment to Contributor-plus team member for initial proposal review - @ikevin127 (
External)7 remaining items
melvin-bot commentedon Jul 10, 2024
If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results.
If a regression has occurred and you are the assigned CM follow the instructions here.
If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future.
ikevin127 commentedon Jul 15, 2024
I'm the only one requiring payment here for reviewing PRs #44948 and #44955. Additionally, 1 regression was reported above, therefore bounty payment shoud be adjusted to match that - waiting for regression confirmation from @mountiny.
cc @zanyrenney
[-][$250] Improve ReportScreen rendering time[/-][+][HOLD for Payment 2024-07-22] [$250] Improve ReportScreen rendering time[/+]mountiny commentedon Jul 20, 2024
$375 to @ikevin127 for reviewing 2 PRs and deducing 50% of one bounty for the regression
ikevin127 commentedon Jul 22, 2024
@zanyrenney Friendly bump for payments, as I noticed this doensn't have the
Dailylabel which could cause delays.zanyrenney commentedon Jul 23, 2024
payment summary
@ikevin127 - paid $375 via upwork
@kosmydel - internal contractor - not paid incrementally.
Thanks!