-
Notifications
You must be signed in to change notification settings - Fork 3k
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
If user chat DM is open/idle and you receive new messages, there isn't a notification marker for the unread messages #4472
Comments
Triggered auto assignment to @michaelhaxhiu ( |
Why does a user need a new marker on an already active Chat? |
I've left chat open if I didn't notice the window. It will be like nothing happened. @parasharrajat |
Sure. Answering these types of questions helps others to understand why there is a problem. If you already have these points in mind, please put them in the details. |
@michaelhaxhiu Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Will pick this up shortly |
@Santhosh-Sellavel can we update the GH body a little bit to cover the suggested sections more thoroughly? If you find and fix something, you get a bonus and so I'd like to make sure you follow best practices (so you can re-apply this to new Githubs you discover in the future). A few pieces of feedback from me:
|
@michaelhaxhiu First, Sorry for the inconvenience. I somehow missed uploading the file, got lost in the discussion after posting. |
This comment has been minimized.
This comment has been minimized.
@michaelhaxhiu Update the Issue details. One more thing, can we hide the new marker after the received user posts a reply, from that point it's understandable that the user read the chat why we still need to show it. Post your thoughts & if I am missing something let me know. Thanks! |
@Santhosh-Sellavel no worries at all, it's my duty to make sure that this Github is reviewed for accuracy so that the scope is clearly defined (so you get a bonus for reporting the issue and fixing it 😃). I really appreciate you filling out this GH proactively, and incorporating the feedback. It should be a little easier for you next time! |
I think it makes sense to stick with the existing theme we have when you have unreads and the DM is not idle/open: @shawnborton since we worked on #4475 recently, and this is similar but not quite the same, I'd love your 2 cents. Do you agree with this theme? Going to apply the |
Triggered auto assignment to @megankelso ( |
If we do go with this design theme above, @Santhosh-Sellavel when should we remove/clear the Would it be when the user scrolls all the way down? |
First, This is what we actually do, Also additionally IMO We can do it just after posting a reply, because at some point new marker will go out of view after having few conversations. There will be no new marker at all (It will be there but hidden above messages).
No definetly not. SuggestionBestway is to give the user a option mark as read for all. We should actually mark everything as read after opening closing/switching chats. But instead we should only mark comment as after its presented to the user. |
I agree, the existing |
Not in background, app is in foreground but idle/unnoticed. When new message received there is no sign/notification for what are new message received.? |
How will you determine if the app is in the foreground but idle? |
Are you asking in technical context? |
I think I am just generally curious how we accomplish this - how do we know if the user is actually idle if the window is in the foreground? Especially on devices where we might not detect any kind of mouse not moving, etc. |
Also - could you elaborate a little bit more on the problem you experienced? Were you using the app and someone sent you new messages that you did not notice? |
@shawnborton Since app is left open - which is a foreground state. No notification will also be received. |
Cool, I understand what you are describing but I am curious how we would pull this off. How would you detect that the app is both in the foreground and idle? |
We could track last user interaction time Let's say we keep 2 minutes When new message received, we could just check against the idle state, we can show new marker if user is idle. |
@shawnborton What I proposed earlier it would not wait for any idle, when a new message receives we will just update new indicator. |
@shawnborton But also do we need maintain new marker even after user replyed. |
So every new message that is received would have the "New" marker, even if you are actively viewing the chat? |
No only above the first received new message. |
Sorry, I think your comment here has me confused:
What do you mean by it would not wait for any idle? |
Also, I totally recognize that the back and forth here in GitHub might be a bit tedious - if you would like to, I encourage you to start this conversation in #expensify-open-source so we can chat there in real time! |
Assigning shawn + me until these details are hammered out. @Santhosh-Sellavel did you want to start a thread in #expensify-open-source to help clarify the details? |
We are attempting to determine the appropriate behavior/scope of the solution, and could benefit from internal engineering input before this job is created and assigned. Slack thread here - https://expensify.slack.com/archives/C01GTK53T8Q/p1628782470250300 |
Triggered auto assignment to @MariaHCD ( |
Posted a summary of my understanding on the Slack thread. We'll continue the conversation there. |
The resolution in the Slack thread here:
So I suggest we close this issue and create a new one for #1 above @Santhosh-Sellavel |
Great, thanks @Santhosh-Sellavel. Closing this issue in favor of #4718 and #4723 |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
No Indication of new messages in 1:1 Chat or Group chat.
Action Performed:
Let's say, we didn't notice the window for few minutes, there is no sign for a new message received.
Expected Result:
The new marker indication should be updated above the new messages.
Actual Result:
Nothing happened, no new marker indication at all.
New_Marker_issue.mov
Workaround:
If the user didn't wait on the specific chat, can see an indication while opening from chat list.
Suggestion:
We could show a new marker indicator on the chat window after receiving new messages. Like the One, we already show above the first new message received
Platform:
Where is this issue occurring?
Proposal
Clarification It might look similar to #4357, but it's not ( because that was specific to mWeb or Mobile). And this issue is common to all platforms.
Why mention it here, because part of the solution for this is already proposed there. Refer Image Below
I give a PR Request right after #4357.
Solution for this,
if a new comment is added and is no new marker indicator, update the marker place.
If already shown, there is no need to update because the marker position needs to be above the oldest unread until switching the chat window.
Version Number:
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Expensify/Expensify Issue URL:
View all open jobs on Upwork
The text was updated successfully, but these errors were encountered: