-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[$500] Assign task - the Task shifts position in the LHN if we delete the only message in it #26479
Comments
Triggered auto assignment to @jliexpensify ( |
Bug0 Triage Checklist (Main S/O)
|
ProposalPlease state again the problem we are trying to solve in this issue.Task shifts to bottom in LHN if we delete only present message in it. What is the cause of this issue?Reports in LHN are first sorted by Line 158 in cb98bec
If we delete only present message in the task report, BE responds empty lastVisibleActionCreated .So the task shift to bottom. If we revisit the task report, BE responds non-empty What changes do you think we should make to solve the problem?We can modify BE to respond correct ...
const lastVisibleAction = ReportActionsUtils.getLastVisibleAction(originalReportID, optimisticReportActions);
...
const successData = [
...
{
onyxMethod: Onyx.METHOD.MERGE,
key: `${ONYXKEYS.COLLECTION.REPORT}${originalReportID}`,
value: {
lastVisibleActionCreated: optimisticReport ? optimisticReport.lastVisibleActionCreated : '',
},
},
];
... What alternative solutions have you investigated? (Optional)None. |
Still seems to be occurring on v1.3.62-3 (staging) - I've noticed it jumps 1-2 positions when the message is deleted. |
Job added to Upwork: https://www.upwork.com/jobs/~01fe04ae2863eac337 |
Current assignee @jliexpensify is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @mananjadhav ( |
I think this should be fixed from the backend. 🎀 👀 🎀 C+ Reviewed. |
Triggered auto assignment to @Li357, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
Hmm. I don't know if I agree @mananjadhav, just because this contradicts what |
@mananjadhav Bump on this! |
@mananjadhav @Li357 @jliexpensify 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! |
Bump @mananjadhav to address Andrew's comments. |
@jliexpensify Can you please reassign another C+? I don't have the bandwidth to investigate this. |
Current assignee @jliexpensify is eligible for the External assigner, not assigning anyone new. |
@situchan can you get assigned to this one, as youwere lastly assigned to review connected PR? |
Assigned! LMK if anything else needs to be done @robertKozik |
Thanks 🙇🏼 , I think it would me all from me as I was not working on that issue for a long time and @situchan take the PR review over. |
@jliexpensify Can we categorize this under a wave and try to get it prioritized there? That would help. I don't have the time to pick this up as I'm working on p2p receipts which is higher priority. I'm going to unassign myself as I won't be able to get to this anytime in the near future. |
Sure thing @blimpich (sorry was OOO) - this should go in #vip-vsb |
Added hot pick and removed reviewing label to help get this picked up |
Thanks Ben! Not overdue |
Issue not reproducible during KI retests. (First week) |
Cool lets see if this pops up again. @mvtglobally can you re-test? |
Issue not reproducible during KI retests. (Second week) |
Sweet, lets close this. We are deprioritising VSB anyway. |
@jliexpensify can I get compensation for reviewing PR? |
I had commented with test result here. PR was not merged. |
@situchan If I am understanding correctly, you might qualify for this?
Are you able to share a post and tag me? |
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:
Task position should not change in LHN on deleting any message
Actual Result:
Task moves to bottom of LHN on deleting the only message in the task / it jumps position
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: v1.3.61-1
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
Task.shift.to.bottom.in.LHN.on.delete.msg.mp4
Bandicam.2023-09-01.16-22-46-967.mp4
Expensify/Expensify Issue URL:
Issue reported by: @dhanashree-sawant
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1692033299162729
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: