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

[$250] Show expense in RHP when new expense is added from Search page #52604

Open
dubielzyk-expensify opened this issue Nov 15, 2024 · 15 comments
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. External Added to denote the issue can be worked on by a contributor Weekly KSv2

Comments

@dubielzyk-expensify
Copy link
Contributor

dubielzyk-expensify commented Nov 15, 2024

Problem

When a user creates an expense from the Search page today and have filters set to Chat or Invoices, the user won't know that the expense got successfully created. Here's a video of the issue:

CleanShot.2024-11-14.at.14.13.26.mp4

Solution

When an expense is created on the Search page, show the created expense in the RHP to ensure the user is aware that their expense was created successfully.

image

cc @Expensify/design

Issue OwnerCurrent Issue Owner: @WojtekBoman
Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021857449060653341195
  • Upwork Job ID: 1857449060653341195
  • Last Price Increase: 2024-11-15
@dubielzyk-expensify dubielzyk-expensify added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Nov 15, 2024
Copy link

melvin-bot bot commented Nov 15, 2024

Triggered auto assignment to @adelekennedy (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.

@dubielzyk-expensify dubielzyk-expensify added Weekly KSv2 and removed Daily KSv2 labels Nov 15, 2024
@mkzie2
Copy link
Contributor

mkzie2 commented Nov 15, 2024

Edited by proposal-police: This proposal was edited at 2024-11-15 09:05:52 UTC.

Proposal

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

Show expense in RHP when new expense is added from Search page

What is the root cause of that problem?

A feature request.

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

We should open the Report in RHP after completing the IOU action.

For example in requestMoney action, instead of directly dismissModal:

Navigation.dismissModal(isSearchTopmostCentralPane() ? undefined : activeReportID);

to:

if (isSearchTopmostCentralPane()) {
        Navigation.navigate(ROUTES.SEARCH_REPORT.getRoute({reportID: iouReport.reportID, reportActionID: createdIOUReportActionID}));
        return;
    }
    Navigation.dismissModal(activeReportID);

We can explicitly check if the current search filter is other than Expenses before navigating. Because in Expenses filter, we will briefly highlight the created expense in the expenses list.

We need to apply this change to other IOU actions: trackExpense, sendInvoice, createDistanceRequest, splitBill,...

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Nov 15, 2024
@WojtekBoman
Copy link
Contributor

Hey! I am Wojtek from Software Mansion, an expert agency. Currently we are working together with @adamgrzybowski on Refactor RHP flow to contain navigation within itself. I can take a look at it as it should be covered by the solution we are implementing.

@luacmartins luacmartins added the External Added to denote the issue can be worked on by a contributor label Nov 15, 2024
@melvin-bot melvin-bot bot changed the title Show expense in RHP when new expense is added from Search page [$250] Show expense in RHP when new expense is added from Search page Nov 15, 2024
Copy link

melvin-bot bot commented Nov 15, 2024

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

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

melvin-bot bot commented Nov 15, 2024

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

@luacmartins luacmartins removed the Help Wanted Apply this label when an issue is open to proposals by contributors label Nov 15, 2024
Copy link

melvin-bot bot commented Nov 19, 2024

@eVoloshchak, @luacmartins, @WojtekBoman, @adelekennedy Whoops! This issue is 2 days overdue. Let's get this updated quick!

@melvin-bot melvin-bot bot added the Overdue label Nov 19, 2024
@WojtekBoman
Copy link
Contributor

I'm still working on that 🫡

Copy link

melvin-bot bot commented Nov 21, 2024

@eVoloshchak, @luacmartins, @WojtekBoman, @adelekennedy Eep! 4 days overdue now. Issues have feelings too...

Copy link

melvin-bot bot commented Nov 25, 2024

@eVoloshchak, @luacmartins, @WojtekBoman, @adelekennedy 8 days overdue is a lot. Should this be a Weekly issue? If so, feel free to change it!

@adamgrzybowski
Copy link
Contributor

Still in progress

Copy link

melvin-bot bot commented Nov 27, 2024

@eVoloshchak, @luacmartins, @WojtekBoman, @adelekennedy 10 days overdue. I'm getting more depressed than Marvin.

Copy link

melvin-bot bot commented Nov 29, 2024

@eVoloshchak @luacmartins @WojtekBoman @adelekennedy 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!

Copy link

melvin-bot bot commented Nov 29, 2024

@eVoloshchak, @luacmartins, @WojtekBoman, @adelekennedy 12 days overdue now... This issue's end is nigh!

@melvin-bot melvin-bot bot added Weekly KSv2 and removed Daily KSv2 labels Dec 2, 2024
Copy link

melvin-bot bot commented Dec 2, 2024

This issue has not been updated in over 14 days. @eVoloshchak, @luacmartins, @WojtekBoman, @adelekennedy eroding to Weekly issue.

@melvin-bot melvin-bot bot removed the Overdue label Dec 2, 2024
@WojtekBoman
Copy link
Contributor

It's still in progress as we had to wait for merging the native stack PR, currently we're adjusting this PR to changes introduced by native stacks. When we finish it, I'll raise a PR for this 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. External Added to denote the issue can be worked on by a contributor Weekly KSv2
Projects
None yet
Development

No branches or pull requests

7 participants