-
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
description/comment to string #30526
description/comment to string #30526
Conversation
CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅ |
I have read the CLA Document and I hereby sign the CLA |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2023-10-30.at.14.28.20.movAndroid: mWeb ChromeScreen.Recording.2023-10-30.at.14.58.27.moviOS: NativeScreen.Recording.2023-10-30.at.14.25.41.moviOS: mWeb SafariScreen.Recording.2023-10-30.at.14.26.42.movMacOS: Chrome / SafariScreen.Recording.2023-10-30.at.14.19.23.movMacOS: DesktopScreen.Recording.2023-10-30.at.14.22.37.mov |
@Jenemark I can't test on Android Chrome - can't save description. I guess it's unrelated to your PR but could you sync with the latest |
@burczu I had this issue aswell, it seemed to be a version issue on Android Chrome. i'll sync with main |
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.
@Jenemark Thank you. You was right - it's working on newer version of Chrome.
LGTM
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.
One small comment (about the comment).
@Jenemark commits need to be signed. Here's some advice on how to sign existing commits: https://superuser.com/questions/397149/can-you-gpg-sign-old-commits/1123928#1123928 |
449578f
to
f56c37d
Compare
7b0e039
to
b321b0a
Compare
… from the backend
@puneetlath Had to undo the first commits since they were mistakenly made from my work email. Everything should be OK now. |
No problem. Sorry one other thing for the PR checklist. It looks like the test doesn't like that you used |
Should be fine now |
Thanks! |
✋ 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.94-0 🚀
|
🚀 Deployed to staging by https://github.com/puneetlath in version: 1.3.94-0 🚀
|
🚀 Deployed to production by https://github.com/Beamanator in version: 1.3.94-2 🚀
|
🚀 Deployed to staging by https://github.com/puneetlath in version: 1.3.95-0 🚀
|
🚀 Deployed to production by https://github.com/puneetlath in version: 1.3.95-9 🚀
|
Details
Made the description utils cast to string everytime it's used, done to avoid number issues when updating the description field.
Fixed Issues
$ #29369
PROPOSAL: #29369 (comment)
Tests
Tested the steps used to reproduce the bug on the issues.
Go to https://staging.new.expensify.com/ in Chrome or Android App
Click the Green '+' Icon in the LHN
Choose "Request Money"
Enter an Amount
Tap Next
Choose a Recipient
Tap "Request"
Tap on the IOU transaction to open IOU detail page
Enter a description with numbers only (ex 444) and save it
Tap the amount and change it
Tap the Description again
Checked log value to ensure they value is actually casted to a string
Console.log and terminal checks in general.
Tested multiple different values to ensure field can not crash the app after changes to the request money. As described in the App
Offline tests
QA Steps
Go to https://staging.new.expensify.com/ in Chrome or Android App
Click the Green '+' Icon in the LHN
Choose "Request Money"
Enter an Amount
Tap Next
Choose a Recipient
Tap "Request"
Tap on the IOU transaction to open IOU detail page
Enter a description with numbers only (ex 444) and save it
Tap the amount and change it
Tap the Description again
Verify that no errors appear in the JS console
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
Android: Native
Skaermoptagelse.2023-10-27.kl.18.57.48.mov
Android: mWeb Chrome
Skaermoptagelse.2023-10-28.kl.10.04.01.mov
iOS: Native
Simulator.Screen.Recording.-.iPhone.15.-.2023-10-27.at.17.53.34.mov
iOS: mWeb Safari
Simulator.Screen.Recording.-.iPhone.15.-.2023-10-27.at.16.39.07.mov
MacOS: Chrome / Safari
Skaermoptagelse.2023-10-27.kl.16.29.40.mov
MacOS: Desktop
Skaermoptagelse.2023-10-27.kl.17.39.01.mov