Skip to content

Count is always shown as 1 new message when there are multiple unread messages in the new MarkerBadge #4669

Closed

Description

@parasharrajat

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. Open any conversation in newDot.
  2. Scroll back in the history to see the new Markerbadge when new messages are received.
  3. Send a new message from another device to the correct chat from the other user.
  4. See that the new Marker badge is shown.
  5. Now don't yet interact with the app or marker yet.
  6. Send another message from the other device.
  7. Observe that count is still 1.

Expected Result:

The count should increase to see the correct number.

Actual Result:

The count is always one.

Workaround:

None.

Platform:

Where is this issue occurring?

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

Version Number: 1.0.85.-5
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation

issue-marker.mp4

Expensify/Expensify Issue URL:

View all open jobs on Upwork

Activity

  1. MelvinBot commented on Aug 14, 2021

    @MelvinBot
    Contributor

    Triggered auto assignment to @mallenexpensify (AutoAssignerTriage), see https://stackoverflow.com/c/expensify/questions/4749 for more details.

  2. removed
    AutoAssignerTriageAuto assign issues for triage to an available triage team member
    on Aug 14, 2021
  3. parasharrajat commented on Aug 14, 2021

    @parasharrajat
    MemberAuthor

    Explanation:

    1. We should this.props.report.unreadActionCount in the Markerbadge.
    2. But every time a message is received the this.props.report.unreadActionCount reset code is executed
      updateLastReadActionID(this.props.reportID);

    Proposal after Triage is done...

  4. mallenexpensify commented on Aug 16, 2021

    @mallenexpensify
    Contributor

    Proposal after Triage is done...
    👍 @parasharrajat

    I'm not seeing this
    image
    I tried to message myself between desktop and web on two different accounts, with web being on staging.
    @parasharrajat , any idea why I'm not seeing the notification?

  5. parasharrajat commented on Aug 16, 2021

    @parasharrajat
    MemberAuthor

    Sorry @mallenexpensify, this is yet to be deployed to staging or PROD #4603

  6. mallenexpensify commented on Aug 16, 2021

    @mallenexpensify
    Contributor

    Should we wait for it to hit one or both before attempting a fix/update?
    Or.. put another way... If I'm unable to test, then it's hard for me to recommend we should make this update.

  7. parasharrajat commented on Aug 16, 2021

    @parasharrajat
    MemberAuthor

    Yes. I am holding it till #4603. Created the issue so that it can be fixed quickly.

  8. parasharrajat commented on Aug 17, 2021

    @parasharrajat
    MemberAuthor

    @mallenexpensify the PR just hit Staging and the issue is now active.

  9. mallenexpensify commented on Aug 18, 2021

    @mallenexpensify
    Contributor

    Took a min (aka, I needed to read your steps, ha) but I was able to reproduce on web, staging.

    At one point I did actually see the number rise to 3 but it most commonly was returning 1.

    Gonna move along to an engineer to ensure this can be an external issue :)

  10. MelvinBot commented on Aug 18, 2021

    @MelvinBot
    Contributor

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

  11. 28 remaining items

  12. added
    Awaiting PaymentAuto-added when associated PR is deployed to production
    and removed on Aug 26, 2021
  13. roryabraham commented on Aug 26, 2021

    @roryabraham
    Contributor

    PR was deployed to staging earlier today

  14. roryabraham commented on Aug 26, 2021

    @roryabraham
    Contributor

    Oops, Awaiting Payment was premature, should be added when the PR is deployed to prod.

  15. alex-mechler commented on Aug 26, 2021

    @alex-mechler
    Contributor

    The current fix added a deploy blocker here: #4863

  16. roryabraham commented on Sep 3, 2021

    @roryabraham
    Contributor

    This was deployed to production w/ regressions fixed in v1.0.88-2 – Should pay on Monday 9/6 (Labor Day) assuming no other regressions are found 🙂

  17. parasharrajat commented on Sep 8, 2021

    @parasharrajat
    MemberAuthor

    @dylanexpensify Any update for me on the Upwork job?

  18. parasharrajat commented on Sep 13, 2021

    @parasharrajat
    MemberAuthor

    @dylanexpensify hmm. 🍷

  19. dylanexpensify commented on Sep 13, 2021

    @dylanexpensify
    Contributor

    Hi @parasharrajat! Sorry for the delay! I was OOO - will work on this today! @roryabraham no further regressions, correct?

  20. dylanexpensify commented on Sep 13, 2021

    @dylanexpensify
    Contributor

    @parasharrajat payment has been sent! Job closed out. Great work team!

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

Metadata

Metadata

Labels

Awaiting PaymentAuto-added when associated PR is deployed to productionEngineeringExternalAdded to denote the issue can be worked on by a contributorWeeklyKSv2

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions