Add report card lost or damaged#28141
Conversation
|
Hey! I see that you made changes to our Form component. Make sure to update the docs in FORMS.md accordingly. Cheers! |
c1ae23a to
66929c1
Compare
|
🎯 @allroundexperts, thanks for reviewing and testing this PR! 🎉 An E/App issue has been created to issue payment here: #29490. |
src/components/SelectCircle.js
Outdated
| function SelectCircle(props) { | ||
| return ( | ||
| <View style={[styles.selectCircle, styles.alignSelfCenter]}> | ||
| <View style={[styles.selectCircle, styles.alignSelfCenter, props.styles]}> |
There was a problem hiding this comment.
Shouldn't props.styles be spread since it's an array?
grgia
left a comment
There was a problem hiding this comment.
@JKobrynski can you confirm this test
If reporting as lost/stolen, then physical card is removed from card page
If reporting as damaged, then physical card remains on card page
|
@grgia border color changed! Regarding the second comment: yes, that's how I understand it based on the google doc, however we established that this PR won't implement full backend functionality (just boilerplate) as I am not able to test this on my end, and I don't even know if that API method is implemented yet, hope that answers your question! |
|
Will let @marcaaron take a look before merging so I don't dismiss his review |
|
✋ 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/marcaaron in version: 1.3.87-0 🚀
|
1 similar comment
|
🚀 Deployed to staging by https://github.com/marcaaron in version: 1.3.87-0 🚀
|
|
🚀 Deployed to production by https://github.com/francoisl in version: 1.3.87-12 🚀
|
|
🚀 Deployed to staging by https://github.com/marcaaron in version: 1.3.88-0 🚀
|
|
🚀 Deployed to production by https://github.com/chiragsalian in version: 1.3.88-11 🚀
|
| return; | ||
| } | ||
|
|
||
| Navigation.goBack(ROUTES.SETTINGS_WALLET); |




Details
Fixed Issues
$ #22879
PROPOSAL: N/A
Tests
(Check recordings, they explain a lot)
Offline 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
https://github.com/Expensify/App/assets/44364829/b433f179-52d1-4077-bc5d-4df215fd691d
https://github.com/Expensify/App/assets/44364829/7c409b2a-b378-487d-af12-0f952759d386
Mobile Web - Chrome
chrome1-compressed.webm
chrome2-compressed.webm
Mobile Web - Safari
https://github.com/Expensify/App/assets/44364829/1807dd43-2d6c-40ae-a8d4-84c7703eda99
https://github.com/Expensify/App/assets/44364829/28805647-4615-4158-8f9e-214be8492f2c
Desktop
https://github.com/Expensify/App/assets/44364829/619afb13-0444-407d-85cc-12fb5ae21ae2
https://github.com/Expensify/App/assets/44364829/2e8af130-ef20-47c7-a1a4-46dc4f5487c0
iOS
https://github.com/Expensify/App/assets/44364829/c7efda39-3dc0-49bd-a8c4-38309cc3706d
https://github.com/Expensify/App/assets/44364829/fc537680-e3ba-4faf-838e-780c68f3c80f
Android
android1-compressed.webm
android2-compressed.webm