-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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 Slow Chat Switcher issue #43099
Fix Slow Chat Switcher issue #43099
Conversation
@aimane-chnaif 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] |
Ready for review |
🧪🧪 Use the links below to test this adhoc build on Android, iOS, Desktop, and Web. Happy testing! 🧪🧪
|
Reviewer Checklist
Screenshots/VideosiOS: NativeiOS: mWeb SafariMacOS: Chrome / Safariweb.movMacOS: Desktop |
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.
Looks good. I am still finding possible regressions (i.e. breaking auto focus, transition animation)
Not everywhere, but I think we can for the mentioned page. We can't use it for pages with SelectionList that have the option to go directly to another page and then return (to avoid recreating this bug) or we can decide for all pages which error is more annoying. |
@aimane-chnaif @filip-solecki what is left here to do. @aimane-chnaif have you found any regressions? |
I think we need some decision if we want to remove focus delaying on other pages. So far no regressions found I think |
@filip-solecki As you mentioned, we should do it wherever it's "simple" and the selectionList is not used. I think that this page is the main problem, though, as you can open it with a shortcut, and as such, you also can start typing the fastest after it opens, and the bug is visible the most. So I would prioritize getting this PR with current scope merged and then applying a similar fix in other flows |
Sounds good to me, the fix for other pages is to add |
Lets focus on this page so its easier to debug too in case any issues arise |
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.
🚀
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.
Thank you!
✋ 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 production by https://github.com/mountiny in version: 1.4.83-3 🚀
|
According to my comment and replies we decided to go with removing TextInput focus delay.
Details
Fixed Issues
$ #28071
PROPOSAL:
Tests
cmd + k
Offline tests
QA Steps
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.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: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop