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

Update getSimplifiedPolicyObject to handle different policy objects #6739

Merged
merged 4 commits into from
Dec 14, 2021

Conversation

ctkochan22
Copy link

@Expensify/pullerbear
cc @marcaaron @roryabraham (cc'ing bc thats what github suggested)

Originally updated Auth, but we have made it a point to handle it on the client side #6590 (comment)

So we are updating getSimplifiedPolicyObject to handle the different policy objects that "GetPolicySummaryList" and "GetFullPolicy" returns.

Fixed Issues

App side fix GH_LINK

Tests / QA Steps

Prior to testing, create a workspace and add an avatar image.

  1. From the main page, click into the workspace settings
  2. When you click into the settings, verify that the avatar image does not disappear

NWPnlamBEW

Tested On

  • Web
  • Mobile Web
  • Desktop
  • iOS
  • Android

Screenshots

Web

Mobile Web

Desktop

iOS

Android

@ctkochan22 ctkochan22 requested a review from a team December 13, 2021 20:20
@ctkochan22 ctkochan22 self-assigned this Dec 13, 2021
@MelvinBot MelvinBot requested review from robertjchen and removed request for a team December 13, 2021 20:20
@ctkochan22 ctkochan22 requested a review from a team as a code owner December 13, 2021 20:25
@MelvinBot MelvinBot requested review from sketchydroide and removed request for a team December 13, 2021 20:26
src/libs/actions/Policy.js Outdated Show resolved Hide resolved
src/libs/actions/Policy.js Outdated Show resolved Hide resolved
@ctkochan22
Copy link
Author

Updated

Copy link
Contributor

@roryabraham roryabraham left a comment

Choose a reason for hiding this comment

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

LGTM

@marcaaron marcaaron merged commit 125cd72 into main Dec 14, 2021
@marcaaron marcaaron deleted the ckt_avatar_updatePolicySummary branch December 14, 2021 00:15
@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.

@mvtglobally
Copy link

@ctkochan22 @roryabraham @marcaaron Should we QA this PR on all platforms?

@ctkochan22
Copy link
Author

Yes please @mvtglobally

@OSBotify
Copy link
Contributor

🚀 Deployed to staging by @marcaaron in version: 1.1.20-3 🚀

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

@OSBotify
Copy link
Contributor

🚀 Deployed to production by @Julesssss in version: 1.1.21-1 🚀

platform result
🤖 android 🤖 failure ❌
🖥 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
5 participants