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] [$250] Chat - "1 New message" badge does not display when user is on the older messages and a new message arrives #9437

Closed
kavimuru opened this issue Jun 13, 2022 · 12 comments
Labels
Engineering Internal Requires API changes or must be handled by Expensify staff Monthly KSv2

Comments

@kavimuru
Copy link

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 URL https://staging.new.expensify.com/
  2. Sign into account A on the main device . Sign into account B on another device
  3. In account A, scroll to older messages with account B
  4. Send some messages from account B to account A

Expected Result:

"1new message" badge appears in account A

Actual Result:

No badge appears even if the user A is somewhere in the top of the messages

Workaround:

Unknown

Platform:

Where is this issue occurring?

  • Web

Version Number: v1.1.76-5
Reproducible in staging?: Y
Reproducible in production?: Y
Email or phone of affected tester (no customers): applausetester+ihchat4@applause.expensifail.com / Yulia1986Gerets
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos:

Bug5608305_Recording__794.mp4

Expensify/Expensify Issue URL:
Issue reported by: Applause internal team
Slack conversation:

View all open jobs on GitHub

@melvin-bot
Copy link

melvin-bot bot commented Jun 13, 2022

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

@nkuoch nkuoch added Weekly KSv2 and removed Daily KSv2 labels Jun 14, 2022
@nkuoch nkuoch removed their assignment Jun 14, 2022
@nkuoch nkuoch added the External Added to denote the issue can be worked on by a contributor label Jun 14, 2022
@melvin-bot
Copy link

melvin-bot bot commented Jun 14, 2022

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

@melvin-bot melvin-bot bot added Daily KSv2 Overdue and removed Weekly KSv2 labels Jun 14, 2022
@adelekennedy
Copy link

internal
external

@melvin-bot melvin-bot bot removed the Overdue label Jun 16, 2022
@melvin-bot melvin-bot bot added Weekly KSv2 and removed Daily KSv2 labels Jun 16, 2022
@melvin-bot
Copy link

melvin-bot bot commented Jun 16, 2022

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

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Jun 16, 2022
@melvin-bot
Copy link

melvin-bot bot commented Jun 16, 2022

Triggered auto assignment to @marcochavezf (Exported), see https://stackoverflow.com/c/expensify/questions/7972 for more details.

@melvin-bot melvin-bot bot changed the title Chat - "1 New message" badge does not display when user is on the older messages and a new message arrives [$250] Chat - "1 New message" badge does not display when user is on the older messages and a new message arrives Jun 16, 2022
@rushatgabhane
Copy link
Member

@marcaaron @marcochavezf I don't remember exactly but we were closing any notification related issues right?

@marcaaron marcaaron added Internal Requires API changes or must be handled by Expensify staff and removed Exported 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 labels Jun 16, 2022
@marcaaron marcaaron added Monthly KSv2 and removed Weekly KSv2 labels Jun 16, 2022
@marcaaron marcaaron changed the title [$250] Chat - "1 New message" badge does not display when user is on the older messages and a new message arrives [HOLD] [$250] Chat - "1 New message" badge does not display when user is on the older messages and a new message arrives Jun 16, 2022
@marcaaron
Copy link
Contributor

Yep, thanks @rushatgabhane (not closing but they are on hold for now)

@marcaaron
Copy link
Contributor

We will look at open PRs when you are hired for a job. Guidelines here.

@aksoo5
Copy link

aksoo5 commented Jun 17, 2022

Proposal

The new message badge would not show if the receiving user was looking at an older message in the thread/report.
This was because the notification condition explicitly terminated the function before the badge code fired.
To solve the problem, the badge code has to be moved to precede that termination.

@melvin-bot melvin-bot bot added Daily KSv2 and removed Monthly KSv2 labels Jun 17, 2022
@GoEagles999
Copy link

Issue is related to FloatingMessageCounter. Scroll distance condition in toggleFloatingMessageCounter in ReportActionsView.js needs to be updated to allow for notifications to be shown when scroll offset is gt 200px.

@marcaaron
Copy link
Contributor

Please propose solutions to issues that have the Help Wanted label, thanks.

@Expensify Expensify locked as resolved and limited conversation to collaborators Jun 17, 2022
@melvin-bot melvin-bot bot added Weekly KSv2 and removed Daily KSv2 labels Jul 4, 2022
@melvin-bot melvin-bot bot added Monthly KSv2 and removed Weekly KSv2 labels Jul 28, 2022
@mvtglobally
Copy link

Issue not reproducible during KI retests. (First week)

@melvin-bot melvin-bot bot added the Overdue label Sep 13, 2022
@melvin-bot melvin-bot bot removed the Overdue label Sep 13, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Engineering Internal Requires API changes or must be handled by Expensify staff Monthly KSv2
Projects
None yet
Development

No branches or pull requests

9 participants