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-12-06] Unread messages - Unread messages count includes deleted messages #5237

Closed
isagoico opened this issue Sep 13, 2021 · 28 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 Weekly KSv2

Comments

@isagoico
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. Login with 2 accounts side by side
  2. Tag a comment as unread and mark the count of unread comments
  3. Delete some comments from the sender's account
  4. Refresh the page
  5. Mark the same comment as you did in step 2. Observe the count is still the same even though the messages on screen are less

Expected Result:

If the comment was deleted it should not be included in the unread messages count.

Actual Result:

Comment that was deleted is included in the message count.

Workaround:

Not sure (🤔)

Platform:

Where is this issue occurring?

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

Version Number: 1.0.98-0

Logs: https://stackoverflow.com/c/expensify/questions/4856

Notes/Photos/Videos: Any additional supporting documentation

New.Expensify.-.Google.Chrome.2021-09-13.19-10-44.mp4

Expensify/Expensify Issue URL:

Issue reported by: @kidroca
Slack conversation: https://expensify.slack.com/archives/C01GTK53T8Q/p1631549737202800

View all open jobs on GitHub

@MelvinBot
Copy link

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

@robertjchen robertjchen added Help Wanted Apply this label when an issue is open to proposals by contributors Weekly KSv2 and removed Daily KSv2 labels Sep 16, 2021
@MelvinBot MelvinBot removed the Overdue label Sep 16, 2021
@robertjchen robertjchen added the External Added to denote the issue can be worked on by a contributor label Sep 28, 2021
@MelvinBot
Copy link

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

@MelvinBot MelvinBot added Daily KSv2 and removed Weekly KSv2 Overdue labels Sep 28, 2021
@robertjchen robertjchen removed their assignment Sep 28, 2021
@robertjchen
Copy link
Contributor

Looks like a perfect task for a contributor to tackle!

@mallenexpensify
Copy link
Contributor

@MelvinBot
Copy link

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

@mallenexpensify
Copy link
Contributor

Doubled to $500

@MelvinBot MelvinBot removed the Overdue label Oct 7, 2021
@kadiealexander
Copy link
Contributor

Please refer to this post for updated information on the n6 hold, we've raised the bonus to $250 for all issues where a PR is created before the N6 hold is lifted.

@MelvinBot MelvinBot removed the Help Wanted Apply this label when an issue is open to proposals by contributors label Oct 19, 2021
@mallenexpensify
Copy link
Contributor

@parasharrajat is hired! Assigned to him

@mallenexpensify
Copy link
Contributor

n6-hold is lifted, label removed!

@parasharrajat
Copy link
Member

PR would be up by next week.

@mallenexpensify
Copy link
Contributor

@parasharrajat Can you provide an update on when we can expect the PR? Thanks

@MelvinBot MelvinBot removed the Overdue label Nov 2, 2021
@parasharrajat
Copy link
Member

I have started on it. It would be ready soon. I was busy last week.

@parasharrajat
Copy link
Member

I would like to ask how the Mark as unread functionality works.
e.g. I marked the five latest messages as unread.
image
Now this includes messages from the Other user as well. What should be the unread message count?

@mallenexpensify
Copy link
Contributor

@parasharrajat in the screenshot are you a different user? ie. are there 3 users in a group chat?
Regardless.. I have a feeling we're going to want to raise the question in #expensify-open-source to gain consensus.

@parasharrajat
Copy link
Member

Awaiting review....

@mallenexpensify
Copy link
Contributor

@puneetlath can you review the PR please #6248

@puneetlath
Copy link
Contributor

@mallenexpensify this has been merged. Can we please make sure to add $500 when paying this? $250 for the offsite hold bonus and $250 for the increase in scope in the PR. Thanks!

@botify botify added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Nov 29, 2021
@botify botify changed the title Unread messages - Unread messages count includes deleted messages [HOLD for payment 2021-12-06] Unread messages - Unread messages count includes deleted messages Nov 29, 2021
@botify
Copy link

botify commented Nov 29, 2021

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.1.16-10 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-12-06. 🎊

@parasharrajat
Copy link
Member

parasharrajat commented Dec 6, 2021

Ping for
image
@mallenexpensify

For Reference

#5237 (comment)

@mallenexpensify
Copy link
Contributor

@parasharrajat in the future, can you want til one day after the 'hold for payment' date before commenting? It's because I want to see if the 'overdue' label is properly being added to the issue after a week, that's the main trigger for a CM knowing an issue should be paid.

I've paid this in Upwork, job was $500 and added $250 for increased scope and $250 for company offsite hold bonus. (If payment looks weird, I issued the bonus after cancelling the contract, was checking/testing something)

@mallenexpensify
Copy link
Contributor

mallenexpensify commented Dec 6, 2021

Issue reported by: @kidroca

@kidroca I'm assuming this issue was reported as part of your hourly work, let me know if not

@kidroca
Copy link
Contributor

kidroca commented Dec 6, 2021

@mallenexpensify
Actually not.
I reported it here: https://expensify.slack.com/archives/C01GTK53T8Q/p1631549737202800

This particular bug I've discovered here - #5106 (comment)
(a ticket outside the hourly contract), and I took the time to report it

But when I report "Bugs: " in Slack I don't add the time spent in my hourly contract

  • if it gets approved I get a better pay from the reward program
  • if it doesn't that's fine as well

@mallenexpensify
Copy link
Contributor

@kidroca makes sense. Glad I asked/checked. Please approve the offer and confirm then I'll pay
https://www.upwork.com/jobs/~01b4a7ec47523bb3db

@mallenexpensify
Copy link
Contributor

Paid @kidroca for reporting, thanks!

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 Weekly KSv2
Projects
None yet
Development

No branches or pull requests

9 participants