fix: android app - expand icon doesn't disappear immediately after sending the message#27015
Conversation
|
@HezekielT On ios the plus button jumps after sending a msg CleanShot.2023-09-08.at.20.10.37.mp4 |
|
@fedirjh If you search for So, I was wondering if we can go with the main solution I suggested in my proposal which is to set |
|
@HezekielT Sounds good let's try the main solution. |
|
@HezekielT Just to confirm, applying the main solution will fix this #27015 (comment) without any extra changes to styles? |
Yes, it will be solved. Sorry for not stating that clearly in my previous comment. Please take a look at the code changes I made when you get the chance. Thanks. |
fedirjh
left a comment
There was a problem hiding this comment.
Test well, left comment about code readability.
|
@HezekielT I think we can update this line to : isFullComposerAvailable={isFullComposerAvailable && !isCommentEmpty}There is a little improvement in transition after applying that change:
|
Reviewer Checklist
Screenshots/VideosWebCleanShot.2023-09-08.at.19.41.16.mp4Mobile Web - ChromeCleanShot.2023-09-09.at.09.40.36.mp4Mobile Web - SafariCleanShot.2023-09-08.at.19.43.44.mp4DesktopCleanShot.2023-09-09.at.11.17.42.mp4iOSCleanShot.2023-09-09.at.08.20.09.mp4Androidandroid.mp4 |
That is even better in fact we can even do the same for videoedge1.movand trying to solve it by adding videoedgeCase2.movSo I think we can get the best result by combining both the solution you suggested and still reseting the size in SendButton. what do you think? |
@HezekielT This is actually what I had suggested. My intention was to keep the use of |
|
@fedirjh I have pushed the changes please take a look. Thanks again for the suggestion. |
|
@HezekielT Can you please revert the last commit, that code is not redundant and it’s used to reset the composer when we send an attachment. reset.mp4 |
|
@fedirjh reverted. |
fedirjh
left a comment
There was a problem hiding this comment.
Looks good to me.
🎀 👀 🎀 C+ reviewed
|
✋ 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/MariaHCD in version: 1.3.67-0 🚀
|
|
🚀 Deployed to production by https://github.com/AndrewGable in version: 1.3.67-3 🚀
|
|
🚀 Deployed to staging by https://github.com/MariaHCD in version: 1.3.68-0 🚀
|
|
🚀 Deployed to production by https://github.com/Julesssss in version: 1.3.68-17 🚀
|
| report={report} | ||
| reportParticipantIDs={reportParticipantIDs} | ||
| isFullComposerAvailable={isFullComposerAvailable} | ||
| isFullComposerAvailable={isFullComposerAvailable && !isCommentEmpty} |
There was a problem hiding this comment.
This caused regression of not showing compose button on multiple new lines - #28093 (comment)
Details
Fixed Issues
$ #25975
PROPOSAL: #25975 (comment)
Tests
Offline tests
Same as Tests Section.
QA Steps
Same as Tests Section.
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
mwebChrome.mov
Mobile Web - Safari
iosSafari.mov
Desktop
Desktop.mov
iOS
IosNative.mov
Android
IosNative.mov