Repository navigation
Fix expand button interrupting composer shrinking - #52300
Conversation
|
@hoangzinh 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] |
|
@hoangzinh I switched to a cross-platform approach since the issue is also reproducible on iOS and web platforms. Please let me know if we should focus only on the Android issue and stick with the original solution. |
|
Hi @QichenZhu can you check if there are any resolve merge conflict issues? It seems there are a lot of unrelated code |
|
From a design perspective, the screenshots look good to me 👍 |
|
@hoangzinh I think the diff looks big because of the indent level changes. Also the new CSS-only approach replaces the |
|
It's a game-changer idea. Let me review it carefully. |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2024-11-13.at.20.49.13.android.movAndroid: mWeb ChromeScreen.Recording.2024-11-13.at.20.53.52.android.chrome.moviOS: NativeScreen.Recording.2024-11-13.at.21.25.20.ios.moviOS: mWeb SafariScreen.Recording.2024-11-13.at.20.59.27.ios.safari.movMacOS: Chrome / SafariScreen.Recording.2024-11-13.at.20.46.59.web.movMacOS: DesktopScreen.Recording.2024-11-13.at.21.23.31.desktop.mov |
@QichenZhu the verification step here would cause confusion for QA. What do you think if we change to "Verify that the compose box automatically shrinks to the normal size without delay" |
|
Seems that there is a redundant text in the QA step "// TODO: These must be filled out, or the issue title must include "[No QA]." |
@hoangzinh Technically there's always a small delay before it starts shrinking. Could it be more specific, like: "Verify that the compose box automatically shrinks to its normal size in one step without transitional stages"? |
|
How about "Verify that the compose box automatically shrinks to its normal size immediately"? QA may won't know what are transitional stages. |
|
@hoangzinh Thanks for your suggestion. Test steps updated. |
blimpich
left a comment
There was a problem hiding this comment.
Great job! Really happy this PR seems to simplify the code while also fixing the problem 👍
|
✋ 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/blimpich in version: 9.0.63-1 🚀
|
|
🚀 Deployed to production by https://github.com/chiragsalian in version: 9.0.63-3 🚀
|
This change caused #57019 (comment). We fixed it by adding the flag again. |
Explanation of Change
Fixed Issues
$ #51875
PROPOSAL: #51875 (comment)
Tests
Offline tests
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))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.mp4
Android: mWeb Chrome
android-web.mp4
iOS: Native
ios-native.mp4
iOS: mWeb Safari
ios-web.mp4
MacOS: Chrome / Safari
mac-web.mov
MacOS: Desktop
mac-desktop.mov