-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Added Balance badge to the Settings page #4220
Conversation
Ready for review. |
@Jag96 Whenever you are ready, please review it. I have no more changes left to do. |
src/components/Badge.js
Outdated
/** Is success type */ | ||
success: PropTypes.bool, | ||
|
||
/** Is success type */ |
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.
Error type
src/components/MenuItem.js
Outdated
|
||
const propTypes = { | ||
// Text to be shown as badge near the right end. |
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.
This comment should use block comments per style guide
src/styles/styles.js
Outdated
* @param {Boolean} [isPressed] | ||
* @returns {Object} | ||
* @param {*} success | ||
* @param {*} error |
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.
These should be {Boolean}
right?
}) => { | ||
const walletBalance = numberFormat( | ||
userWallet.availableBalance, |
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.
@Jag96 Updated. |
Gentle bump @Jag96 Changes are 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.
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 in version: 1.0.81-5🚀
|
🚀 Deployed to production in version: 1.0.82-7🚀
|
cc @stitesExpensify
Details
Fixed Issues
$ #4171
Tests | QA Steps
Tested On
Screenshots
Web
Mobile Web
Desktop
iOS
Android