[No QA] Add details for distance requests in MoneyRequestView#24589
Conversation
…nto arosiclair-distance-request-details
|
@parasharrajat 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] |
Reviewer Checklist
Screenshots/Videos |
| <OfflineWithFeedback pendingAction={lodashGet(transaction, 'pendingFields.merchant') || lodashGet(transaction, 'pendingAction')}> | ||
| <MenuItemWithTopDescription | ||
| description={translate('common.merchant')} | ||
| description={isDistanceRequest ? translate('tabSelector.distance') : translate('common.merchant')} |
There was a problem hiding this comment.
I would suggest that we move tabSelector.distance key to under common in translations because it is just a word and might be used in multiple places.
There was a problem hiding this comment.
Actually that would break this code so we should probably not move it. We could add another entry under common but duplicating it doesn't feel right.
There was a problem hiding this comment.
@arosiclair Can you please create a follow-up issue to clean this up?
|
Please let me know if C+ review is not required. |
@parasharrajat not needed since an internal setup is required to test |
| <OfflineWithFeedback pendingAction={lodashGet(transaction, 'pendingFields.merchant') || lodashGet(transaction, 'pendingAction')}> | ||
| <MenuItemWithTopDescription | ||
| description={translate('common.merchant')} | ||
| description={isDistanceRequest ? translate('tabSelector.distance') : translate('common.merchant')} |
There was a problem hiding this comment.
@arosiclair Can you please create a follow-up issue to clean this up?
|
✋ 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/tgolen in version: 1.3.57-0 🚀
|
|
@arosiclair Can you pls share steps for QA if we need to QA this PR |
|
Sorry forgot to specify no QA needed for this since distance requests cannot be created outside of dev yet. |
|
🚀 Deployed to staging by https://github.com/tgolen in version: 1.3.58-0 🚀
|
|
🚀 Deployed to production by https://github.com/luacmartins in version: 1.3.57-6 🚀
|
|
🚀 Deployed to production by https://github.com/luacmartins in version: 1.3.58-5 🚀
|






Details
Fixed Issues
$ #22713
Tests
171 miles @ $0.55 / mileg_megaEdit.expense.transactionIDin the JS console)scripts/sql.sh171 miles @ $0.55 / miletext (refresh if needed)171 miles @ $0.55 / miletextOffline tests
QA Steps
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
Mobile Web - Chrome
Mobile Web - Safari
Desktop
iOS
Android