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

Hide localtime for Expensify Emails (Automated Accounts) #4755

Merged
merged 3 commits into from
Aug 24, 2021

Conversation

mananjadhav
Copy link
Collaborator

@mananjadhav mananjadhav commented Aug 19, 2021

@pecanoro Can you please review?

Details

Added the expensify emails block from expensify-common and hid the localtime when participants are automated accounts.

Fixed Issues

$ #4664

Tests

  1. Tested the chats with regular users to confirm localtime shows
  2. Tested the chats with automated accounts to confirm localtime doesn't show
  3. Tested group participants with 0 or more Expensify email accounts.

QA Steps

  1. Go to chat with any system accounts - concierge, chronos, receipts, qa, bills, etc.
  2. It shouldn't show localtime for the system accounts

Tested On

  • Web
  • Mobile Web
  • Desktop
  • iOS
  • Android

Screenshots

Web

localtime-hidden-web

localtime-shown-for-regular-user

Mobile Web

Screenshot 2021-08-19 at 7 35 32 PM

Desktop

Screenshot 2021-08-19 at 7 39 52 PM

iOS

Screenshot 2021-08-19 at 7 51 15 PM

Android

Screenshot 2021-08-19 at 7 56 23 PM

@mananjadhav mananjadhav requested a review from a team as a code owner August 19, 2021 14:28
@MelvinBot MelvinBot requested review from pecanoro and removed request for a team August 19, 2021 14:28
@pecanoro pecanoro merged commit c005aac into Expensify:main Aug 24, 2021
@OSBotify
Copy link
Contributor

✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

@isagoico
Copy link

isagoico commented Aug 26, 2021

@mananjadhav Hello! Any QA tests needed for this PR?

@mananjadhav
Copy link
Collaborator Author

@isagoico Updated QA steps

@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. 🎊

@@ -11,6 +11,7 @@ import {withNavigationFocus} from '@react-navigation/compat';
import _ from 'underscore';
import lodashGet from 'lodash/get';
import {withOnyx} from 'react-native-onyx';
import lodashIntersection from 'lodash/intersection';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not a huge deal, but I think we prefer using underscore over new lodash methods.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't have any current PR related to any related module. I'll raise a separate PR to address this sometime tomorrow.

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