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 2021-11-04] Chat - No results found message displayed even when results are found #4993

Closed
kavimuru opened this issue Sep 1, 2021 · 69 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Engineering External Added to denote the issue can be worked on by a contributor Reviewing Has a PR in review Weekly KSv2

Comments

@kavimuru
Copy link

kavimuru commented Sep 1, 2021

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


Action Performed:

  1. Go to https://staging.new.expensify.com
  2. Log in with any account.
  3. Tap + green fab and select "New chat" option
  4. On the search box, search any user you have access to

Expected Result:

If a user is found the message ''No result found" hould not be displayed

Actual Result:

No results found message displayed even when results are found for searched user

Workaround:

Unknown

Platform:

Where is this issue occurring?

  • Web
  • iOS
  • Android
  • Desktop App
  • Mobile Web

Version Number:
1.91-0
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos:

Bug5219427_Recording__62.mp4

Bug5219427_No_result_found

Expensify/Expensify Issue URL:

View all open jobs on GitHub

@kavimuru kavimuru added the DeployBlockerCash This issue or pull request should block deployment label Sep 1, 2021
@OSBotify
Copy link
Contributor

OSBotify commented Sep 1, 2021

👋 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.

@MelvinBot
Copy link

Triggered auto assignment to @jasperhuangg (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

@roryabraham
Copy link
Contributor

@jasperhuangg is going to be schoolin' pretty soon here, so I'm going to grab this deploy blocker from him.

@roryabraham
Copy link
Contributor

I'm unable to reproduce on staging.

@roryabraham
Copy link
Contributor

@kavimuru Can you please refresh and/or retest, because the reproduction steps are not working for me.

@parasharrajat
Copy link
Member

parasharrajat commented Sep 1, 2021

@roryabraham I can reproduce this on master. Seems a kind of regression.

df

@roryabraham
Copy link
Contributor

Hmmm @parasharrajat well out of the newly deployed PRs on the checklist, this one seems like the most likely candidate to have caused a regression here, because it's the only one that altered related code such as OptionListUtils.

@roryabraham
Copy link
Contributor

Maybe it's another beta issue

@isagoico
Copy link

isagoico commented Sep 1, 2021

I'm also unable to reproduce on my side. Asking the same tester who reported this if he can still repro.

@parasharrajat
Copy link
Member

I will check it Rory. Thanks for pointing it out.

@roryabraham
Copy link
Contributor

Also, it might be useful to know if it's only reproducible only for the New Group page or also for Search and/or New Chat

@isagoico
Copy link

isagoico commented Sep 1, 2021

Figured it out (I think). You have to search for one of the users that are currently included in the recents list. @roryabraham Let me know if that works for you and I'll add it to the Action performed.

image

@isagoico
Copy link

isagoico commented Sep 1, 2021

Issue is also reproducible in production. Removing the blocker label.
image

@isagoico isagoico removed the DeployBlockerCash This issue or pull request should block deployment label Sep 1, 2021
@roryabraham
Copy link
Contributor

roryabraham commented Sep 1, 2021

Since this is no longer a time-sensitive deploy blocker, I'm going to unassign myself for now.

@roryabraham roryabraham added Daily KSv2 and removed Hourly KSv2 labels Sep 1, 2021
@roryabraham

This comment has been minimized.

@roryabraham roryabraham added the External Added to denote the issue can be worked on by a contributor label Sep 1, 2021
@MelvinBot MelvinBot added the Weekly KSv2 label Sep 1, 2021
@MitchExpensify MitchExpensify added the External Added to denote the issue can be worked on by a contributor label Oct 22, 2021
@MelvinBot
Copy link

Triggered auto assignment to @dylanexpensify (External), see https://stackoverflow.com/c/expensify/questions/8582 for more details.

@dylanexpensify
Copy link
Contributor

Am I needed on this @MitchExpensify ?

@MitchExpensify
Copy link
Contributor

I unlabeled by mistake :) All good here @dylanexpensify !

@mvtglobally
Copy link

Issue not reproducible during KI retests. (Second week)

@botify botify added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Daily KSv2 labels Oct 28, 2021
@botify botify changed the title Chat - No results found message displayed even when results are found [HOLD for payment 2021-11-04] Chat - No results found message displayed even when results are found Oct 28, 2021
@botify
Copy link

botify commented Oct 28, 2021

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.1.10-2 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 2021-11-04. 🎊

@mvtglobally
Copy link

Issue not reproducible during KI retests. (Third week)

@parasharrajat
Copy link
Member

@MitchExpensify just bringing to your attention that I have done extra work on the PR for this issue based on this #4993 (comment) request.

@parasharrajat Tangentially related, but IMO there is too much-duplicated code between NewChatPage and NewGroupPage, and also partially SearchPage. I would be willing to pay a small bonus if you spend some time DRYing up that code. Up to you!

According to this, this job should be paid with a bonus for that work which is exclusive of N6-bonus. Thank you.

@MitchExpensify
Copy link
Contributor

Thanks for the heads up @parasharrajat !

@parasharrajat
Copy link
Member

Ping for
image

@MitchExpensify
Copy link
Contributor

Sorry for all these extra actions due to the N6 hold causing old jobs to close in Upwork @parasharrajat . I think this is the last one on my end. Please apply for the new posting here, thanks!

@ALIHASSAN65
Copy link

There can be the following reasons:
1- The check is just put on the base of contacts not also on the recent basis.
2- The check put on both the contact and recent basis but not handle in case of recent single base.

This can be resolve with 5 hours.

@opal6502
Copy link

opal6502 commented Nov 5, 2021

Responding to upwork job: https://www.upwork.com/jobs/~0197df495d5d91b0d5

For this issue, my first guess would be that the response from the API is perhaps formatted differently, and the UI isn't displaying anything, because it's unable to parse the response properly?

@mallenexpensify
Copy link
Contributor

@ALIHASSAN65 and @opal6502 this job is completed and awaiting payment. To view open jobs check here https://github.com/Expensify/App/issues?q=is%3Aopen+is%3Aissue+label%3A%22Help+Wanted%22

@parasharrajat
Copy link
Member

Ping for
image

@mvtglobally
Copy link

Issue not reproducible during KI retests. (Fourth week)
@roryabraham Let us know if you want us to keep checking it in KI retests

@mallenexpensify
Copy link
Contributor

Paid @parasharrajat inc. the n6-hold bonus

@parasharrajat
Copy link
Member

@mallenexpensify I think you missed this #4993 (comment) comment here.

@mallenexpensify
Copy link
Contributor

Thanks Rajat, 100% missed that. Since the amount was confirmed and Rory referenced small bonus, I'm going to add another bonus of $250. Let me know if you don't think that's fair.

@parasharrajat
Copy link
Member

Sounds good. Something is better than nothing. 🥇

@mallenexpensify
Copy link
Contributor

Done. Thanks for the help Rajat!

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 Engineering External Added to denote the issue can be worked on by a contributor Reviewing Has a PR in review Weekly KSv2
Projects
None yet
Development

No branches or pull requests