fix: format amount before navigating to next page#22728
Conversation
|
@eVoloshchak 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] |
Reviewer Checklist
Screenshots/VideosWebScreen.Recording.2023-07-14.at.00.55.54.movMobile Web - Chromescreen-20230714-005910.mp4Mobile Web - SafariScreen.Recording.2023-07-14.at.00.57.23.movDesktopScreen.Recording.2023-07-14.at.01.03.30.moviOSScreen.Recording.2023-07-14.at.00.56.46.movAndroidscreen-20230714-010055.mp4 |
|
@eVoloshchak i have created a common function for it now. |
|
|
puneetlath
left a comment
There was a problem hiding this comment.
Sorry for the delay. Looks good to me!
|
✋ 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/puneetlath in version: 1.3.44-0 🚀
|
|
🚀 Deployed to production by https://github.com/marcaaron in version: 1.3.44-2 🚀
|
|
🚀 Deployed to staging by https://github.com/puneetlath in version: 1.3.45-0 🚀
|
|
🚀 Deployed to production by https://github.com/mountiny in version: 1.3.45-7 🚀
|
Details
We are formatting amount and setting as state variable to keep consistency before navigating to next screen.
Fixed Issues
$ #22361
PROPOSAL: #22361 (comment)
Tests
Offline tests
Same as Tests
QA Steps
Same as Tests
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
web.chrome.mp4
Mobile Web - Chrome
VID_20230712073048.mp4
Mobile Web - Safari
mweb-safari.MP4
Desktop
desktop.mp4
iOS
ios.mp4
Android
VID_20230712073217.mp4