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

Wrong value (1) is shown for unread messages counter if user has 9+ unread messages #5156

Closed
EugeOrtiz opened this issue Jul 12, 2018 · 2 comments
Assignees

Comments

@EugeOrtiz
Copy link

EugeOrtiz commented Jul 12, 2018

Description
Type: Bug.

Summary: When the user receives more than 9 unread messages, the unread messages badge shows "1" instead of "9+".

Expected behavior
Show "9+" badge when the user receives more than 9 unread messages.

Design >> zpl.io/V0ypA59 (Zeplin):
captura de pantalla 2018-07-12 a la s 4 48 29 p m

Actual behavior
The user gets 12 new -unread- messages while in other chat, counter shows "1":

captura de pantalla 2018-07-12 a la s 4 39 18 p m

When opening the chat with the unread messages, you can see the 12 unread messages:
captura de pantalla 2018-07-12 a la s 4 39 25 p m

Reproduction

  • Prerequisites:
    User A: uses status-desktop
    User B: uses status-mobile
  1. (User A) Open Status
  2. (User A) Click on +
  3. (User A) Join to any public chat (i.e. #test)
  4. (User A) Switch to another chat to see unread messages badge for#test
  5. (User B) Join the same public chat; send 12 messages in a row;
  6. (User A) check unread messages badge

Additional Information

@EugeOrtiz EugeOrtiz changed the title Message counter "breaks" after 9 unread messages Unread messages counter/badge "breaks" with 9+ unread messages Jul 12, 2018
@churik churik changed the title Unread messages counter/badge "breaks" with 9+ unread messages Wrong value (1) is shown for unread messages counter if user has 9+ unread messages Jul 13, 2018
@churik
Copy link
Member

churik commented Jul 13, 2018

@EugeOrtiz thanks for reporting!

@churik
Copy link
Member

churik commented Sep 25, 2018

closed in #5329

@churik churik closed this as completed Sep 25, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants