remove limit and add max length task description#23246
Conversation
|
@mananjadhav 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] |
| isAnonymousAction: false, | ||
| isSmallAvatarSubscriptMenu: false, | ||
| title: '', | ||
| numberOfLinesTitle: 1, |
There was a problem hiding this comment.
I don't think we should be removing this prop. We should still retain the check, and instead set this to 0 from TaskPreview. I think this would break MenuItem at a few places.
cc - @stitesExpensify
There was a problem hiding this comment.
yes, you're right, to make sure it not effect another place, I think we can set numberOfLLine={0} from TaskView
There was a problem hiding this comment.
Yeah but we'll have to change the condition to numberOfLinesTitle > 1 to numberOfLinesTitle != 1
There was a problem hiding this comment.
Yeah, also we don't need to pass the style.preWrap on TaskView, Thanks @mananjadhav for review
@namhihi237 I think we decided not to implement the input limit. @stitesExpensify let's remove it from this PR right? |
|
oh right, I will remove this @mananjadhav |
|
@namhihi237 I am not sure how it is working for you on the Android? I thin you haven't tested/updated screenshots after pushing the last changes. |
|
@mananjadhav Sorry I forgot to test the last update on Android, just IOS. I just fixed it, here is a screenshot for both:
|
|
@namhihi237 I don't think this fix works. It's a code smell, and doesn't make sense to repeat the same component twice? |
|
yeah @mananjadhav , version refactored
|
|
Thanks I think this works. I can see we're refactoring |
|
yes, Thanks @mananjadhav for review |
Reviewer Checklist
Screenshots/VideosWebweb-task-description-multiline.movMobile Web - Chromemweb-chrome-task-description-multiline.movMobile Web - Safarimweb-safari-task-description-multiline.movDesktopdesktop-task-description-multiline.moviOSios-task-description-multiline.movAndroidandroid-task-description-multiline.mov |
|
@stitesExpensify All yours. 🎀 👀 🎀 C+ reviewed. |
|
Just to confirm @mananjadhav everything is testing well still after the recent changes? |
|
Oops, my GH wasn't updated, Just saw your new checklist. Ignore me! |
|
Yes I checked after the last commit. |
|
✋ 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/stitesExpensify in version: 1.3.44-0 🚀
|
|
@namhihi237 We have a regression when we put a continuous string without any space it overflows the description. #23410 (comment) Can we please post a PR to fix this please? |
|
Yes, I will raise PR sasp |
|
Hi @mananjadhav PR is already, please take a look thanks. |
|
🚀 Deployed to production by https://github.com/marcaaron in version: 1.3.44-2 🚀
|
|
🚀 Deployed to staging by https://github.com/stitesExpensify in version: 1.3.45-0 🚀
|
|
🚀 Deployed to production by https://github.com/mountiny in version: 1.3.45-7 🚀
|


Details
Fixed Issues
$ #22493
PROPOSAL: #22493 (comment)
Tests
Offline tests
The same test
QA Steps
The same test
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.mov
Mobile Web - Chrome
mweb.mov
Mobile Web - Safari
safari.MP4
Desktop
desktop.mov
iOS
Android