-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
[HOLD for payment 2023-10-23] [HOLD for payment 2023-10-23] [$500] IOU - Deletion Button Remains Visible After Changing Date after Delete the Requested Money #26019
Comments
Triggered auto assignment to @anmurali ( |
Bug0 Triage Checklist (Main S/O)
|
ProposalPlease re-state the problem that we are trying to solve in this issue.The deletion button and three dots should disappear after deleting the requested money in any case. What is the root cause of that problem?We have conditions to show App/src/pages/home/ReportScreen.js Lines 254 to 256 in c029dc5
Here we are using App/src/pages/home/ReportScreen.js Line 238 in c029dc5
But in this function return App/src/libs/ReportActionsUtils.js Lines 67 to 69 in c029dc5
Since the message changes the date or change description, the amount we don't count as 1 childVisibleAction, because this function will return false when there is no childVisibleActionCount. There is also 1 case, when we have a comment in the thread. we delete request money for the first time this function will return What changes do you think we should make in order to solve the problem?Here we should use
What alternative solutions did you explore? (Optional)Also, I think we should also update the
|
@anmurali Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Will reproduce and slap the label on tomorrow |
@anmurali Huh... This is 4 days overdue. Who can take care of this? |
Adding an external label |
Job added to Upwork: https://www.upwork.com/jobs/~019e57dec696456a6d |
Current assignee @anmurali is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @allroundexperts ( |
ProposalBring a proposal from this issue #24413 Please re-state the problem that we are trying to solve in this issue.Request money - Delete request reopens on deleting message in it and again deleting it triggers red dot error What is the root cause of that problem?We have two errors here
When the request money is deleted, the header render App/src/pages/home/ReportScreen.js Lines 261 to 263 in dd0d98f
In Lines 1258 to 1260 in dd0d98f
When we delete the only message of the report, because App/src/libs/ReportActionsUtils.js Line 69 in dd0d98f
What changes do you think we should make in order to solve the problem?
App/src/pages/home/ReportScreen.js Lines 261 to 263 in dd0d98f
And in
App/src/components/MoneyRequestHeader.js Line 79 in dd0d98f
2. In getTransactionReportName , we should use ReportActionsUtils.isDeletedAction to check whether the action is deleted or not instead of using isDeletedParentAction function
Lines 1258 to 1260 in dd0d98f
What alternative solutions did you explore? (Optional)NA ResultScreencast.from.11-08-2023.18.30.35.webm |
@anmurali, @allroundexperts Eep! 4 days overdue now. Issues have feelings too... |
@anmurali, @allroundexperts Huh... This is 4 days overdue. Who can take care of this? |
Similar to #25997 |
It think this is not the same. |
@joelbettner, @anmurali, @allroundexperts, @dukenv0307 Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
@joelbettner, @anmurali, @allroundexperts, @dukenv0307 6 days overdue. This is scarier than being forced to listen to Vogon poetry! |
@anmurali I'll let you field this question: #26019 (comment) Sorry, @dhanashree-sawant I'm not involved with the payouts, so I don't know. |
Sure that's okay, @anmurali can you check it once you are available? |
@joelbettner, @anmurali, @allroundexperts, @dukenv0307 Eep! 4 days overdue now. Issues have feelings too... |
@joelbettner, @anmurali, @allroundexperts, @dukenv0307 Huh... This is 4 days overdue. Who can take care of this? |
@joelbettner, @anmurali, @allroundexperts, @dukenv0307 Eep! 4 days overdue now. Issues have feelings too... |
Checklist
|
Payment Summary
|
@anmurali This one is eligible for the 50% bonus. The PR was created before Oct 24, and was merged in just a single day. |
Hello, @anmurali. This matter was reported prior to August 30th. Could you please provide us with a $250 offer |
$750 payment approved for @allroundexperts based on this comment. |
@JmillsExpensify @anmurali Do I need to apply for the job in Upwork? If yes, please send me the Upwork link so I can accept this. Thanks. |
@joelbettner, @anmurali, @allroundexperts, @dukenv0307 Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
@anmurali Thank you, I accepted it |
@joelbettner, @anmurali, @allroundexperts, @dukenv0307 Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
@joelbettner, @anmurali, @allroundexperts, @dukenv0307 6 days overdue. This is scarier than being forced to listen to Vogon poetry! |
Paid. |
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:
he deletion button and three dots should disappear after deleting the requested money in any case
Actual Result:
The deletion button remains visible after deleting the requested money and changing the date, which causes an unexpected error if we try to delete it again
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.57-5
Reproducible in staging?: Yes
Reproducible in production?: Yes
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
screen-capture.-.2023-08-18T015705.366.mp4
Recording.2996.mp4
Expensify/Expensify Issue URL:
Issue reported by: @Tewodros-GirmaA
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1692348919083289
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: