19870 - Split bill description and currency is shown wrong - #20115
Conversation
- Passes two props currency code and split bill description and if they are undefined use the default from IOU(onyx)
|
CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅ |
|
@madmax330 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] |
|
I have read the CLA Document and I hereby sign the CLA |
This comment was marked as off-topic.
This comment was marked as off-topic.
|
Hi, I'll review it today. Please review the GH_LINK text entirely next time, as our automation links the PR to the issue and will auto-assign the original proposal approver. |
|
When we use we can use The above code solves the issue Untitled.video.-.Made.with.Clipchamp.2.mp4 |
|
Can we just check if a comment exists and is not empty? |
|
Sure, We can use this variable as the |
|
Can we also pass |
|
@bernhardoj thank you for your suggestion, yes this can be done. Let's wait for @Julesssss comment on the mentioned change. |
|
The suggestion above sound good 👍 |
|
Cool, the changes will be like these -
|
|
Hey @eVoloshchak 👋 Manually assigning you because this PR wasn't automatically linked to the issue. |
|
Bump @eVoloshchak for review. |
Reviewer Checklist
Screenshots/VideosWebScreen.Recording.2023-06-06.at.20.30.34.movMobile Web - Chromescreen-20230606-203554.mp4Mobile Web - SafariScreen.Recording.2023-06-06.at.20.32.05.movDesktopScreen.Recording.2023-06-06.at.20.29.34.moviOSScreen.Recording.2023-06-06.at.20.32.48.movAndroidscreen-20230606-203512.mp4 |
|
@BhuvaneshPatil, there's still an issue with how a link to proposal is displayed, it's gotta look like this: |
Done. Thanks for mentioning |
eVoloshchak
left a comment
There was a problem hiding this comment.
Looks good and tests well
|
Hi @Julesssss , can you please close the review #20115 (review) as the changes are done. |
|
✋ 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/Julesssss in version: 1.3.26-0 🚀
|
|
🚀 Deployed to production by https://github.com/AndrewGable in version: 1.3.26-4 🚀
|

Details
Split Description page doesn't show the correct description/comment and currency
Fixed Issues
$ #19870
PROPOSAL: #19870 (comment)
Tests
Create a split bill
Add All necessary info and description.
Create split bill.
Create another split bill.
Open the previously created bill.
Description and currency is as expected.
Create a split bill with empty description and also change the currency.
Create a new split bill with some description.
Open the first created split bill, description should be empty and currency should be the same that when created.
Offline 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.Safari.mp4
Mobile Web - Chrome
Android.Chrome.mp4
Mobile Web - Safari
ios.safari.compressed.mp4
Desktop
Desktop.-.MAC.mp4
iOS
IOS.APP.COMPRESSED.mp4
Android
Android.Compressed.mp4