-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Emoji search on mobile #14652
Emoji search on mobile #14652
Conversation
CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅ |
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.
Looking pretty good! After reviewing I got the thought though, what are the differences between index.js and the index.native.js now? Do we think we could re-unify them?
7fdfb1b
to
8947130
Compare
56ead3a
to
b9617d2
Compare
…into feature/@perunt/emoji-search-mobile
@stitesExpensify I agree, it would be great if we could unify them. |
My PR was just merged, let me know what you think now! |
…into feature/@perunt/emoji-search-mobile
…into feature/@perunt/emoji-search-mobile
@stitesExpensify after testing this branch with your implementation, I noticed an issue with the UX on some small screens. Specifically, on devices like the iPhone SE/13 mini, the input is still readable but slightly cut off. On Android, such as the Pixel 2, the input is positioned under the status bar. How small of a screen do we need to be concerned about? |
I would say we need to support all popular device types, including the mini. |
…into feature/@perunt/emoji-search-mobile
…into feature/@perunt/emoji-search-mobile
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 and tests well. Left a couple of NAB comments
onChangeText={this.filterEmojis} | ||
defaultValue="" | ||
ref={el => this.searchInput = el} | ||
autoFocus={!this.isMobileLandscape() || this.props.isSmallScreenWidth} |
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.
I'm surprised we still have isMobileLandscape
since we disable landscape mode on small screens. Maybe we can create a follow up issue to clean this up.
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.
Code looks great and it tests well, let's !
One question, how are users supposed to close the picker if they don't want to pick anything? 2023-03-23_13-04-57.mp4If you click the very top it will go away, but it definitely feels like you should be able to swipe that menu down. While testing I felt "trapped" on that screen. Thoughts @luacmartins @perunt ? |
@stitesExpensify currently, there are three options to close the element:
|
Interesting. I didn't feel trapped, but from the video I can see how bad it is for small screen devices. I agree that a swipe down to dismiss would be good. |
…into feature/@perunt/emoji-search-mobile
…@perunt/emoji-search-mobile
7b8f419
Okay well if others aren't feeling trapped right now, let's go ahead and merge it, and then we can change it later if I'm not the only one! |
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
Hi, there is a regression reported here from this PR. Removing the If I may suggest, instead of using App/src/components/EmojiPicker/EmojiPicker/index.js Lines 168 to 170 in d57b331
|
This PR caused regression - #16636 ProposalPlease re-state the problem that we are trying to solve in this issue.attachment modal views are broken What is the root cause of that problem?App/src/components/Modal/BaseModal.js Lines 175 to 181 in 752ac61
KeyboardAvoidingView height is not stretched. Neither flex: 1 nor height: '100%' is added in style.But we can't simply add these styles because emoji picker doesn't need to be stretched. What changes do you think we should make in order to solve the problem?
|
🚀 Deployed to staging by https://github.com/stitesExpensify in version: 1.2.91-0 🚀
|
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.
This PR introduced the following deploy blockers:
🚀 Deployed to production by https://github.com/luacmartins in version: 1.2.91-1 🚀
|
Details
Fixed Issues
$ #14098
PROPOSAL: GH_LINK_ISSUE(COMMENT)
Tests
All Platforms:
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 methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)/** comment above it */
this
properly so there are no scoping issues (i.e. foronClick={this.submit}
the methodthis.submit
should be bound tothis
in the constructor)this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)ScrollView
component to make it scrollable when more elements are added to the page.Screenshots/Videos
Web
Mar-01-2023.10-26-38.mp4
Mobile Web - Chrome
Mar-01-2023.10-19-07.mp4
Mobile Web - Safari
Mar-01-2023.10-14-19.mp4
Desktop
Mar-01-2023.10-25-49.mp4
iOS
Mar-01-2023.10-33-15.mp4
Mar-01-2023.10-34-36.mp4
Android
Mar-01-2023.10-34-36.mp4