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

Web - LHN - Conversation that doesn't have a message doesn't disappear from LHN #11633

Closed
kavimuru opened this issue Oct 6, 2022 · 43 comments
Closed
Assignees

Comments

@kavimuru
Copy link

kavimuru commented Oct 6, 2022

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 https://staging.new.expensify.com/
  2. Login with any account
  3. Search for a user that you don't have any messages with and open the chat. Don't send any message
  4. Navigate away from the conversation by clicking any other available conversation in the LHN list

Expected Result:

Conversation with no messages should disappear from LHN conversation list

Actual Result:

Conversation that doesn't have any messages doesn't disappear from from LHN

Workaround:

Unknown

Platform:

Where is this issue occurring?

  • Web
  • Desktop App

Version Number: v1.2.12-0
Reproducible in staging?: Y
Reproducible in production?: N
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos:
Bug5765545_screenshot_29

Bug5765545_video_30.mp4

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

View all open jobs on GitHub

@kavimuru kavimuru added the DeployBlockerCash This issue or pull request should block deployment label Oct 6, 2022
@OSBotify
Copy link
Contributor

OSBotify commented Oct 6, 2022

👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open StagingDeployCash deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:

  1. Identify the pull request that introduced this issue and revert it.
  2. Find someone who can quickly fix the issue.
  3. Fix the issue yourself.

@melvin-bot
Copy link

melvin-bot bot commented Oct 6, 2022

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

@johnmlee101
Copy link
Contributor

Can reproduce, looking why

@kavimuru kavimuru changed the title Web - LHN - Conversation that doesn't have a message doesn't disappear from from LHN Web - LHN - Conversation that doesn't have a message doesn't disappear from LHN Oct 6, 2022
@johnmlee101 johnmlee101 added the Reviewing Has a PR in review label Oct 6, 2022
@johnmlee101
Copy link
Contributor

PR is up!

@melvin-bot melvin-bot bot closed this as completed Oct 6, 2022
@kbecciv
Copy link

kbecciv commented Oct 19, 2022

@johnmlee101 QA team is experienced the same issue on build 1.2.18.2

LHN.mp4

@sketchydroide
Copy link
Contributor

It seems this is already happening in Prod removing blocker

@sketchydroide sketchydroide added Daily KSv2 and removed DeployBlockerCash This issue or pull request should block deployment Hourly KSv2 labels Oct 20, 2022
@sketchydroide
Copy link
Contributor

Is this a regression @johnmlee101? I set it as daily, as it's not a blocker

@johnmlee101
Copy link
Contributor

@tgolen @ctkochan22 #11725
As per this change, we're okay leaving no comment standard chats in the LHN? I just realized this might have slipped through if this was unintended 😓

@tgolen
Copy link
Contributor

tgolen commented Oct 23, 2022

Let's have @JmillsExpensify or @trjExpensify chime in on exactly what's expected. I don't think we had a clear idea before.

@trjExpensify
Copy link
Contributor

Sorry for the delay, I've been OoO until today! (I'm also a poet.. 😄).

As per this change, we're okay leaving no comment standard chats in the LHN?

To clarify, we're not talking about archived chats like we were here? We're looking at..

  1. CMD+F to a DM with someone you haven't messaged before
  2. Navigate away from the chat without writing a message
  3. The empty chat remains in the LHN

If that's correct, then I agree we shouldn't keep those empty DMs in the LHN.

@JmillsExpensify
Copy link

Ooh oops I missed this as well. That said, I agree with @trjExpensify that we couldn't keep empty DMs in the LHN>

@JmillsExpensify
Copy link

Huh, interesting. What's going on with this issue? Did we ever circle back and push an updated PR?

@flodnv
Copy link
Contributor

flodnv commented Jan 11, 2023

+1 😄 we should probably wait until #13324 is done to revisit this.

However, I disagree with what is written in the issue body. This is not a bug, the actual behavior is the expected behavior, IMO. I vote we close this.

@flodnv
Copy link
Contributor

flodnv commented Jan 11, 2023

I agree with @trjExpensify that we couldn't keep empty DMs in the LHN

I disagree with that, I don't really see a problem with this. What's the actual problem?

@trjExpensify
Copy link
Contributor

My rationale personally is that your LHN is sorted by "most recent chats". There's nothing recent about an empty chat nobody has chatted in, so why does it continue to show with no activity?

@flodnv
Copy link
Contributor

flodnv commented Jan 11, 2023

Maybe.. I feel like this is really a detail that does not matter much. In your thinking, when you create a new chat with someone you've never chatted to before and do nothing, you have the chat open waiting for you to write something -- does it show in the LHN or not? I think either answer to that question is both wrong and right 😄 If we want to mimic Whatsapp then it won't appear in the LHN until there's a message in it, which I think is just as fine as the other option.

@flodnv
Copy link
Contributor

flodnv commented Jan 12, 2023

Maybe let's open a new, clean issue?

@trjExpensify
Copy link
Contributor

trjExpensify commented Jan 12, 2023

do not show a chat for which the only reportAction is the CREATED one.

Question on that though for my understanding.. if you're typing a draft message is there still only a CREATED reportAction though?

@flodnv
Copy link
Contributor

flodnv commented Jan 13, 2023

Hm yes, but we do agree that if there is a draft message, it should show show in the LHN.

@trjExpensify
Copy link
Contributor

Right, we do.. so "do not show a chat for which the only reportAction is the CREATED one." isn't wholly accurate for our intentions with this then? 😅

@flodnv
Copy link
Contributor

flodnv commented Jan 16, 2023

Correct. I think we want "Do not show a chat in the LHN for which the only reportAction is the CREATED one and does not have a draft."

Said another (non french) way, in the LHN we should show chats that have at least 1 ADDCOMMENT action, OR 1 draft.

@trjExpensify
Copy link
Contributor

Cool, so I think a new issue with the following is where we landed. Will you be taking it, John, or someone else?

Title: Show chats in the LHN that have at least 1 ADDComment action, or 1 draft message.

Action Performed:

  1. Go to https://staging.new.expensify.com/
  2. Login with any account
  3. Search for a user that you don't have any messages with, open the chat but don't send any message

Expected results:
Chat should not show in the LHN as there is not at least 1 ADDComment action, or 1 draft message.

Actual results:
Empty chat shows in the LHN and remains in the LHN after simply navigating to it.

@flodnv
Copy link
Contributor

flodnv commented Jan 18, 2023

👍

@JmillsExpensify
Copy link

Missed the more recent discussion, though I agree with where we landed. Did we create this issue yet?

@trjExpensify
Copy link
Contributor

trjExpensify commented Jan 19, 2023 via email

@JmillsExpensify
Copy link

Cool, I can get to it tomorrow. Leaving a tab open for this.

@johnmlee101
Copy link
Contributor

Not overdue!

@melvin-bot melvin-bot bot removed the Overdue label Jan 24, 2023
@JmillsExpensify
Copy link

Related issue created here: #14523

@JmillsExpensify
Copy link

Is there anything else left to do here? I kind of lost where we're at for this issue.

@flodnv
Copy link
Contributor

flodnv commented Jan 25, 2023

Thanks @JmillsExpensify , we can close this now

@flodnv flodnv closed this as completed Jan 25, 2023
@lanitochka17
Copy link

Hello
Issue reproducible. Windows10/Chrome. Build 1.3.37.1
Thanks

Recording.322.mp4

@lanitochka17 lanitochka17 reopened this Jul 5, 2023
@melvin-bot melvin-bot bot added the Overdue label Jul 5, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jul 11, 2023

@johnmlee101 Eep! 4 days overdue now. Issues have feelings too...

@johnmlee101
Copy link
Contributor

I think this is a separate issue. Do we want welcome messages to show as unread on the LHN? Can you create a new issue to address this?

@melvin-bot melvin-bot bot added Overdue and removed Overdue labels Jul 11, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jul 17, 2023

@johnmlee101 Huh... This is 4 days overdue. Who can take care of this?

@johnmlee101
Copy link
Contributor

Closing to create a new issue

@melvin-bot melvin-bot bot removed the Overdue label Jul 18, 2023
@flodnv
Copy link
Contributor

flodnv commented Jul 19, 2023

Maybe we are solving this here #19321 ?

@johnmlee101
Copy link
Contributor

Yeah it seems relevant to the original issue #14523

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

No branches or pull requests

10 participants