-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
use card name from transaction #48567
Conversation
Reviewer Checklist
Screenshots/Videos |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
✋ 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/Beamanator in version: 9.0.30-0 🚀
|
@luacmartins any idea why we're not getting the prod deploy message on this PR now that the checklist it's on has been shipped? |
@trjExpensify the deploy workflow is broken and we're currently working on a fix. See this run for an example, the workflow throws an error on the release phase, so we skip the |
Nice, thanks! |
@grgia @Beamanator
Details
This PR uses card name from the transaction object while displaying card information in E-receipt.
Fixed Issues
$ #44569
PROPOSAL:
Tests
Prerequisite: A workspace which can settle expenses through Expensify cards.
Card
information correctlyEreceipt
displays theCard
information correctly.Offline tests
Same as Steps for Tests Section.
QA Steps
onboarding
modal is displayed, selectManage my Team’s expenses
andContinue
.Business Name
andName
details andContinue
to complete the onboarding steps.manual
expense.manual
expense.Inspect
window and locate the newly createtransaction
in IndexDB(viaStorage
tab on Safari orApplication
tab on Chrome).Console
window and run the following command after replacingTRANSACTIONID
with the identified transaction id:Onyx.merge('transactions_TRANSACTIONID’, {"cardID": 4,"cardName": "Expensify Card - 3458","mccGroup": "Airlines", hasEReceipt: true, reimbursable: false, managedCard: true });
Expense Report
displays theCard
information asExpensify Card - 3458
(Test 1)Ereceipt
.Ereceipt
displays theCard
information asExpensify Card - 3458
(Test 2)PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)/** comment above it */
this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Web
44569-web-safari-001.mp4
Mobile Web - Chrome
44569-mweb-chrome-001.mp4
Mobile Web - Safari
44569-mweb-safari-001.mp4
Desktop
44569-desktop-001.mp4
iOS
Skipping as tests involved running
console
commands and, also, the issue is not platform specificAndroid
Skipping as tests involved running
console
commands and, also, the issue is not platform specific