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-17] [$250] Actionable whisper - Whisper options are interactable when the expense is deleted offline #43560
Issue found when validating #43020 Version Number: 1.4.82-0 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 Expensify/Expensify Issue URL: Issue reported by: Applause internal team Slack conversation:
Action Performed:
Go to staging.new.expensify.com
Go offline.
Go to Self DM.
Track an expense.
Go to transaction thread.
Delete the expense.
Back in 1:1 DM, click on any option in actionable whisper.
Expected Result:
The actionable whisper should not be interactable when the expense is deleted offline.
Actual Result:
The actionable whisper is interactable when the expense is deleted offline and the options (except Nothing for now) lead to not here page.
Workaround:
unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
@CortneyOfstad FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors
What changes do you think we should make in order to solve the problem?
We should get the transaction using transactionID and if the transaction doesn't exist, we will disable the buttons. In order to make this work we need to follow few steps.
Get all transactions using useOnyx in ReportActionItem.
changed the title [-]Actionable whisper - Whisper options are interactable when the expense is deleted offline[/-][+][$250] Actionable whisper - Whisper options are interactable when the expense is deleted offline[/+]on Jun 14, 2024
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.5-13 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this 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:
[@rojiphil] The PR that introduced the bug has been identified. Link to the PR:
[@rojiphil] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment:
[@rojiphil] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion:
[@rojiphil] Determine if we should create a regression test for this bug.
[@rojiphil] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
[@CortneyOfstad] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:
changed the title [-][HOLD for payment 2024-07-17] [$250] Actionable whisper - Whisper options are interactable when the expense is deleted offline[/-][+][HOLD for payment 2024-07-22] [HOLD for payment 2024-07-17] [$250] Actionable whisper - Whisper options are interactable when the expense is deleted offline[/+]on Jul 15, 2024
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.6-8 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this 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:
[@rojiphil] The PR that introduced the bug has been identified. Link to the PR:
[@rojiphil] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment:
[@rojiphil] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion:
[@rojiphil] Determine if we should create a regression test for this bug.
[@rojiphil] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
[@CortneyOfstad] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:
changed the title [-][HOLD for payment 2024-07-22] [HOLD for payment 2024-07-17] [$250] Actionable whisper - Whisper options are interactable when the expense is deleted offline[/-][+][HOLD for payment 2024-07-17] [$250] Actionable whisper - Whisper options are interactable when the expense is deleted offline[/+]on Jul 18, 2024
[@rojiphil] The PR that introduced the bug has been identified. Link to the PR: Offending PR
[@rojiphil] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment: Added comment
[@rojiphil] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion: Not Required. Existing checklist is good enough to capture such issues.
[@rojiphil] Determine if we should create a regression test for this bug. : Since this feature was not implemented before, we can add the test case to the existing list of test cases for this track expense feature.
[@rojiphil] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
Test Steps
1 Go offline.
2 Navigate to Self DM.
3 Track an expense.
4 Go to transaction thread.
5 Delete the expense.
6 Verify that the actionable whisper is not displayed.
Activity
melvin-bot commentedon Jun 12, 2024
Triggered auto assignment to @CortneyOfstad (
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.m-natarajan commentedon Jun 12, 2024
@CortneyOfstad FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors
m-natarajan commentedon Jun 12, 2024
We think that this bug might be related to #vip-vsb
Krishna2323 commentedon Jun 12, 2024
Proposal
Please re-state the problem that we are trying to solve in this issue.
Actionable whisper - Whisper options are interactable when the expense is deleted offline
What is the root cause of that problem?
We don't have any logic to disable the buttons when the transaction is deleted.
App/src/pages/home/report/ReportActionItem.tsx
Lines 401 to 417 in 79e619a
What changes do you think we should make in order to solve the problem?
We should get the transaction using transactionID and if the transaction doesn't exist, we will disable the buttons. In order to make this work we need to follow few steps.
useOnyxinReportActionItem.App/src/pages/home/report/ReportActionItem.tsx
Lines 401 to 410 in 79e619a
3. Add
isDisabledproperty in the objects inactionableItemButtonsarray.ActionableItemButttonto pass theisDisabledprop.App/src/components/ReportActionItem/ActionableItemButtons.tsx
Lines 28 to 36 in 79e619a
Optional: We can wrap the Whisper message with
OfflineWithFeedback.App/src/pages/home/report/ReportActionItem.tsx
Line 767 in 79e619a
Note: We also need to update the type files.
What alternative solutions did you explore? (Optional)
withOnyxHOC.Result
Monosnap.screencast.2024-06-12.21-08-45.mp4
[-]Actionable whisper - Whisper options are interactable when the expense is deleted offline[/-][+][$250] Actionable whisper - Whisper options are interactable when the expense is deleted offline[/+]melvin-bot commentedon Jun 14, 2024
Job added to Upwork: https://www.upwork.com/jobs/~0102bf6b299104a911
melvin-bot commentedon Jun 14, 2024
Triggered auto assignment to Contributor-plus team member for initial proposal review - @rojiphil (
External)36 remaining items
melvin-bot commentedon Jul 10, 2024
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.5-13 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 2024-07-17. 🎊
For reference, here are some details about the assignees on this issue:
melvin-bot commentedon Jul 10, 2024
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:
[-][HOLD for payment 2024-07-17] [$250] Actionable whisper - Whisper options are interactable when the expense is deleted offline[/-][+][HOLD for payment 2024-07-22] [HOLD for payment 2024-07-17] [$250] Actionable whisper - Whisper options are interactable when the expense is deleted offline[/+]melvin-bot commentedon Jul 15, 2024
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.6-8 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 2024-07-22. 🎊
For reference, here are some details about the assignees on this issue:
melvin-bot commentedon Jul 15, 2024
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:
CortneyOfstad commentedon Jul 18, 2024
So the title is incorrect and this needs to be paid.
@rojiphil can you please complete the checklist by EOD? Thank you and sorry for the short notice!
[-][HOLD for payment 2024-07-22] [HOLD for payment 2024-07-17] [$250] Actionable whisper - Whisper options are interactable when the expense is deleted offline[/-][+][HOLD for payment 2024-07-17] [$250] Actionable whisper - Whisper options are interactable when the expense is deleted offline[/+]rojiphil commentedon Jul 19, 2024
Test Steps
1 Go offline.
2 Navigate to Self DM.
3 Track an expense.
4 Go to transaction thread.
5 Delete the expense.
6 Verify that the actionable whisper is not displayed.
rojiphil commentedon Jul 19, 2024
@CortneyOfstad Checklist is done.
CortneyOfstad commentedon Jul 19, 2024
Payment Summary
@rojiphil — paid $250 via Upwork
@truph01 — paid $250 via Upwork
Regression Test
https://github.com/Expensify/Expensify/issues/414055