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

Add notification preference to simplified report object #3746

Merged
merged 1 commit into from
Jun 24, 2021

Conversation

yuwenmemon
Copy link
Contributor

@thienlnam please review

Details

Just start adding the notificationPreference to the simplifiedReportObject for a user if they have one set on a default chat room.

Fixed Issues

For https://github.com/Expensify/Expensify/issues/161781

Tests

  • Added a notificationPreference to a report for a user, made sure that the particular preference was shown in the report object in the local storage for the app:

Screen Shot 2021-06-24 at 2 51 28 PM

  • Checked the local storage for a chat without any preference, made sure it defaulted to daily:

Screen Shot 2021-06-24 at 2 51 46 PM

  • Checked the local storage for a DM, made sure it had nothing under notificationPreference

Screen Shot 2021-06-24 at 2 51 00 PM

QA Steps

  • None

Tested On

  • Web
  • Mobile Web
  • Desktop
  • iOS
  • Android

@yuwenmemon yuwenmemon requested a review from a team as a code owner June 24, 2021 22:28
@yuwenmemon yuwenmemon self-assigned this Jun 24, 2021
@MelvinBot MelvinBot requested review from MonilBhavsar and removed request for a team June 24, 2021 22:29
@yuwenmemon yuwenmemon requested review from thienlnam and removed request for thienlnam and MonilBhavsar June 24, 2021 22:30
@yuwenmemon yuwenmemon merged commit a029762 into main Jun 24, 2021
@yuwenmemon yuwenmemon deleted the yuwen-notificationPreference branch June 24, 2021 22:53
@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.

@OSBotify
Copy link
Contributor

🚀 Deployed to staging in version: 1.0.73-4🚀

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

@OSBotify
Copy link
Contributor

🚀 Deployed to production in version: 1.0.74-0🚀

platform result
🤖 android 🤖 success ✅
🖥 desktop 🖥 success ✅
🍎 iOS 🍎 success ✅
🕸 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.

3 participants