-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Inline suggestion #36239
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
Inline suggestion #36239
Conversation
…nput-inline-tracking
…nput-inline-tracking
…nline-suggestion
…nline-suggestion
…nline-suggestion
…nline-suggestion
…nline-suggestion
…nput-inline-tracking
…nline-suggestion
…gelo/expensify-app-fork into perunt/inline-suggestion
|
❗ ❗ ❗This PR contains #35149. So, don't mind it while reviewing. Thanks! |
|
@alitoshmatov 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] |
|
@perunt I think something is wrong with mention suggestion Screen.Recording.2024-02-28.at.21.42.32.movSimulator.Screen.Recording.-.iPhone.15.Plus.-.2024-02-28.at.21.42.26.mp4 |
|
Hmm, does this issue occur every time? |
…nline-suggestion
|
It is fixed. I will finish reviewing tonight |
|
In safari after selecting emoji or mention suggestion the cursor is going to the end of the text rather than after emoji or suggestion Simulator.Screen.Recording.-.iPhone.15.Plus.-.2024-03-04.at.12.07.21.mp4The same is happening in ios but it is a bit hard to reproduce since suggestion itself is not showing up consistently Simulator.Screen.Recording.-.iPhone.15.Plus.-.2024-03-04.at.12.19.15.mp4 |
|
@perunt Any updates? |
|
I'm closing this PR as it has become outdated. We changed our approach a bit and have now expanded react-native-keyboard-controller to include the changes we previously patched to react-native. The new PR is here |
Details
This PR updates the suggestion box to appear right next to the cursor, making it work like inline autosuggestion. Now, the emoji suggestion box only pops up when typing. It won't appear if you move the cursor with a mouse or finger.
Fixed Issues
$ #16078
PROPOSAL:
Tests
Testing Emoji Suggestions:
Testing Mention Suggestions:
Offline tests
QA Steps
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)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel so 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
2024-02-27.17.46.06.mp4
Android: mWeb Chrome
2024-02-27.17.46.14.mp4
iOS: Native
Simulator.Screen.Recording.-.14.Pro.-.2024-02-27.at.17.35.37.mp4
iOS: mWeb Safari
Simulator.Screen.Recording.-.14.Pro.-.2024-02-27.at.17.36.05.mp4
MacOS: Chrome / Safari
Untitled.3.mov
MacOS: Desktop