Add harvesting key structure so it follows backend data structure#35432
Conversation
|
@johnmlee101 Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
|
@johnmlee101 This should be ready for your review, thanks! |
|
@DylanDylann Hello! Do you have the Collect policy set up for testing in NewDot? Let me know if anything is not clear with the test steps, refer to the video in the screens section too. What do you think is your ETA for the checklist? Thanks! |
|
@mountiny I will finish checklist today |
Reviewer Checklist
Screenshots/VideosThis change is platform agnostic, tested on web mainly Screen.Recording.2024-01-31.at.16.36.22.movAndroid: NativeAndroid: mWeb ChromeiOS: NativeiOS: mWeb SafariMacOS: Chrome / SafariMacOS: Desktop |
This comment was marked as duplicate.
This comment was marked as duplicate.
|
@mountiny How I can set up Collect policy in Newdot ? |
|
The changes look good 🎀 👀 🎀 C+ reviewed |
|
@roryabraham Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
|
🎯 @DylanDylann, thanks for reviewing and testing this PR! 🎉 An E/App issue has been created to issue payment here: #35459. |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Deployed to staging by https://github.com/johnmlee101 in version: 1.4.35-0 🚀
|
|
🚀 Deployed to production by https://github.com/mountiny in version: 1.4.35-7 🚀
|
Details
We are updating the harvesting enabled data structure to follow closely the one in the backend so we can mitigate risks of future errors.
For now we will support both, once we stop sending the
isHarvestingEnabledfrom the backend we can remove it from the App too.Fixed Issues
Partially #35398
Tests
isPolicyExpenseChatEnabledCollect policyOffline tests
N/A
QA Steps
Same as tests
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel so the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
This change is platform agnostic, tested on web mainly:
Screen.Recording.2024-01-30.at.20.30.40.mp4
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop