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

fix count when LHN is open on mobile #4865

Merged
merged 2 commits into from
Aug 27, 2021

Conversation

parasharrajat
Copy link
Member

Details

  1. Only increment the counter when the report is visible and in other case, we should reset the counter.

Fixed Issues

$ #4863

Tests | QA Steps

  1. Lunch the app
  2. Log in with account A in device 1
  3. Select user you will chat and scroll the chat to 10-30 messages to top
  4. Back to LHN
  5. Log in with account B in device 2
  6. Send 13 messages to account A from device 2
  7. Back to conversation from LHN in device 1 and check the green Marker Badge Coun

Tested On

  • Web
  • Mobile Web
  • Desktop
  • iOS
  • Android

Screenshots

Web

Mobile Web

Desktop

iOS

Android

fix-count.mp4

@parasharrajat parasharrajat requested a review from a team as a code owner August 26, 2021 23:23
@MelvinBot MelvinBot requested review from TomatoToaster and removed request for a team August 26, 2021 23:23
@parasharrajat
Copy link
Member Author

Updated. Don't forget to CP it. Thanks.

@github-actions
Copy link
Contributor

⚠️ ⚠️ Heads up! This pull request has the CP Staging label. ⚠️ ⚠️
Merging it will cause it to be immediately deployed to staging, even if the open StagingDeployCash deploy checklist is locked.

@roryabraham
Copy link
Contributor

@parasharrajat I notice from your screen recording that the UnreadActionIndicator does not seem to be visible when you scroll to the bottom of the chat.

@parasharrajat
Copy link
Member Author

parasharrajat commented Aug 27, 2021

Sorry, what are you referring to via UnreadActionIndicator new-messages line marker or new messages Marker Badge which is being fixed in this PR?

@parasharrajat
Copy link
Member Author

If you are talking about the new messages line marker. then there are two similar issues for this #4357 & #4723. I think this should be covered there.

@roryabraham
Copy link
Contributor

If you are talking about the new messages line marker. then there are two similar issues for this #4357 & #4723. I think this should be covered there.

Yep, that's what I was talking about. Thanks!

@roryabraham roryabraham merged commit 7e55635 into Expensify:main Aug 27, 2021
github-actions bot pushed a commit that referenced this pull request Aug 27, 2021
fix count when LHN is open on mobile

(cherry picked from commit 7e55635)
@OSBotify
Copy link
Contributor

🚀 Cherry-picked to staging by @roryabraham in version: 1.0.88-2 🚀

platform result
🤖 android 🤖 success ✅
🖥 desktop 🖥 success ✅
🍎 iOS 🍎 success ✅
🕸 web 🕸 success ✅

@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes.

@isagoico
Copy link

Retested this on my Android and it was a pass!

@OSBotify
Copy link
Contributor

🚀 Deployed to staging by @roryabraham in version: 1.0.88-3 🚀

platform result
🤖 android 🤖 cancelled 🔪
🖥 desktop 🖥 cancelled 🔪
🍎 iOS 🍎 cancelled 🔪
🕸 web 🕸 success ✅

@OSBotify
Copy link
Contributor

🚀 Deployed to production by @roryabraham in version: 1.0.88-2 🚀

platform result
🤖 android 🤖 success ✅
🖥 desktop 🖥 success ✅
🍎 iOS 🍎 failure ❌
🕸 web 🕸 success ✅

@botify
Copy link

botify commented Sep 1, 2021

This has been deployed to production and is now subject to a 7-day regression period.
If no regressions arise, payment will be issued on 2021-09-08. 🎊

@OSBotify
Copy link
Contributor

OSBotify commented Sep 1, 2021

🚀 Deployed to production by @roryabraham in version: 1.0.90-2 🚀

platform result
🤖 android 🤖 success ✅
🖥 desktop 🖥 success ✅
🍎 iOS 🍎 failure ❌
🕸 web 🕸 success ✅

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

Successfully merging this pull request may close these issues.

6 participants