-
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
Decline/cancel IOU feedback. #3498
Decline/cancel IOU feedback. #3498
Conversation
CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅ |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
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.
A few comments I'd like to resolve, overall looks pretty solid! Nice job 👍
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, requested a few changes
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.
Looking great! Only a few more small comments 👍
Sorry, accidentally pushed without git signature. |
Hi @rushatgabhane, looks like there's a small conflict |
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.
Requesting some style and documentation changes
Tests well on all platforms, there's just the final comment to resolve |
Awesome! Thanks for your time, I'll make sure to be more proactive for future PRs. |
Back to you @Beamanator |
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.
Tests passed, looks great here 👍 Thanks @rushatgabhane ! We can merge once the last check passes
✋ 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 in version: 1.0.70-1🚀
|
🚀 Deployed to production in version: 1.0.73-3🚀
|
Details
Provide feedback when declining/cancelling an IOU.
This is achieved by tracking the transaction ID that is being rejected (in Onyx).
Text vs ActivityIndicator is conditionally rendered based on if the transactionID is present in rejectTransaction array, which is maintained by Onyx.
State of rejectInProgress just after cancel of an IOU.
State of rejectInProgress after cancel of the IOU is done.
Cancelling multiple money requests.
Fixed Issues
Fixes #3346
Tests
You should be able to see a spinner. After rejection the component unmounts.
QA Steps
Tested On
Screenshots
Web
Initial state.
Feedback for cancelling request.
Mobile Web
Initial state
Feedback for cancelling request.
Desktop
iOS
Android
Initial state
Feedback for canceling money request.