-
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
[HOLD for payment 2024-09-06][Search v2.1] Keep user on Search page if expense is created from Search page #47179
Comments
This is related to #41020, since the nav refactor would have to handle both the RHP and main pane navs |
Should we put this in #wave-control then with everything else Search related?
Maybe the v1 pre-refactor is landing back on the table with the new expense row created highlighted for emphasis or something? |
I could totally get down with that as a v1. |
Same, I think that'd be nice as a v1. |
@adamgrzybowski @WojtekBoman since you're more familiar with navigation logic, how involved do you think it'd be to implement this? |
Zooming out a bit, given the navigation refactors required for this issue, I think I'd still choose prioritizing Search 2.3 and 2.4 ahead of this initiative. Still down to see how "big" of an effort it is regardless though. |
@luacmartins I did some quick research and we call the If we call this without argument, the user should stay on the search page. We can conditionally remove the argument if the topmost central pane is the search page. |
That sounds good. If it's an easy fix, let's go for it. |
Nice, let's do it. ❤️ |
Awesome, agreed |
Should somebody from SWM or I take care of that? |
Yea, would love if you could work on this one @adamgrzybowski. You're already assigned to the issue, so please go ahead. |
@luacmartins ready for review ⬆️ |
Can you handle the case when editing report fields as well #47554 |
I dropped a comment in the PR to ask whether we're going to address that issue in the already opened PR before merge. |
Hey, I added the changes for the |
This comment was marked as outdated.
This comment was marked as outdated.
✅ Issue was addressed, tests well #47721 (comment) and PR will be merged soon 🤞 |
Exciting! |
Coming from this comment, we should add the new transaction to the list. We don't optimistically create this data in the search Onyx key and we should keep it that way. I think we might need to just trigger a reload of the page given the existing filters may or may not show the new transation. |
PR hit staging yesterday, assigning myself for |
PR was deployed to prod in v9.0.26-6. |
@trjExpensify, @luacmartins, @ikevin127, @adamgrzybowski Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Payment is due here!
As a follow-up, I think we should consider some kind of highlight/flash of the newly added expense row in the table. Maybe @ikevin127 you'd fancy taking that on? |
#48716 - here's the follow up issue I have in planning if you're keen for this one, Kevin. |
@trjExpensify Offer accepted, thank you! Sure, I don't mind reviewing the other issue as well ✌️ |
Oh right, I was more so wondering if you want to hatch a plan and implement it. :) |
@trjExpensify I can do that as well, will look into the issue today and try to come up with a proposal. In the meantime, do you mind finalizing the payment on this issue ? I accepted the offer, thank you! |
Yep, I just paid it. |
Sounds good, let's chat on the other issue. 👍 |
Problem
If you are on the Search page and you create an expense, you get taken back to the Inbox page. This is jarring because the user would actually expect to remain on the Search page and see the expense show up in the Search table.
Solution
Let's make it so that if you were on the Search page and you create an expense, you land back on the Search page. We could make it so that you just return to the Search table and see the table populate with the new expense, or we could open up the report or workspace chat in the RHP.
Note: right now we have the ability to open up a report or expense in the RHP on Search but I don't think we can open up a workspace chat in the RHP on the Search page?
cc @Expensify/design @trjExpensify @JmillsExpensify @luacmartins
@trjExpensify - can you file this one where you want it?
Issue Owner
Current Issue Owner: @trjExpensifyThe text was updated successfully, but these errors were encountered: