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

[$500] Tag - No search field when there are more than 9 tags in the tag list #36859

Closed
6 tasks done
izarutskaya opened this issue Feb 20, 2024 · 29 comments
Closed
6 tasks done
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. Engineering External Added to denote the issue can be worked on by a contributor Monthly KSv2 Reviewing Has a PR in review

Comments

@izarutskaya
Copy link

izarutskaya commented Feb 20, 2024

If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!


Found when validating PR : #35541

Version Number: v1.4.43-0
Reproducible in staging?: Y
Reproducible in production?: N
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause-Internal Team
Slack conversation:

Action Performed:

Precondition:

  • User is an employee of Collect workspace.
  • The Collect workspace has more than 9 tags.
  1. Navigate to staging.new.expensify.com
  2. Go to workspace chat.
  3. Click + > Request money > Manual.
  4. Enter amount > Next.
  5. Click Show more.
  6. Click Tag.

Expected Result:

There will be a search field above tag list because there are more than 9 tags.

Actual Result:

There is no search field above tag list when there are more than 9 tags.

Workaround:

Unknown

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

Bug6385312_1708402897997.bandicam_2024-02-20_08-50-11-856.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~014ce6942105099a0b
  • Upwork Job ID: 1759888738434629632
  • Last Price Increase: 2024-02-20
@izarutskaya izarutskaya added DeployBlockerCash This issue or pull request should block deployment External Added to denote the issue can be worked on by a contributor Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Feb 20, 2024
@melvin-bot melvin-bot bot changed the title Tag - No search field when there are more than 9 tags in the tag list [$500] Tag - No search field when there are more than 9 tags in the tag list Feb 20, 2024
Copy link

melvin-bot bot commented Feb 20, 2024

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

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

melvin-bot bot commented Feb 20, 2024

Triggered auto assignment to @kevinksullivan (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

Copy link

melvin-bot bot commented Feb 20, 2024

Triggered auto assignment to Contributor-plus team member for initial proposal review - @ntdiary (External)

@github-actions github-actions bot added Engineering Hourly KSv2 and removed Daily KSv2 labels Feb 20, 2024
Copy link
Contributor

👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:

  1. Identify the pull request that introduced this issue and revert it.
  2. Find someone who can quickly fix the issue.
  3. Fix the issue yourself.

Copy link

melvin-bot bot commented Feb 20, 2024

Triggered auto assignment to @Beamanator (Engineering), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.

@izarutskaya
Copy link
Author

We think that this bug might be related to #wave6-collect-submitters
CC @greg-schroeder

@tienifr
Copy link
Contributor

tienifr commented Feb 20, 2024

Proposal

Please re-state the problem that we are trying to solve in this issue.

There is no search field above tag list when there are more than 9 tags.

What is the root cause of that problem?

Here's the commit that cause the bug: cf53298

In

const policyTagsCount = PolicyUtils.getCountOfEnabledTagsOfList(policyTagList);

we're using policyTagList, and it's not correct, it should be policyTagList.tags

What changes do you think we should make in order to solve the problem?

change to policyTagList.tags

What alternative solutions did you explore? (Optional)

NA

@shubham1206agra
Copy link
Contributor

Related to #34983
cc @rezkiy37

@rezkiy37
Copy link
Contributor

Hi, I’m Michael (Mykhailo) from Callstack and I would like to work on this issue, because I am an author of a broken PR. It is still a regression period.

@shubham1206agra
Copy link
Contributor

shubham1206agra commented Feb 20, 2024

@rezkiy37 You can directly raise a PR here. No need for assignment.

@shubham1206agra
Copy link
Contributor

Tagging @allroundexperts as the original issue C+ here.

@allroundexperts
Copy link
Contributor

Thanks @shubham1206agra. Will review once the PR is up.

@rezkiy37
Copy link
Contributor

rezkiy37 commented Feb 20, 2024

Also, I have to mention that our threshold is 8 items to show a search bar and sections. So, users need 8 tags at least, not 9.

@rezkiy37
Copy link
Contributor

A draft PR has been opened. Going to open for a public review soon.

@melvin-bot melvin-bot bot added the Reviewing Has a PR in review label Feb 20, 2024
@melvin-bot melvin-bot bot added Weekly KSv2 and removed Hourly KSv2 labels Feb 20, 2024
@Beamanator
Copy link
Contributor

@rezkiy37 is your PR ready for review yet? 🙏

Also @allroundexperts I'll assign you here & in the PR since you were the C+ for #34983

@melvin-bot melvin-bot bot removed the Help Wanted Apply this label when an issue is open to proposals by contributors label Feb 21, 2024
@Beamanator
Copy link
Contributor

PR merged! I'll start a convo in slack to see if we want to CP this or if we're planning to :donothing: due to the deploy freeze

@tienifr
Copy link
Contributor

tienifr commented Feb 22, 2024

@Beamanator Should we have a payment here since we used my proposal to fix this blocker?

Similar case: https://expensify.slack.com/archives/C01GTK53T8Q/p1707782382926619?thread_ts=1707781846.347169&cid=C01GTK53T8Q

@Beamanator
Copy link
Contributor

@tienifr honestly good question, the fix is insanely small and, while you did also propose the correct fix, I think it's only worth a payout if @rezkiy37 used your proposed solution to guide his fix

@Beamanator Beamanator removed the DeployBlockerCash This issue or pull request should block deployment label Feb 22, 2024
@Beamanator
Copy link
Contributor

Removing deploy blocker label since fix is now in staging

@rezkiy37
Copy link
Contributor

...I think it's only worth a payout if @rezkiy37 used your proposed solution to guide his fix

Yeah, the proposal helped me to fix the bug.

@Beamanator
Copy link
Contributor

Noice, then ya i think it does make sense for @tienifr to get some bonus for the help - cc @kevinksullivan , the payment pro in this issue

@kevinksullivan
Copy link
Contributor

Just to clarify, @tienifr should be getting paid the same as others for the help, or a fractional "bonus"?

@tienifr
Copy link
Contributor

tienifr commented Feb 29, 2024

@Beamanator Can you check the question above ^? Thanks

@kevinksullivan
Copy link
Contributor

Payout summary:

@tienifr offer sent, let me know when you accept.

@tienifr
Copy link
Contributor

tienifr commented Mar 2, 2024

@kevinksullivan I accepted, thanks!

@JmillsExpensify
Copy link

$500 approved for @allroundexperts based on summary.

@tienifr
Copy link
Contributor

tienifr commented Apr 1, 2024

@tienifr $125 (bonus for assisting with proposal)

@kevinksullivan Could you help with payment here? Thanks!

@melvin-bot melvin-bot bot added Monthly KSv2 and removed Weekly KSv2 labels Apr 5, 2024
Copy link

melvin-bot bot commented Apr 5, 2024

This issue has not been updated in over 15 days. @Beamanator, @kevinksullivan, @allroundexperts, @rezkiy37 eroding to Monthly issue.

P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do!

@kevinksullivan
Copy link
Contributor

all set

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something is broken. Auto assigns a BugZero manager. Engineering External Added to denote the issue can be worked on by a contributor Monthly KSv2 Reviewing Has a PR in review
Projects
None yet
Development

No branches or pull requests

9 participants