Disable the input if the split is not editable - #76470
chuckdries merged 5 commits into
Conversation
|
Hey! I see that you made changes to our Form component. Make sure to update the docs in FORMS.md accordingly. Cheers! |
|
@dannymcclain @akinwale One of you needs to 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] |
|
We already have the disabled input style, but the only difference with this is that the prefix character is not grayed out. Do we want to change it?
|
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
JmillsExpensify
left a comment
There was a problem hiding this comment.
Overall looks good for product, but why is the disable field either shown on the top or the bottom? What's the sort logic for this page?
I don't feel strongly but I do think it makes sense to gray out the prefix character too for the disable state. @dubielzyk-expensify what do you think? |
I don't think we have a sorting here, it's by default sorted by the transaction ID. Lines 14068 to 14070 in 1b2e58c |
|
Ah ok cool. All good though, we don't need to touch anything about sort logic. |
Yes let's grey it out 👍 |
|
That looks good to me 👍 |
|
@bernhardoj Please merge the latest main to fix the failing TypeScript checks and unit tests. |
Reviewer Checklist
Screenshots/VideosMacOS: Chrome / Safari76470-web.mp4 |
|
@akinwale 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/chuckdries in version: 9.2.74-0 🚀
|
|
🚀 Deployed to production by https://github.com/yuwenmemon in version: 9.2.74-12 🚀
|
1 similar comment
|
🚀 Deployed to production by https://github.com/yuwenmemon in version: 9.2.74-12 🚀
|
|
🚀 Deployed to production by https://github.com/yuwenmemon in version: 9.2.74-12 🚀
|






Explanation of Change
We currently shows a plain text if the split is not editable which causes large amount text to be truncated. We changed it now to disabled input.
Fixed Issues
$ #75936
PROPOSAL: #75936 (comment)
Tests
Same as QA Steps
Offline tests
Same as QA Steps
QA Steps
PR 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: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari