fix: Long suggested categories overflow the view#76590
Conversation
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
|
@dannymcclain @mananjadhav 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] |
|
🤔 These are not looking amazing to me... Mobile looks especially broken.
@dubielzyk-expensify do we need to consider some custom styles or something for these buttons? |
|
Agree. I think we either need to grow the button or actually do ellipsis after two lines. I think elipsis after two lines is probably reasonable. |
|
@dubielzyk-expensify @dannymcclain Let me know what option you prefer then I can update the PR accordingly |
Let's see what truncating after 2 lines is like. I'm struggling to believe that a lot of companies have categories that are legitimately this long. |
|
It would be very very unlikely, yeah. |
|
@dannymcclain @dubielzyk-expensify Any thoughts on what is expected here? |
|
I think we want to move forward with wrapping the button but truncating after 2 lines. @dubielzyk-expensify does that sound right to you? |
|
Yep that sounds right to me 👍 |
|
@dannymcclain I updated.
|
|
That looks right to me 👍 |
mananjadhav
left a comment
There was a problem hiding this comment.
The code change looks fine. I am going to test this soon.
JmillsExpensify
left a comment
There was a problem hiding this comment.
Looks good to me with the latest updates.
|
Yeah I think that's a great middle ground for this. Send it! |
|
@nkdengineer Are the screenshots updated with the latest changes? |
|
@mananjadhav Updated. |
@nkdengineer Can you please provide an example in the tests to make them look complete. |
Reviewer Checklist
Screenshots/Videos |
|
@nkdengineer In case you missed the comment here. |
|
Updated. |
|
✋ 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/thienlnam in version: 9.2.79-0 🚀
|
|
🚀 Deployed to staging by https://github.com/thienlnam in version: 9.2.81-0 🚀
|
|
🚀 Deployed to production by https://github.com/AndrewGable in version: 9.2.81-5 🚀
|
|
🚀 Deployed to production by https://github.com/AndrewGable in version: 9.2.81-5 🚀
|








Explanation of Change
Fixed Issues
$ #76437
PROPOSAL: #76437 (comment)
Tests
IT Software Licenses and Subscriptions (General just test 2))Offline tests
Same
QA Steps
Same as test
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