-
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
Add report card lost or damaged #28141
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
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.
Looks good!
🎯 @allroundexperts, thanks for reviewing and testing this PR! 🎉 An E/App issue has been created to issue payment here: #29490. |
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.
minor comment
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't props.styles be spread since it's an array?
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.
Done
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.
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.
@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 🚀
|
Details
Fixed Issues
$ #22879
PROPOSAL: N/A
Tests
(Check recordings, they explain a lot)
Offline tests
QA Steps
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
properly so there are no scoping issues (i.e. foronClick={this.submit}
the methodthis.submit
should be bound tothis
in the constructor)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
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