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] [HOLD for payment 2024-11-22] [Search v2.5] If Search in suggests a workspace chat, we should add the reportID filter instead of in. Same goes for invoice and trip rooms #51964

Open
luacmartins opened this issue Nov 4, 2024 · 13 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Daily KSv2 NewFeature Something to build that is a new item. Overdue

Comments

@luacmartins
Copy link
Contributor

luacmartins commented Nov 4, 2024

Coming from this thread, we should make expenses the default type when suggesting contextual report searches if the report is a workspace chat or invoice room

  1. Head to the workspace chat
  2. Click the router, opt for Search in
  3. Add the merchant/description from a historical expense

Expected result
Standard search for a workspace chat would be the expense type

Actual result
I land on the Search results page with type:chats selected

cc @SzymczakJ

Issue OwnerCurrent Issue Owner: @
Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021857432600242148425
  • Upwork Job ID: 1857432600242148425
  • Last Price Increase: 2024-11-15
@luacmartins luacmartins added Daily KSv2 NewFeature Something to build that is a new item. labels Nov 4, 2024
@luacmartins luacmartins self-assigned this Nov 4, 2024
Copy link

melvin-bot bot commented Nov 4, 2024

Triggered auto assignment to @johncschuster (NewFeature), see https://stackoverflowteams.com/c/expensify/questions/14418#:~:text=BugZero%20process%20steps%20for%20feature%20requests for more details. Please add this Feature request to a GH project, as outlined in the SO.

@289Adam289
Copy link
Contributor

Hi I am Adam from SWM and I'd like to work on this issue

@289Adam289
Copy link
Contributor

From my understanding, using: type:expense reportID:<workspace chat> and type:invoice reportID:<invoice room> should get all expenses/invoices from a specific room, but I'm not receiving any results. Is this supported on the backend, or should a different query be created?

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Weekly KSv2 labels Nov 6, 2024
@luacmartins
Copy link
Contributor Author

I think the reason you don't see any results is because those reportIDs belong to a chat report and the expenses are actually reported on expense or invoice type reports, which is a child of the chat report. So I think a more accurate filter would be type:expense policyID:<workspaceID> from:<workspace chat participant email> since that'd filter all expenses sent by a user to the workspace, which should live in the workspace chat. Similarly, for invoice type:invoice policyID:<invoice room policyID> from:<invoice room participant email>.

cc @JmillsExpensify to confirm since you suggested this change

@garrettmknight garrettmknight moved this to Bugs and Follow Up Issues in [#whatsnext] #expense Nov 11, 2024

This comment was marked as off-topic.

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Nov 15, 2024
@melvin-bot melvin-bot bot changed the title [Search v2.5] If Search in suggests a workspace chat, we should add the reportID filter instead of in. Same goes for invoice and trip rooms [HOLD for payment 2024-11-22] [Search v2.5] If Search in suggests a workspace chat, we should add the reportID filter instead of in. Same goes for invoice and trip rooms Nov 15, 2024
Copy link

melvin-bot bot commented Nov 15, 2024

Reviewing label has been removed, please complete the "BugZero Checklist".

@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Nov 15, 2024
Copy link

melvin-bot bot commented Nov 15, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.62-4 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-11-22. 🎊

For reference, here are some details about the assignees on this issue:

Copy link

melvin-bot bot commented Nov 15, 2024

BugZero Checklist: The PR adding this new feature has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:

  • [@rayane-djouah] Please propose regression test steps to ensure the new feature will work correctly on production in further releases.
  • [@johncschuster] Link the GH issue for creating/updating the regression test once above steps have been agreed upon.

@johncschuster johncschuster 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 [HOLD for payment 2024-11-22] [Search v2.5] If Search in suggests a workspace chat, we should add the reportID filter instead of in. Same goes for invoice and trip rooms [$250] [HOLD for payment 2024-11-22] [Search v2.5] If Search in suggests a workspace chat, we should add the reportID filter instead of in. Same goes for invoice and trip rooms Nov 15, 2024
Copy link

melvin-bot bot commented Nov 15, 2024

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

@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

Current assignee @rayane-djouah is eligible for the External assigner, not assigning anyone new.

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

Adding External to create the Upwork job

@johncschuster johncschuster removed External Added to denote the issue can be worked on by a contributor Help Wanted Apply this label when an issue is open to proposals by contributors labels Nov 15, 2024
@johncschuster
Copy link
Contributor

Payment Summary:

Contributor: @289Adam289 does not require payment

Contributor+: @rayane-djouah paid $250 via Upwork

Upwork job here! Please apply

@rayane-djouah
Copy link
Contributor

No need for regression test steps for now; they will be added as part of the project wrap-up.

@melvin-bot melvin-bot bot added the Overdue label Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Daily KSv2 NewFeature Something to build that is a new item. Overdue
Projects
Status: Bugs and Follow Up Issues
Development

No branches or pull requests

4 participants