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

[HOLD for payment 2024-09-17][$250] [Tracking][Search v2.1] Follow up issues #45293

Closed
6 tasks done
luacmartins opened this issue Jul 11, 2024 · 22 comments
Closed
6 tasks done
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 NewFeature Something to build that is a new item.

Comments

@luacmartins
Copy link
Contributor

luacmartins commented Jul 11, 2024

A couple of clean up items as we start to roll out Search v2:

Issue OwnerCurrent Issue Owner: @
Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021833881850571575893
  • Upwork Job ID: 1833881850571575893
  • Last Price Increase: 2024-09-11
@luacmartins luacmartins added the Daily KSv2 label Jul 11, 2024
@luacmartins luacmartins self-assigned this Jul 11, 2024
@luacmartins luacmartins added Weekly KSv2 and removed Daily KSv2 labels Jul 12, 2024
@luacmartins luacmartins changed the title [HOLD][Search v2] Clean up old functions and add better error handling [HOLD][Search v2] Follow up issues Jul 12, 2024
@luacmartins luacmartins changed the title [HOLD][Search v2] Follow up issues [Tracking][Search v2] Follow up issues Jul 12, 2024
@melvin-bot melvin-bot bot added the Overdue label Jul 22, 2024
@luacmartins
Copy link
Contributor Author

Gonna get to this soon

@melvin-bot melvin-bot bot removed the Overdue label Jul 23, 2024
@luacmartins luacmartins changed the title [Tracking][Search v2] Follow up issues [Tracking][Search v2.1] Follow up issues Jul 31, 2024
@melvin-bot melvin-bot bot added the Overdue label Aug 1, 2024
@luacmartins
Copy link
Contributor Author

We'll handle these once the filter PRs are done.

@Kicu
Copy link
Contributor

Kicu commented Aug 9, 2024

I will start to work on adding policyIDs to grammar.
This task is a bit tricky since we have a lot of special hacks for making policyIDs query param work with existing .../w/<policyid>/report... routes and with workspace switcher.

Once we move policyIDs into AST we need to go over all the special edge cases and refactor or remove them

@luacmartins
Copy link
Contributor Author

Thanks for picking this one up!

@289Adam289
Copy link
Contributor

I can start to work on updating the grammar to return multi-select values in the same AST node.

@289Adam289
Copy link
Contributor

While working on issues related to grammar i came across two bugs:

  1. Operators >= and <= don't work. It is directly connected to how peggy handles disjunctions and should be easily solved by changing the order of operators in grammar.

  2. Words in free text that have a prefix equal to any keyword results in unexpected behavior. For example ink results in {operator: 'eq', left: 'in', right: 'k'}. It is caused by operator in filter being optional.

I can implement fixes in the pr updating the grammar

@luacmartins
Copy link
Contributor Author

Ah nice catch @289Adam289, yea let's update those cases

@Kicu
Copy link
Contributor

Kicu commented Sep 2, 2024

I wanted to suggest that we mark:
Add better error handling to SaerchUtils.buildJSONQuery as done.

Reason: the error that is thrown now is a bit more verboes (done by me) and @289Adam289 has updated the grammar and gave better names to parts of grammar.
https://github.com/Expensify/App/blob/main/src/libs/SearchUtils.ts#L324

Here's how an error looks now:
Screenshot 2024-09-02 at 17 02 47

@luacmartins
Copy link
Contributor Author

@Kicu agreed! I marked it as resolved in the OP.

@luacmartins luacmartins added NewFeature Something to build that is a new item. External Added to denote the issue can be worked on by a contributor labels Sep 11, 2024
Copy link

melvin-bot bot commented Sep 11, 2024

Current assignee @lschurr is eligible for the NewFeature assigner, not assigning anyone new.

Copy link

melvin-bot bot commented Sep 11, 2024

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

@melvin-bot melvin-bot bot changed the title [Tracking][Search v2.1] Follow up issues [$250] [Tracking][Search v2.1] Follow up issues Sep 11, 2024
@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Sep 11, 2024
Copy link

melvin-bot bot commented Sep 11, 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 Sep 11, 2024
@luacmartins luacmartins added Weekly KSv2 and removed Daily KSv2 Help Wanted Apply this label when an issue is open to proposals by contributors labels Sep 11, 2024
@luacmartins luacmartins changed the title [$250] [Tracking][Search v2.1] Follow up issues [HOLD for payment 2024-09-17][$250] [Tracking][Search v2.1] Follow up issues Sep 11, 2024
@luacmartins luacmartins added Awaiting Payment Auto-added when associated PR is deployed to production Daily KSv2 and removed Reviewing Has a PR in review Weekly KSv2 labels Sep 11, 2024
@luacmartins
Copy link
Contributor Author

Last PR was deployed to prod yesterday

@lschurr lschurr added Weekly KSv2 and removed Daily KSv2 labels Sep 11, 2024
@Kicu
Copy link
Contributor

Kicu commented Sep 12, 2024

Alright, lets close it. For now sorting seems to work, so perhaps better not to update something that is working alright.

@lschurr
Copy link
Contributor

lschurr commented Sep 12, 2024

Could you clarify what you're referring to @Kicu? The PR was deployed and now we wait 7 days before closing to make sure there are no regressions.

@luacmartins
Copy link
Contributor Author

@lschurr @Kicu was replying to my comment here

@rayane-djouah
Copy link
Contributor

@lschurr Friendly reminder, the payment is due today

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Sep 17, 2024
Copy link

melvin-bot bot commented Sep 17, 2024

Payment Summary

Upwork Job

BugZero Checklist (@lschurr)

  • I have verified the correct assignees and roles are listed above and updated the neccesary manual offers
  • I have verified that there are no duplicate or incorrect contracts on Upwork for this job (https://www.upwork.com/ab/applicants/1833881850571575893/hired)
  • I have paid out the Upwork contracts or cancelled the ones that are incorrect
  • I have verified the payment summary above is correct

@lschurr
Copy link
Contributor

lschurr commented Sep 17, 2024

Looks like the automation didn't work, so I manually sent the offer @rayane-djouah - https://www.upwork.com/nx/wm/offer/104006695

@rayane-djouah
Copy link
Contributor

@lschurr - Accepted the offer. Thanks!

@lschurr lschurr closed this as completed Sep 17, 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 External Added to denote the issue can be worked on by a contributor NewFeature Something to build that is a new item.
Projects
Status: Done
Development

No branches or pull requests

5 participants