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-09-06][Search v2.1] Include policyID in the Search AST #46592

Closed
luacmartins opened this issue Jul 31, 2024 · 18 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Daily KSv2 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 NewFeature Something to build that is a new item.

Comments

@luacmartins
Copy link
Contributor

luacmartins commented Jul 31, 2024

Problem

Currently, we send the policyIDs as a Search API param, however it should be parsed an included in the AST, like we do for other filters.

Solution

Include policyID in the parser grammar and stop sending the policyIDs param

Issue OwnerCurrent Issue Owner: @
Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021833303422059505984
  • Upwork Job ID: 1833303422059505984
  • Last Price Increase: 2024-09-10
@luacmartins luacmartins added Daily KSv2 NewFeature Something to build that is a new item. labels Jul 31, 2024
Copy link

melvin-bot bot commented Jul 31, 2024

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

@rayane-djouah
Copy link
Contributor

@luacmartins Is this waiting on backend changes?

@melvin-bot melvin-bot bot removed the Overdue label Aug 12, 2024
@melvin-bot melvin-bot bot added the Overdue label Aug 20, 2024
@mallenexpensify
Copy link
Contributor

@luacmartins Is this waiting on backend changes?

Same question as @rayane-djouah , I'm unsure of next steps (and commenting to remove Overdue )

@melvin-bot melvin-bot bot removed the Overdue label Aug 21, 2024
@luacmartins
Copy link
Contributor Author

I think @Kicu might work on this one. Can you confirm?

@Kicu
Copy link
Contributor

Kicu commented Aug 21, 2024

yes! I'm working, thanks for pointing out this issue, I missed it

@Kicu
Copy link
Contributor

Kicu commented Aug 21, 2024

@luacmartins draft is ready so you might want to take a look. This is surprisingly complex, because I had to make sure all the different cases where we might set policyID from WorkspaceSwitcher are handled.
That is why the changes are spread over multiple files.

Tomorrow I will polish this up and finish the checklist

@luacmartins
Copy link
Contributor Author

Nice! Thanks for linking the draft. I'll take a look at it today.

@Kicu
Copy link
Contributor

Kicu commented Aug 22, 2024

one thing I forgot to mention - I believe now that policyID: xxxx is sent on top level of AST query I think backend is not correctly filtering the results.
Do you mind checking that out @luacmartins ?

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

I saw that last night when working on another PR. Yea, I'll work on this today.

@rayane-djouah
Copy link
Contributor

Note

The production deploy automation failed: This should be on [HOLD for Payment 2024-09-6] according to #48221 prod deploy checklist, confirmed in #47787 (comment).

cc @mallenexpensify

@melvin-bot melvin-bot bot added Weekly KSv2 and removed Weekly KSv2 labels Sep 2, 2024
@luacmartins luacmartins changed the title [Search v2.1] Include policyID in the Search AST [HOLD for Payment 2024-09-06][Search v2.1] Include policyID in the Search AST Sep 2, 2024
@luacmartins luacmartins removed the Reviewing Has a PR in review label Sep 2, 2024
@luacmartins luacmartins added Daily KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Sep 2, 2024
@melvin-bot melvin-bot bot added the Overdue label Sep 4, 2024
@luacmartins
Copy link
Contributor Author

luacmartins commented Sep 4, 2024

Not overdue. Payment is due on the 6th

@melvin-bot melvin-bot bot removed the Overdue label Sep 4, 2024
@melvin-bot melvin-bot bot added Daily KSv2 and removed Daily KSv2 labels Sep 8, 2024
@mallenexpensify mallenexpensify added the External Added to denote the issue can be worked on by a contributor label Sep 10, 2024
@melvin-bot melvin-bot bot changed the title [HOLD for Payment 2024-09-06][Search v2.1] Include policyID in the Search AST [$250] [HOLD for Payment 2024-09-06][Search v2.1] Include policyID in the Search AST Sep 10, 2024
Copy link

melvin-bot bot commented Sep 10, 2024

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

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

melvin-bot bot commented Sep 10, 2024

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

@mallenexpensify
Copy link
Contributor

@rayane-djouah can you please accept the job and reply here once you have?
https://www.upwork.com/jobs/~021833303422059505984

I'm assuming this issue is $250.

@rayane-djouah
Copy link
Contributor

@mallenexpensify I applied to the job

@mallenexpensify
Copy link
Contributor

mallenexpensify commented Sep 11, 2024

@rayane-djouah , I think I accidentally sent you an invite without hiring you, which I did just now. Can you please accept the job and reply here once you have?
https://www.upwork.com/jobs/~021833303422059505984

@rayane-djouah
Copy link
Contributor

@mallenexpensify Accepted, thanks!

@mallenexpensify
Copy link
Contributor

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

I'm assuming we don't need a regression test here and that they'll be created as part of the Search project. Thx!

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 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 NewFeature Something to build that is a new item.
Projects
Status: Done
Development

No branches or pull requests

4 participants