-
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
[HOLD for payment 2023-10-09] [$500] Chat - User suggestion @ list not appearing on the second #26197
Comments
Triggered auto assignment to @alexpensify ( |
Bug0 Triage Checklist (Main S/O)
|
ProposalPlease re-state the problem that we are trying to solve in this issue.Typing the second 'at' (@) won't show the mention suggestion. What is the root cause of that problem?In our composer, we set an
On Android, when we type the @ in a new line input height changes and it will trigger the Screen.Recording.2023-08-29.at.22.28.28.movWhat changes do you think we should make in order to solve the problem?I suggest to remove the What alternative solutions did you explore? (Optional)Ignore the
|
I will review soon |
@alexpensify Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Job added to Upwork: https://www.upwork.com/jobs/~01787235515a8ea167 |
Triggered auto assignment to @bfitzexpensify ( |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @cubuspl42 ( |
I confirmed this is a bug and don't believe it's a duplicate. @cubuspl42 when you get a chance, can you review if the recent proposal will fix this issue? Thanks! |
ProposalPlease re-state the problem that we are trying to solve in this issue.
What is the root cause of that problem?
What changes do you think we should make in order to solve the problem?
const isWebDesktop = _.contains([CONST.PLATFORM.WEB, CONST.PLATFORM.DESKTOP], getPlatform()) && !Browser.isMobile();
<Composer
{...rest}
onTouchMove={!isWebDesktop ? updateShouldShowSuggestionMenuToFalse : undefined}
onScroll={isWebDesktop ? updateShouldShowSuggestionMenuToFalse : undefined}
/> What alternative solutions did you explore? (Optional)
|
To the best of my understanding, this is not what happens. The problem occurs later.
This is the actual root cause, wouldn't you agree? Did you try attacking that in any way? |
@cubuspl42 yes, but I'm not trying to tackle the input height change issue here as |
@bernhardoj I understand. What worries me is that the callback we're talking about was probably added for some reason, and removing it blindly sounds a bit worrying. Do you have any idea what was the original intention, and why is it outdated? |
If i were to combine your suggested root cause with my solution would it be selected @cubuspl42 ? |
@jeet-dhandha I'm not sure yet, but I'm not a big fan of either solution. Both proposals seem not to reason much about the original intention behind the removed/modified functionality. I guess that the functionality exists to hide the suggestions when the view is scrolled by hand. In our case, the scroll event is "artificial", generated by the scroll view itself based on layout changes. A clean solution would detect this "artificial" scroll event related to expanding text and treat it differently from the organic one (when the user scrolls the view with a gesture). If this is not possible directly, we can fallback to a non-perfect but probably practical solution, when all scroll events without time window t after each change in the text is considered "artificial". |
This is my guess too, but I scanned through the issue and PR conversation and found nothing about the scroll requirement, so I posted my solution hoping the assigned C+ here has some context 😅. In this case, I would like to ask for the PR author to get some confirmation. @perunt hi, for context, we are having an issue where when a text in a text input is wrapped to a new line, it triggers the
I saw that this is introduced along with the static emoji suggestion feature. So, as the PR author of the emoji suggestion, would you mind sharing some information on why we are hiding the suggestion on text input scroll? Is it something intentional that is required by the feature? Thanks! 🙇 |
@cubuspl42 have you been able to review the most recent reply from @bernhardoj? Thanks for the updates! |
@bernhardoj I'm just not convinced by removing the functionality because it doesn't suit us in the context of a given issue. No matter if it was ever formally requested, the So neither removing it completely (@bernhardoj) nor special casing it based on a last character in the buffer (@jeet-dhandha) doesn't seem like a clean approach to me. I still believe that a clean solution would be treating user-triggered scrolls and scrolls being an effect of inputted characters separately. And yes, even if the solution would be based on classifying scroll events based on whether they occur in a given small time window since last text change. |
📣 @cubuspl42 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @bernhardoj 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
PR is ready cc: @cubuspl42 |
PR is moving forward! |
Based on my calculations, the pull request did not get merged within 3 working days of assignment. Please, check out my computations here:
On to the next one 🚀 |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.75-12 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2023-10-09. 🎊 After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.
For reference, here are some details about the assignees on this issue:
As a reminder, here are the bonuses/penalties that should be applied for any External issue:
|
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
@cubuspl42 - to prepare for the payment date, can you please complete the checklist? Thanks! |
|
Here is the payment summary:
Upwork Job: https://www.upwork.com/jobs/~01787235515a8ea167 *If applicable, the bonuses will be applied on the final payment Extra Notes regarding payment: I disagree with this automation notice #26197 (comment). There is no bonus but there will be no penalty. There was a delay in the merge process that was outside of the contributors' control. |
Everyone has been paid here. @Gonals keep me posted if you agree with the regression test and I'll create the GH. Thanks! |
I'm not very confident about the regression test; @mallenexpensify told me in another thread that the regression steps should be provided for all issues, and most of the time, the "QA steps" from the PR template are fine. Let me know if you agree with this. |
Yes @cubuspl42 , that is the standard process. Applause/QA reviews all the regression test GHs and actions on them the way they think is best (which is why it's best to err on the side of creating the TestRail GHs, cuz they can easily be closed if a regression test isn't needed). I created this one so we close |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Action Performed:
Expected Result:
User suggestions @ list must appear on the second line
Actual Result:
User suggestions @ list not appearing on the second line and only a jump can be seen above composer
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.58-1
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
secongtime.mp4
Expensify/Expensify Issue URL:
Issue reported by: Applause Internal team
Slack conversation:
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: