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-10][Search v2.1] [App] Create In filter #46030

Closed
luacmartins opened this issue Jul 23, 2024 · 37 comments
Closed
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 23, 2024

Implement this section of the design doc for the In filter only!

cc @adamgrzybowski @Kicu @WojtekBoman @Guccio163

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

melvin-bot bot commented Jul 23, 2024

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

@melvin-bot melvin-bot bot added Weekly KSv2 and removed Daily KSv2 labels Jul 23, 2024
@luacmartins luacmartins added Daily KSv2 and removed Weekly KSv2 labels Jul 23, 2024
@trjExpensify trjExpensify moved this to Release 3: Fall 2024 (Nov) in [#whatsnext] #expense Jul 23, 2024
@melvin-bot melvin-bot bot added the Overdue label Jul 25, 2024
@RachCHopkins
Copy link
Contributor

Already added to project.

@melvin-bot melvin-bot bot added Overdue and removed Overdue labels Jul 25, 2024
@RachCHopkins
Copy link
Contributor

@luacmartins do I need to do anything here? Sorry, I'm new to this team.

@melvin-bot melvin-bot bot removed the Overdue label Jul 29, 2024
@luacmartins
Copy link
Contributor Author

Not yet, you'll have to wait until we implement this and the issue is ready for payment.

@luacmartins luacmartins changed the title [Search v2] [App] Create In filter [Search v2.1] [App] Create In filter Jul 31, 2024
@luacmartins luacmartins moved this from Release 3: Fall 2024 (Nov) to Release 2: Summer 2024 (Aug) in [#whatsnext] #expense Jul 31, 2024
@melvin-bot melvin-bot bot added the Overdue label Jul 31, 2024
Copy link

melvin-bot bot commented Aug 1, 2024

@luacmartins, @RachCHopkins Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

@RachCHopkins RachCHopkins added Monthly KSv2 and removed Daily KSv2 labels Aug 2, 2024
@melvin-bot melvin-bot bot removed the Overdue label Aug 2, 2024
@RachCHopkins
Copy link
Contributor

Changing to monthly in that case!

@luacmartins
Copy link
Contributor Author

The issue is still daily. We're looking for someone from SWM to take this on

@luacmartins luacmartins added the Daily KSv2 label Aug 2, 2024
@Guccio163
Copy link
Contributor

Hi, after research it looks like the filters' wrapping (issue above) is a matter of Text component, not even Advanced Filters one - it is just visible here, because of several MenuItems one under another in a single place. I'll look into it, hopefully it won't turn out to be a big one 🤞
cc: @luacmartins

@luacmartins
Copy link
Contributor Author

@Guccio163 If that's an issue with the text component itself, I'm inclined to create a separate issue for it outside the search project. Would you mind writing a problem statement for it so we can get this issue created while we focus on search functionality?

@Guccio163
Copy link
Contributor

@luacmartins Right now I'm consulting with SWM's android developers; I suspect this is a matter of how the shortening is implemented on Android and that their dynamics don't allow developers to enforce ending always exactly on the end of the available space, rather end earlier to not cut words randomly (what IOS supports and in this situation is better for us because it makes Texts aligned better).

I'll get back to you with possible solutions as soon as I'll be sure of our situation, right now the only possible (sensible) solution is to extend Android Native Text component to provide shortening like we need it, but this seems to be a big piece of work.

@Guccio163
Copy link
Contributor

Guccio163 commented Sep 3, 2024

@luacmartins @rayane-djouah I think I might have found quite an elegant solution to this problem, I attach iPhone, Android and web comparison below, let me know if a result like this fullfills your expectations:
Screenshot 2024-09-03 at 11 57 25

@Guccio163
Copy link
Contributor

Guccio163 commented Sep 3, 2024

Note: Our problem solving approach at Expensify is to focus on high value problems and avoid small optimizations with results that are difficult to measure. We also prefer to identify and solve problems at their root. Given that, please ensure all proposed jobs fix a specific problem in a measurable way with evidence so they are easy to evaluate. Here's an example of a good problem/solution:

Problem: The Text component in MenuItem shortens the text too early and inconsistently.

Solution: Change MenuItem Text component's flex prop to 1, to force using all provided space and thus end in more or less the same place (depending on the content). We can change this behaviour in the whole app or only when using MenuItem in SearchAdvancedFilters, where the inconsistency is visible the most.

If we want this fix to be implemented in whole app this is a small change, I already made draft pull request to show the difference; From what I've checked, it shouldn't cause any bugs to previous usages, but I'll ask for QA tests in the issue dedicated for this bug.

@luacmartins
Copy link
Contributor Author

@Guccio163 nice! Thanks for investigating this. I'm inclined to fix it in the whole App. This might lead to bugs, it's a really simple PR and easy to revert if needed. Let's do it.

@Guccio163
Copy link
Contributor

Great, I'm waiting for an issue to link PR with then 😄

@luacmartins
Copy link
Contributor Author

luacmartins commented Sep 3, 2024

@Guccio163 created here. I linked the issue to the PR already

@rayane-djouah
Copy link
Contributor

Note

The production deploy automation failed: This should be on [HOLD for Payment 2024-09-10] according to #48438 production deploy checklist, confirmed in #47676 (comment)

Payment is due today!

cc @RachCHopkins

@luacmartins luacmartins changed the title [Search v2.1] [App] Create In filter [HOLD for Payment 2024-09-10][Search v2.1] [App] Create In filter Sep 9, 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 9, 2024
@melvin-bot melvin-bot bot added the Overdue label Sep 9, 2024
luacmartins added a commit that referenced this issue Sep 9, 2024
…shortFiltersBug

[BUG] Change MenuItem Text style from #48509, found in #46030
@RachCHopkins
Copy link
Contributor

@luacmartins can I please confirm that this is a standard $250 via Upwork for @rayane-djouah? (@Guccio163 being from SWM)

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

Correct

@RachCHopkins RachCHopkins added the External Added to denote the issue can be worked on by a contributor label Sep 9, 2024
@melvin-bot melvin-bot bot changed the title [HOLD for Payment 2024-09-10][Search v2.1] [App] Create In filter [$250] [HOLD for Payment 2024-09-10][Search v2.1] [App] Create In filter Sep 9, 2024
Copy link

melvin-bot bot commented Sep 9, 2024

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

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

melvin-bot bot commented Sep 9, 2024

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

@RachCHopkins
Copy link
Contributor

I think I just sent you an offer @rayane-djouah but it did something a little strange - can you please confirm?

@RachCHopkins
Copy link
Contributor

Oh, I see - it was because you were super duper fast.

@RachCHopkins
Copy link
Contributor

Payment Summary:

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

Upwork job here

@RachCHopkins
Copy link
Contributor

Contributor has been paid, the contract has been completed, and the Upwork post has been closed.

@github-project-automation github-project-automation bot moved this from Release 2: Summer 2024 (Aug) to Done in [#whatsnext] #expense Sep 10, 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 Help Wanted Apply this label when an issue is open to proposals by contributors NewFeature Something to build that is a new item.
Projects
Archived in project
Development

No branches or pull requests

6 participants