Workspace distance rate when offline - #27870
Conversation
Signed-off-by: Tsaqif <tsaiinkwa@yahoo.com>
|
CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅ |
|
I have read the CLA Document and I hereby sign the CLA |
Signed-off-by: Tsaqif <tsaiinkwa@yahoo.com>
| { | ||
| policyID, | ||
| lastModified, | ||
| customUnit: JSON.stringify(newCustomUnit), |
There was a problem hiding this comment.
I think we need to modify newCustomUnit too as it contains rates with the pendingAction errors fields
There was a problem hiding this comment.
@s77rt Ok, I have add omitted the fields from newCustomUnit
Signed-off-by: Tsaqif <tsaiinkwa@yahoo.com>
| const newCustomUnitParam = _.omit(newCustomUnit, ['pendingAction', 'errors']); | ||
| const newCustomUnitRateParam = _.omit(newCustomUnit.rates, ['pendingAction', 'errors']); |
There was a problem hiding this comment.
Let's clone the newCustomUnit object and omit the .rates fields
const newCustomUnitParam = _.clone(newCustomUnit);
newCustomUnitParam.rates = _.omit(newCustomUnitParam.rates, ['pendingAction', 'errors']);Signed-off-by: Tsaqif <tsaiinkwa@yahoo.com>
Reviewer Checklist
Screenshots/VideosWebweb.movMobile Web - Chromemweb-chrome.movMobile Web - Safarimweb-safari.movDesktopdesktop.moviOSios.movAndroidandroid.mov |
|
@tsa321 Please complete the checklist |
|
@s77rt done... |
deetergp
left a comment
There was a problem hiding this comment.
Looks good and tested well on web. Thanks!
|
@s77rt Is it normal that this PR hasn't been merged/deployed yet? |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
Thank you very much @deetergp |
|
🚀 Deployed to staging by https://github.com/deetergp in version: 1.3.74-0 🚀
|
|
🚀 Deployed to production by https://github.com/chiragsalian in version: 1.3.74-3 🚀
|
Details
Fixed Issues
$ #26676
PROPOSAL: #26676 (comment)
Tests
pendingActionorerrorsof the Distance rate.Offline tests
QA Steps
pendingActionorerrorsof the Distance rate.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)/** comment above it */thisproperly so there are no scoping issues (i.e. foronClick={this.submit}the methodthis.submitshould be bound tothisin the constructor)thisare necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);ifthis.submitis never passed to a component event handler likeonClick)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)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
Web
macos_web_distance_d.mp4
Mobile Web - Chrome
android_mweb_distance_d.mp4
Mobile Web - Safari
ios_msafari_distance_d.mp4
Desktop
mac_desktop_distance_d.mp4
iOS
ios_distance_d.mp4
Android
android_native_d.mp4