-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[Card Settings] fix card lost/damaged flow #34098
Conversation
@hoangzinh 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] |
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
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2024-01-11.at.06.15.51.android.movAndroid: mWeb ChromeScreen.Recording.2024-01-11.at.05.59.05.android.chrome.moviOS: NativeScreen.Recording.2024-01-11.at.06.01.09.ios.moviOS: mWeb SafariScreen.Recording.2024-01-11.at.06.00.29.ios.safari.movMacOS: Chrome / SafariScreen.Recording.2024-01-11.at.05.52.33.-.web.movMacOS: DesktopScreen.Recording.2024-01-11.at.05.54.37.desktop.mov |
src/languages/es.ts
Outdated
@@ -2501,9 +2501,11 @@ export default { | |||
cardDamaged: 'Mi tarjeta está dañada', | |||
cardLostOrStolen: 'He perdido o me han robado la tarjeta', | |||
confirmAddressTitle: 'Confirma que la dirección que aparece a continuación es a la que deseas que te enviemos tu nueva tarjeta.', | |||
currentCardInfo: 'La tarjeta actual se desactivará permanentemente en cuanto se realice el pedido. La mayoría de las tarjetas llegan en unos pocos días laborables.', | |||
cardDamagedInfo: 'Su nueva tarjeta llegará en 2-3 días laborables, y su tarjeta actual seguirá funcionando hasta que active la nueva.', |
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.
Just wanna double check, where did you get those copies in Spain?
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.
I got them from deepl, I will ask on Slack to confirm they're correct 😄
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.
Here is the question!
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.
it looks like we got a copy in Spain, didn't we?
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.
Right, I updated it
/** Options for reason selector */ | ||
const OPTIONS = [ | ||
{ | ||
key: 'damaged', | ||
key: OPTIONS_LABELS.DAMAGED, |
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.
Is it OPTIONS_KEYS
or OPTIONS_LABELS
?
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.
Changed it 😄
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.
As part of this PR, could you fix the capitalization of cardID here?
Lines 95 to 98 in 4de7a5e
const parameters: RequestReplacementExpensifyCardParams = { | |
cardId, | |
reason, | |
}; |
@grgia done! |
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
@grgia @JKobrynski @hoangzinh Are we able to QA this in staging without the code snippet? |
@JKobrynski could you check @mvtglobally question above? I guess we need a real CC if we don't use code snippet, don't we? |
🚀 Deployed to production by https://github.com/marcaaron in version: 1.4.26-2 🚀
|
Details
Fixed Issues
$ #33514
PROPOSAL: N/A
Tests
Offline tests
N/A
QA Steps
Same as Tests section above
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)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label so the design team can review the changes.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
Android: Native
android-compressed.webm
Android: mWeb Chrome
chrome-compressed.webm
iOS: Native
ios-compressed.mp4
iOS: mWeb Safari
safari-compressed.mp4
MacOS: Chrome / Safari
web-compressed.mov
MacOS: Desktop
desktop-compressed.mov