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-10-30] [CRI] [Search v2.2] Add No category and No tag search filters #49675

Closed
6 tasks done
trjExpensify opened this issue Sep 24, 2024 · 37 comments
Closed
6 tasks done
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Daily KSv2 Internal Requires API changes or must be handled by Expensify staff NewFeature Something to build that is a new item.

Comments

@trjExpensify
Copy link
Contributor

trjExpensify commented Sep 24, 2024

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Version Number: v9.0.39-2
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: customer in the NewDot feedback public room.
Slack conversation: https://expensify.slack.com/archives/C036QM0SLJK/p1727216730118619

Action Performed:

  1. Create a workspace
  2. Enable tags in More features > add a couple of tags
  3. Go to the Search page
  4. Create an expense
  5. Click the Filters button
  6. Click category
  7. Click tag

Actual results

  • It's not uncommon for people to want to filter their expense list to those they've yet to code properly, this helps them focus on what still needs to be done to finalise their expenses. On OldDot we accommodate this by including options for Uncategorized and Untagged in the filters on the expenses page. We didn't add those to NewDot with the MVP, and so this is a feature request issue to add those two filters.

Expected results

  • When you click the Category filter, there should be a No category row at the top above the Category subheader. When selected, it filters the results to include expenses with no category value selected.

  • When you click the Tag filter, there should be an No tag row at the top above the Tag subheader. When selected, it filter the results to include expenses with no tag value selected.

  • We use no: in the search syntax for this. I.e no:category || no:tag

Workaround:

Yes, use OldDot to filter, but we really don't want them to switch back to Classic.

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • Android: Native
  • Android: mWeb Chrome
  • iOS: Native
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

image image

View all open jobs on GitHub

Issue OwnerCurrent Issue Owner: @trjExpensify
@trjExpensify trjExpensify added Daily KSv2 Planning Changes still in the thought process NewFeature Something to build that is a new item. labels Sep 24, 2024
Copy link

melvin-bot bot commented Sep 24, 2024

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

@melvin-bot melvin-bot bot added Weekly KSv2 and removed Daily KSv2 labels Sep 24, 2024
@trjExpensify
Copy link
Contributor Author

Put this on planning for a sec and assigned it to us @luacmartins while we just confirm on the Q here: https://expensify.slack.com/archives/C036QM0SLJK/p1727219750037359?thread_ts=1727216730.118619&cid=C036QM0SLJK

@JmillsExpensify
Copy link

I'm not sure this should be Uncategorized and Untagged given that we know we have customers that use Uncategorized.

@trjExpensify trjExpensify added Daily KSv2 and removed Weekly KSv2 Planning Changes still in the thought process labels Sep 26, 2024
@trjExpensify
Copy link
Contributor Author

Why not? We've used that for years above the list of categories in the filters? I think that's fine.

@trjExpensify trjExpensify changed the title [CRI] [Search v2.1] Add "Uncategorized" and Untagged category filter [CRI] [Search v2.1] Add Uncategorized and Untagged category filter Sep 26, 2024
@trjExpensify
Copy link
Contributor Author

We could name the rows "No category" and "No tag" if we want? It would match the search syntax of no:category. I'm down for whatever.

@trjExpensify trjExpensify added the Internal Requires API changes or must be handled by Expensify staff label Sep 26, 2024
@luacmartins
Copy link
Contributor

I'm cool with matching the syntax and using No category or No tag

@JmillsExpensify
Copy link

Awesome that resolves my concern.

@trjExpensify trjExpensify changed the title [CRI] [Search v2.1] Add Uncategorized and Untagged category filter [CRI] [Search v2.1] Add No category and No tag search filters Sep 26, 2024
@trjExpensify
Copy link
Contributor Author

Updated!

@melvin-bot melvin-bot bot added the Overdue label Sep 30, 2024
@trjExpensify
Copy link
Contributor Author

You have everything you need here now to proceed, @luacmartins?

@melvin-bot melvin-bot bot removed the Overdue label Sep 30, 2024
@luacmartins
Copy link
Contributor

Yea, I think I have everything for now

@luacmartins luacmartins changed the title [CRI] [Search v2.1] Add No category and No tag search filters [CRI] [Search v2.3] Add No category and No tag search filters Oct 3, 2024
@melvin-bot melvin-bot bot added the Overdue label Oct 3, 2024
@luacmartins luacmartins changed the title [CRI] [Search v2.3] Add No category and No tag search filters [CRI] [Search v2.2] Add No category and No tag search filters Oct 3, 2024
@luacmartins
Copy link
Contributor

Working on the draft PRs

Copy link

melvin-bot bot commented Oct 18, 2024

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

Copy link

melvin-bot bot commented Oct 18, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.50-8 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-10-25. 🎊

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

  • @ikevin127 requires payment (Needs manual offer from BZ)

Copy link

melvin-bot bot commented Oct 18, 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:

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

@ikevin127
Copy link
Contributor

No payment due here based on #49675 (comment) because the PR was reverted due to regression.

@trjExpensify
Copy link
Contributor Author

Will jump on reviewing the v2 PR once the auth PR is deployed and HOLD is lifted 👍

Auth PR hit prod an hour ago: https://github.com/Expensify/Auth/pull/12812#issuecomment-2427681049

@trjExpensify trjExpensify added Reviewing Has a PR in review and removed Awaiting Payment Auto-added when associated PR is deployed to production labels Oct 21, 2024
@trjExpensify trjExpensify changed the title [HOLD for payment 2024-10-25] [CRI] [Search v2.2] Add No category and No tag search filters [CRI] [Search v2.2] Add No category and No tag search filters Oct 21, 2024
@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Oct 23, 2024
@melvin-bot melvin-bot bot changed the title [CRI] [Search v2.2] Add No category and No tag search filters [HOLD for payment 2024-10-30] [CRI] [Search v2.2] Add No category and No tag search filters Oct 23, 2024
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Oct 23, 2024
Copy link

melvin-bot bot commented Oct 23, 2024

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

Copy link

melvin-bot bot commented Oct 23, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.52-5 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-10-30. 🎊

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

  • @ikevin127 requires payment (Needs manual offer from BZ)

Copy link

melvin-bot bot commented Oct 23, 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:

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

@ikevin127
Copy link
Contributor

  • [@ikevin127] Please propose regression test steps to ensure the new feature will work correctly on production in further releases.

No need for regression tests here as stated before in #46031 (comment):

This feature is still WIP, so we'll add them as part of the project wrap up.

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Oct 29, 2024
Copy link

melvin-bot bot commented Oct 30, 2024

Payment Summary

Upwork Job

  • ROLE: @ikevin127 paid $(AMOUNT) via Upwork (LINK)

BugZero Checklist (@trjExpensify)

  • 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//hired)
  • I have paid out the Upwork contracts or cancelled the ones that are incorrect
  • I have verified the payment summary above is correct

@ikevin127
Copy link
Contributor

cc @trjExpensify

@melvin-bot melvin-bot bot added the Overdue label Oct 31, 2024
@trjExpensify
Copy link
Contributor Author

I'm back! Okay, so confirming payment summary as follows accounting for 1 regression:

Offer sent.

@melvin-bot melvin-bot bot removed the Overdue label Nov 1, 2024
@ikevin127
Copy link
Contributor

@trjExpensify Offer accepted, thanks!

@trjExpensify
Copy link
Contributor Author

Accepted > Paid > Closing!

@ikevin127
Copy link
Contributor

ikevin127 commented Nov 1, 2024

@luacmartins Just wanted to ask so I'll know in the future: if the first PR was reverted with no payment issued, given that the 2nd PR didn't have any regression, isn't the compensation supposed to be paid fully in this case ?

@luacmartins
Copy link
Contributor

This is what we have in the contributing guidelines:

### Regressions

If a PR causes a regression at any point within the regression period (starting when the code is merged and ending 168 hours (that's 7 days) after being deployed to production): 
- payments will be issued 7 days after all regressions are fixed (ie: deployed to production)
- a 50% penalty will be applied to the Contributor and [Contributor+](https://github.com/Expensify/App/blob/main/contributingGuides/HOW_TO_BECOME_A_CONTRIBUTOR_PLUS.md) for each regression on an issue

The 168 hours (aka 7 days) will be measured by calculating the time between when the PR is merged, and when a bug is posted to the #expensify-bugs Slack channel.

Was the PR reverted because of a regression it caused? I think in this case it introduced a broken feature so I'd say that's a regression and I'd follow the process outlined above where the PR caused a regression 1 day after being deployed to staging and was reverted.

@ikevin127
Copy link
Contributor

Cool, thanks for clearing things up!

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 Internal Requires API changes or must be handled by Expensify staff NewFeature Something to build that is a new item.
Projects
Status: Done
Status: Done
Development

No branches or pull requests

4 participants