Uh oh!
There was an error while loading. Please reload this page.
Inline suggestion - #36239
Conversation
…nput-inline-tracking
…nput-inline-tracking
…nput-inline-tracking
…gelo/expensify-app-fork into perunt/inline-suggestion
perunt
commented
Feb 27, 2024
❗ ❗ ❗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] |
Uh oh!
There was an error while loading. Please reload this page.
alitoshmatov
commented
Feb 28, 2024
@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 |
perunt
commented
Feb 29, 2024
Hmm, does this issue occur every time? |
alitoshmatov
commented
Mar 1, 2024
It is fixed. I will finish reviewing tonight |
alitoshmatov
commented
Mar 4, 2024
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 |
alitoshmatov
commented
Mar 11, 2024
@perunt Any updates? |
perunt
commented
Jun 7, 2024
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