-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 🚀
|
Explanation of Change
Fixed Issues
$ #51875
PROPOSAL: #51875 (comment)
Tests
Offline tests
QA Steps
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)src/languages/*
files and using the translation methodSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label and/or tagged@Expensify/design
so the design team can review the changes.ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.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