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

FAB - Missing conversations in recent list #21283

Closed
1 of 6 tasks
lanitochka17 opened this issue Jun 21, 2023 · 31 comments
Closed
1 of 6 tasks

FAB - Missing conversations in recent list #21283

lanitochka17 opened this issue Jun 21, 2023 · 31 comments

Comments

@lanitochka17
Copy link

lanitochka17 commented Jun 21, 2023

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:

Preconditions: user has already navigated to NewDot and logged in with an account that has a lot of conversations.

  1. Open http://staging.new.expensify.com/
  2. Log in angela.puella@mail.com
  3. Click on any chat on the LHN that is not the most recent one
  4. Click on the "Global action" button (Big green plus button in LHN)
  5. Click on "New chat" / "New group"

Expected Result:

The search list should be divided by "Recents" and "Contacts".
There should be 5 conversations displayed in "Recents".

Actual Result:

There's only a conversation displayed in "Recents"

Workaround:

Unknown

Platforms:

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

  • Android / native
  • Android / Chrome
  • iOS / native
  • iOS / Safari
  • MacOS / Chrome / Safari
  • MacOS / Desktop

Version Number: 1.3.30.5

Reproducible in staging?: Yes

Reproducible in production?: No

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

Notes/Photos/Videos: Any additional supporting documentation

Bug6102104_Bug_02_-_Staging_-_2023-06-21_16-59-02.mp4

Expensify/Expensify Issue URL:

Issue reported by: Applause - Internal Team

Slack conversation:

View all open jobs on GitHub

@lanitochka17 lanitochka17 added the DeployBlockerCash This issue or pull request should block deployment label Jun 21, 2023
@OSBotify
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.

@melvin-bot
Copy link

melvin-bot bot commented Jun 21, 2023

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

@situchan
Copy link
Contributor

I think this is backend issue. Happening on production as well.
To reproduce, logout (to clear all stale contacts data) and re-login

@WoLewicki
Copy link
Contributor

For me, those recent contacts don't change at all when navigating, and they should show the top 5 most recent opened reports?

@situchan
Copy link
Contributor

situchan commented Jun 22, 2023

Here's the root cause
Backend doesn't return login in personalDetails so it fails this condition:

// We're only picking personal details that have logins set
// This is a temporary fix for all the logic that's been breaking because of the new privacy changes
// See https://github.com/Expensify/Expensify/issues/293465 for more context
// eslint-disable-next-line no-param-reassign
personalDetails = _.pick(personalDetails, (detail) => Boolean(detail.login));

We can fix this by replacing detail.login by detail.accountID but I think this isn't enough fix.

@WoLewicki
Copy link
Contributor

Ok, so if it is not connected to navigation changes, then nothing to do here for me 😅

@melvin-bot
Copy link

melvin-bot bot commented Jun 22, 2023

Looks like something related to react-navigation may have been mentioned in this issue discussion.

As a reminder, please make sure that all proposals are not workarounds and that any and all attempt to fix the issue holistically have been made before proceeding with a solution. Proposals to change our DeprecatedCustomActions.js files should not be accepted.

Feel free to drop a note in #expensify-open-source with any questions.

@situchan
Copy link
Contributor

This was caused by #21159 which deployed to production yesterday, so not a deploy blocker. But still requires urgent fix.

@mountiny
Copy link
Contributor

Thanks for linking, I also dont think this is a deploy blocker, discussing in the slack thread

@Skalakid
Copy link
Contributor

@situchan @mountiny conversations labeled as Recent are the last opened ones (even before re-login), or conversations where I recently send/got a message?

@Skalakid
Copy link
Contributor

I'm Michał from Software Mansion and I would like to work on this issue.

@luacmartins
Copy link
Contributor

Removing the blocker label - see https://expensify.slack.com/archives/C01GTK53T8Q/p1687390694872859

@luacmartins luacmartins added Daily KSv2 and removed DeployBlockerCash This issue or pull request should block deployment Hourly KSv2 labels Jun 22, 2023
@flodnv flodnv assigned Skalakid and unassigned flodnv Jun 22, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jun 26, 2023

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

@melvin-bot melvin-bot bot added the Overdue label Jun 26, 2023
@Skalakid
Copy link
Contributor

Skalakid commented Jun 27, 2023

After discussing the solution in the Slack thread we decided to wait for this plan. Currently it is hard to fix this bug to work online and offline because we don't have needed user logins data from the server. So to have consistent solution we have to wait for the decision what data should users get from server

@melvin-bot melvin-bot bot removed the Overdue label Jun 27, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jun 30, 2023

@Skalakid Whoops! This issue is 2 days overdue. Let's get this updated quick!

@melvin-bot melvin-bot bot added the Overdue label Jun 30, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jul 4, 2023

@Skalakid Still overdue 6 days?! Let's take care of this!

@Skalakid
Copy link
Contributor

Skalakid commented Jul 5, 2023

Not overdue, still discussing it on slack

@melvin-bot melvin-bot bot removed the Overdue label Jul 5, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jul 10, 2023

@Skalakid Eep! 4 days overdue now. Issues have feelings too...

@melvin-bot melvin-bot bot added the Overdue label Jul 10, 2023
@Skalakid
Copy link
Contributor

It seems it is a backend issue since we don't receive the necessary data about all users. The logins/emails that we need to represent user items in the Recent list are unavailable. It is due to the fact that user data is limited until we enter a conversation with somebody. After this, the user will be "known" by us, and we will have more detailed user data.

The same problem appears in the Contacts list. To solve this issue we have to find a way how to get detailed data about all our contacts. With it we can easily create Recent list with the current behaviour

@melvin-bot melvin-bot bot removed the Overdue label Jul 11, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jul 14, 2023

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

@melvin-bot melvin-bot bot added the Overdue label Jul 14, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jul 18, 2023

@Skalakid Still overdue 6 days?! Let's take care of this!

@melvin-bot
Copy link

melvin-bot bot commented Jul 20, 2023

@Skalakid Now this issue is 8 days overdue. Are you sure this should be a Daily? Feel free to change it!

@melvin-bot
Copy link

melvin-bot bot commented Jul 24, 2023

@Skalakid 12 days overdue now... This issue's end is nigh!

@melvin-bot melvin-bot bot added Weekly KSv2 and removed Daily KSv2 labels Jul 27, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jul 27, 2023

This issue has not been updated in over 14 days. @Skalakid eroding to Weekly issue.

@melvin-bot melvin-bot bot removed the Overdue label Jul 27, 2023
@melvin-bot melvin-bot bot added Monthly KSv2 and removed Weekly KSv2 labels Aug 21, 2023
@melvin-bot
Copy link

melvin-bot bot commented Aug 21, 2023

This issue has not been updated in over 15 days. @Skalakid 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!

@melvin-bot melvin-bot bot closed this as completed Nov 2, 2023
Copy link

melvin-bot bot commented Nov 2, 2023

@Skalakid, this Monthly task hasn't been acted upon in 6 weeks; closing.

If you disagree, feel encouraged to reopen it -- but pick your least important issue to close instead.

@Skalakid Skalakid removed their assignment Nov 6, 2023
@Skalakid
Copy link
Contributor

Skalakid commented Nov 6, 2023

@mountiny I completely lost notification about this issue. Like I wrote above I think the problem was on the backend side. Do you know if it was solved?

@mountiny
Copy link
Contributor

mountiny commented Nov 7, 2023

Yeah I think this one has not been reproduced for a while, if it would be repro again, we can reopen

@lanitochka17
Copy link
Author

Issue is still reproducible on the latest build 9.0.85-3

Bug6704478_1735624948954.2024-12-31_13-46-27.mp4

Image

@lanitochka17 lanitochka17 reopened this Jan 14, 2025
@izarutskaya
Copy link

Created new issue for this comment - new GH #55266

@mountiny
Copy link
Contributor

Closing in favour of the fresher issue #55266

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

9 participants