Conversation
Signed-off-by: Tsaqif <tsaiinkwa@yahoo.com>
Signed-off-by: Tsaqif <tsaiinkwa@yahoo.com>
Signed-off-by: Tsaqif <tsaiinkwa@yahoo.com>
Signed-off-by: Tsaqif <tsaiinkwa@yahoo.com>
Signed-off-by: Tsaqif <tsaiinkwa@yahoo.com>
|
@abdulrahuman5196 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] |
|
Hey! I see that you made changes to our Form component. Make sure to update the docs in FORMS.md accordingly. Cheers! |
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
|
@abdulrahuman5196
|
Signed-off-by: Tsaqif <tsaiinkwa@yahoo.com>
Signed-off-by: Tsaqif <tsaiinkwa@yahoo.com>
|
checking now |
Signed-off-by: Tsaqif <tsaiinkwa@yahoo.com>
Signed-off-by: Tsaqif <tsaiinkwa@yahoo.com>
Signed-off-by: Tsaqif <tsaiinkwa@yahoo.com>
Signed-off-by: Tsaqif <tsaiinkwa@yahoo.com>
|
@abdulrahuman5196 I have updated the code |
Signed-off-by: Tsaqif <tsaiinkwa@yahoo.com>
|
@tsa321 The code looks good. Could you kindly fix the merge conflicts? I can work on platforms checking. |
Signed-off-by: Tsaqif <tsaiinkwa@yahoo.com>
|
@abdulrahuman5196 In PR #79273, this comment #79273 (comment) adds the As a result, the split amounts are now freely editable to positive or negative values without considering whether the What should we do here? Also, adding What is best here? |
|
@tsa321 I am not able to fully understand your concern. from what i understand, I think you are saying that in the https://github.com/Expensify/App/pull/79273/changes they have created changes to allow editing split with positive and negative values. IMO, we should focus on the issue OP we have which is to fix the delete issue where we are unable to delete the split numbers. We should not change any split editing logic since it was explicitly add here https://github.com/Expensify/App/pull/79273/changes. Let me know if there are some other queries? @tsa321 |
@abdulrahuman5196 Based on your comment, we are preserving the Since that PR was reverted due to some issues, I’m currently waiting for the follow-up PR to be merged. |
|
@ikevin127 Since you are the PR owner of changing the split logic here - #77966 (comment) Could you kindly provide insights on this #77966 (comment) , #77966 (comment) so that we don't cause conflicts in both PRs. |
|
Feel free to proceed with the fix required to resolve your issue here, I'll proceed with mine and if there are any conflicts I'll make sure to resolve them if your PR merges first.
☝️ Regarding this issue, in a recent merge with main I noticed that the keyboard type was removed which I assume was the reason for the iOS number keyboard lock problem. That keyboard issue wasn't reported when we merged the other PR first time (which was reverted for a rework), and if it will in the future we can resolve it as it's not a blocker. |
|
@ikevin127 what I mean is that on iOS (both mobile web and native), the numeric-only keyboard does not provide a
So when the minus sign is deleted, there is no way to add it back. On the step amount page, there is a `+/-` toggle button provided to add or remove the minus sign:
|
|
Understood, feel free to proceed with a fix for your PR that will cover the whole issue - even if it might conflict with my PR, since yours will also target the Native issue which is a plus 👍 |
Signed-off-by: Tsaqif <tsaiinkwa@yahoo.com>
Signed-off-by: Tsaqif <tsaiinkwa@yahoo.com>
Signed-off-by: Tsaqif <tsaiinkwa@yahoo.com>
|
@abdulrahuman5196 The issue where negative amounts could not be edited has been resolved by another PR. However, on iOS, we still cannot enter a negative amount because the iOS numeric keyboard does not include a negative ( Should we add a This could look something like the following: Flip button on the left:
Flip button at the bottom:
|
|
@tsa321 I don't think we should do this - #77966 (comment). This would be a totally different issue, not part of this one. If the original issue for this PR is fixed, Could you kindly provide video sample of issue fix? I will do the same from my end and we should be good to close this. |
|
In production, we are able to edit the negative split amount, so the issue has been resolved: test_d.mp4Should I close this PR now? |
|
cc @abdulrahuman5196, I can close this PR now, right? |
Yes. we should close this PR |





Explanation of Change
Fixed Issues
$ #76668
PROPOSAL: #76668 (comment)
Tests
More → Split → SaveAmountfield-sign beside the text input and amount edit is possibleOffline tests
QA Steps
// TODO: These must be filled out, or the issue title must include "[No QA]."
More → Split → SaveAmountfield-sign beside the text input and amount edit is possiblePR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectioncanBeMissingparam foruseOnyxtoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))npm run compress-svg)Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.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
Android: Native
android_native_d.mp4
Android: mWeb Chrome
android_mweb_d.mp4
iOS: Native
ios_native_d.mp4
iOS: mWeb Safari
ios_msafari_d.mp4
MacOS: Chrome / Safari
macos_web_d.mp4