Skip to content
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] Request money - Deleted request shows empty details when the details page has messages #34425

Closed
6 tasks done
kavimuru opened this issue Jan 12, 2024 · 34 comments
Closed
6 tasks done
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. Engineering Internal Requires API changes or must be handled by Expensify staff Reviewing Has a PR in review Weekly KSv2

Comments

@kavimuru
Copy link

kavimuru commented Jan 12, 2024

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Version Number: v1.4.24-7
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:

  1. Go to workspace chat.
  2. Create any request.
  3. Go to the details page and send a message.
  4. Click 3-dot menu > Delete request.
  5. Delete the request.

Expected Result:

The request details page will be blank except the bottom part where it shows messages (previous behavior).

Actual Result:

The request details page shows empty details (Amount, date, description etc).

Workaround:

unknown

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • Android: Native
  • Android: mWeb Chrome
  • iOS: Native
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence

Bug6339833_1705045583836.20240111_215828.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01d86a2dfc9f2be794
  • Upwork Job ID: 1745748245116649472
  • Last Price Increase: 2024-02-02
  • Automatic offers:
    • dukenv0307 | Contributor | 28142050
@kavimuru kavimuru added External Added to denote the issue can be worked on by a contributor Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Jan 12, 2024
@melvin-bot melvin-bot bot changed the title Request money - Deleted request shows empty details when the details page has messages [$500] Request money - Deleted request shows empty details when the details page has messages Jan 12, 2024
Copy link

melvin-bot bot commented Jan 12, 2024

Job added to Upwork: https://www.upwork.com/jobs/~01d86a2dfc9f2be794

Copy link

melvin-bot bot commented Jan 12, 2024

Triggered auto assignment to @muttmuure (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Jan 12, 2024
Copy link

melvin-bot bot commented Jan 12, 2024

Triggered auto assignment to Contributor-plus team member for initial proposal review - @sobitneupane (External)

@dukenv0307
Copy link
Contributor

dukenv0307 commented Jan 12, 2024

Proposal

Please re-state the problem that we are trying to solve in this issue.

The request details page shows empty details (Amount, date, description etc).

What is the root cause of that problem?

We always display MoneyRequestView in transaction thread report

What changes do you think we should make in order to solve the problem?

We can display [Deleted Request] message if the transaction is deleted the same way as we do for the canceled task.

We can do that by checking ReportActionsUtils.isDeletedParentAction(parentReportAction)

if (ReportUtils.isCanceledTaskReport(props.report, parentReportAction)) {

What alternative solutions did you explore? (Optional)

In MoneyRequestView, we can return null or return [Deleted Request] if the transaction is deleted (is undefined) or check ReportActionsUtils.isDeletedParentAction(parentReportAction) as we do in MoneyRequestAction

@bernhardoj
Copy link
Contributor

The temporary code to hide the money request view was cleaned up in #33633

cc: @youssef-lr

@dukenv0307
Copy link
Contributor

Actually, we are using transaction as props in MoneyRequestView, so we can do it as a new issue to fix this case.

@melvin-bot melvin-bot bot added the Overdue label Jan 14, 2024
Copy link

melvin-bot bot commented Jan 15, 2024

@sobitneupane, @muttmuure Whoops! This issue is 2 days overdue. Let's get this updated quick!

@muttmuure
Copy link
Contributor

@dukenv0307 are you recommending that this issue is closed and a new bug report created?

@melvin-bot melvin-bot bot removed the Overdue label Jan 17, 2024
Copy link

melvin-bot bot commented Jan 19, 2024

📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸

@melvin-bot melvin-bot bot added the Overdue label Jan 19, 2024
@muttmuure
Copy link
Contributor

@sobitneupane shall we close this one?

@melvin-bot melvin-bot bot removed the Overdue label Jan 22, 2024
@sobitneupane
Copy link
Contributor

@muttmuure I will be able to review the proposals only in weekend. I am working partially and won't be able to prioritize the issue. Please feel free to re-assign the issue in case of higher-priority.

Copy link

melvin-bot bot commented Jan 26, 2024

📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸

@melvin-bot melvin-bot bot added the Overdue label Jan 26, 2024
Copy link

melvin-bot bot commented Jan 29, 2024

@sobitneupane, @muttmuure Huh... This is 4 days overdue. Who can take care of this?

@melvin-bot melvin-bot bot removed the Overdue label Jan 30, 2024
@muttmuure muttmuure added Overdue External Added to denote the issue can be worked on by a contributor and removed External Added to denote the issue can be worked on by a contributor labels Jan 30, 2024
@MariaHCD
Copy link
Contributor

MariaHCD commented Feb 5, 2024

Not overdue, proposal was just accepted.

@melvin-bot melvin-bot bot added Overdue and removed Overdue labels Feb 5, 2024
@muttmuure
Copy link
Contributor

Not overdue

@melvin-bot melvin-bot bot removed the Overdue label Feb 7, 2024
Copy link

melvin-bot bot commented Feb 9, 2024

@MariaHCD @allroundexperts @muttmuure @dukenv0307 this issue is now 4 weeks old and preventing us from maintaining WAQ, can you:

  • Decide whether any proposals currently meet our guidelines and can be approved as-is today
  • If no proposals meet that standard, please take this issue internal and treat it as one of your highest priorities
  • If you have any questions, don't hesitate to start a discussion in #expensify-open-source

Thanks!

@melvin-bot melvin-bot bot added Internal Requires API changes or must be handled by Expensify staff and removed External Added to denote the issue can be worked on by a contributor labels Feb 9, 2024
Copy link

melvin-bot bot commented Feb 9, 2024

Current assignee @allroundexperts is eligible for the Internal assigner, not assigning anyone new.

@melvin-bot melvin-bot bot added the Overdue label Feb 9, 2024
@muttmuure
Copy link
Contributor

@dukenv0307 are you able to start on your PR?

@melvin-bot melvin-bot bot removed the Overdue label Feb 12, 2024
@dukenv0307
Copy link
Contributor

dukenv0307 commented Feb 14, 2024

I'm on a traditional holiday until tomorrow. PR is prepared locally, will open this tomorrow.

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Daily KSv2 labels Feb 15, 2024
@dukenv0307
Copy link
Contributor

@allroundexperts The PR is ready for review.

@melvin-bot melvin-bot bot added Monthly KSv2 and removed Weekly KSv2 labels Mar 11, 2024
Copy link

melvin-bot bot commented Mar 11, 2024

This issue has not been updated in over 15 days. @MariaHCD, @allroundexperts, @muttmuure, @dukenv0307 eroding to Monthly issue.

P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do!

@allroundexperts
Copy link
Contributor

This was deployed to production 2 weeks ago. I think we're just pending the payment here. cc @muttmuure

@muttmuure muttmuure added Daily KSv2 and removed Monthly KSv2 labels Mar 20, 2024
@muttmuure
Copy link
Contributor

$500 - @allroundexperts for C+
$500 - @dukenv0307 paid on Upwork

@JmillsExpensify
Copy link

$500 approved for @allroundexperts

@melvin-bot melvin-bot bot added Weekly KSv2 and removed Daily KSv2 labels Apr 9, 2024
Copy link

melvin-bot bot commented Apr 9, 2024

This issue has not been updated in over 14 days. @MariaHCD, @allroundexperts, @muttmuure, @dukenv0307 eroding to Weekly issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something is broken. Auto assigns a BugZero manager. Engineering Internal Requires API changes or must be handled by Expensify staff Reviewing Has a PR in review Weekly KSv2
Projects
None yet
Development

No branches or pull requests

8 participants