Closed kavimuru closed 10 months ago
Triggered auto assignment to @bfitzexpensify (Bug
), see https://stackoverflow.com/c/expensify/questions/14418 for more details.
Platforms
in OP are β
)Reproduced, sending this external
Job added to Upwork: https://www.upwork.com/jobs/~01dac65c2c994b81e0
Current assignee @bfitzexpensify is eligible for the External assigner, not assigning anyone new.
Triggered auto assignment to Contributor-plus team member for initial proposal review - @Santhosh-Sellavel (External
)
The BE return lastMessagetext is '' after deleting a message. We should fix it in BE
@thienlnam Is this valid bug? Your thoughts seems like backend?
I am unassigning due to low bandwidth, if C+ assistance required assign a new C+ by reapplying External
label
cc: @bfitzexpensify
Hmm yeah looks like a BE update is needed for this specific scenario
@bfitzexpensify Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!
@bfitzexpensify Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!
OK, adding the engineering label in that case
Triggered auto assignment to @Gonals (Engineering
), see https://stackoverflow.com/c/expensify/questions/4319 for more details.
Oh, nice catch! Yeah, this looks like a Backend change
Nope! Backend is working correctly (and the search element eventually updates to the correct message), and we are optimistically setting it to the correct value too. The issue is that we are not telling the search option that they need to update the element. Back to external!
Triggered auto assignment to @MitchExpensify (External
), see https://stackoverflow.com/c/expensify/questions/8582 for more details.
Triggered auto assignment to Contributor-plus team member for initial proposal review - @mananjadhav (External
)
Awaiting proposals
π£ It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? πΈ
This has only been external for 3 days, will wait until mid-next week before considering a change to the bounty here
@Gonals @rushatgabhane @bfitzexpensify this issue was created 2 weeks ago. Are we close to approving a proposal? If not, what's blocking us from getting this issue assigned? Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks!
@bfitzexpensify said mid-week, Melvin!
Upwork job price has been updated to $1000
No proposals after a week, I've doubled the bounty on this one
No activity yet appears in task item of search RHN
In case of a report comment deletion, the report last action will only be shown in RHN if it is a pending remove action: https://github.com/Expensify/App/blob/4c207ec07ce4d0b3ca3cc4a6f90b02524b4b440f/src/libs/OptionsListUtils.js#L403-L410
Add another condition to accommodate report comment deletion (without pending moderation) as well, .e.g.:
if (ReportActionUtils.isPendingRemove(lastNonWhisper) || ReportActionUtils.isDeletedAction(lastNonWhisper)) {
const latestVisibleAction =
_.find(
allSortedReportActions[report.reportID],
(action) => ReportActionUtils.shouldReportActionBeVisibleAsLastAction(action) && !ReportActionUtils.isCreatedAction(action),
) || {};
lastMessageTextFromReport = lodashGet(latestVisibleAction, 'message[0].text', '');
}
N/A
The Search page in RHN displays the subtitle/alternate text as No Activity yet
for Task Item instead of showing the Task Status message.
The Search Page depends on getLastMessageTextForReport
to fetch the last message text for display as subtitle/alternate text as shown here. Now, when the Task Status message is the only message left in the Task Report, lastMessageText
will be empty which will set the text as No activity yet
here. This is the reason why this problem occurs
To solve the problem, we can ensure that the correct message is sent back for Task Status messages within getLastMessageTextForReport
function here like this:
Note: We also need to set the message for reopened and cancelled tasks as below:
} else if (lastActionName === CONST.REPORT.ACTIONS.TYPE.TASKCOMPLETED || lastActionName === CONST.REPORT.ACTIONS.TYPE.TASKREOPENED || lastActionName === CONST.REPORT.ACTIONS.TYPE.TASKCANCELLED) {
lastMessageTextFromReport = lodashGet(lastReportAction, 'message[0].text', '');
}
Couple of proposals ready for review @rushatgabhane
@Gonals @rushatgabhane @bfitzexpensify this issue is now 3 weeks old. There is one more week left before this issue breaks WAQ and will need to go internal. What needs to happen to get a PR in review this week? Please create a thread in #expensify-open-source to discuss. Thanks!
@Gonals, @rushatgabhane, @bfitzexpensify Whoops! This issue is 2 days overdue. Let's get this updated quick!
Friendly bump @rushatgabhane
@Gonals I like @rojiphil's proposal. They explained the root cause correctly
π£ @rushatgabhane Please request via NewDot manual requests for the Reviewer role ($1000)
π£ @rojiphil π An offer has been automatically sent to your Upwork account for the Contributor role π Thanks for contributing to the Expensify app!
Offer link Upwork job Please accept the offer and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review π§βπ» Keep in mind: Code of Conduct | Contributing π
π£ @oleksandr-pantsyr We're missing your Upwork ID to automatically send you an offer for the Reporter role. Once you apply to the Upwork job, your Upwork ID will be stored and you will be automatically hired for future jobs!
@bfitzexpensify @rushatgabhane I am a newbie. I've sent a proposal to Upwork job. My Upwork ID was stored? I've not an offer yet. Could you tell me what I should for offer?
@oleksandr-pantsyr you need to submit proposal on upwork for the first issue. This is one time process. From next issues you're getting assigned, Melvin will send upwork offer automatically.
@situchan thank you for responding. I've already sent my proposal to this job.
Then what do I need to do? melvin-bot will send an offer to me in Upwork again?
@rojiphil let's do this! lemme know when you can raise a PR
@oleksandr-pantsyr as I said, automatic offer is from next issues. For this one, BZ member (@bfitzexpensify) will hire you manually.
@rojiphil let's do this! lemme know when you can raise a PR
@rushatgabhane Working on this now. PR should be ready in the next 3-4 hours.
Based on my calculations, the pull request did not get merged within 3 working days of assignment. Please, check out my computations here:
On to the next one π
Reviewing
label has been removed, please complete the "BugZero Checklist".
The solution for this issue has been :rocket: deployed to production :rocket: in version 1.3.76-6 and is now subject to a 7-day regression period :calendar:. Here is the list of pull requests that resolve this issue:
If no regressions arise, payment will be issued on 2023-10-10. :confetti_ball:
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:
Switching this to daily so I'm aware of it and action it on 10/10
Payment due on Tuesday.
Payment due tomorrow
Payment due tomorrow
@bfitzexpensify @rushatgabhane Wanted to check if this qualifies for bonus payment as, I think, the issue got fixed before 3 days. It was just that the final approval and merger from internal team member took some extra time. What are your thoughts?
Here are the timeline details that I could gather: Work Started: Sept. 26, 8:47 AM, GMT+5:30 link Work Completed: Sept. 28, 1:41 PM, GMT+5:30 link Time Taken: Approximately 2 days 5 hours.
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:
No activity yet appears in task item of search RHN.
Actual Result:
No activity yet should not appear.
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?
Version Number: 1.3.62-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
https://github.com/Expensify/App/assets/43996225/176768c0-158e-4bfc-88f1-8ae7098977ef
https://github.com/Expensify/App/assets/43996225/334caa94-18a1-4cc1-964f-80ef05e9d162
Expensify/Expensify Issue URL: Issue reported by: @oleksandr-pantsyr Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1692977375401449
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @rushatgabhane