-
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 15083][$1000] Invite members: Pressing Enter
key focusing on search field adds the first highlighted user
#16016
Comments
Triggered auto assignment to @strepanier03 ( |
Bug0 Triage Checklist (Main S/O)
|
I was able to recreate this behavior perfectly following the steps. I agree that we shouldn't have this behavior. |
Enter
key focusing on search field adds the first highlighted userEnter
key focusing on search field adds the first highlighted user
Job added to Upwork: https://www.upwork.com/jobs/~01c69f649944d8ab8a |
Current assignee @strepanier03 is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @Santhosh-Sellavel ( |
Triggered auto assignment to @amyevans ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Pressing enter while focusing on the search input invite the user instead of selecting it. What is the root cause of that problem?The workspace invite page uses FormSubmit which will listen to enter key. If enter key is pressed inside App/src/components/FormSubmit/index.js Lines 28 to 31 in 772a947
What changes do you think we should make in order to solve the problem?I don't think we want to submit it when we press enter for invite member page, so we can just remove the |
ProposalPlease re-state the problem that we are trying to solve in this issue.App directly adds first user to workspace in just single enter click. What is the root cause of that problem?We're using
input .
What changes do you think we should make in order to solve the problem?Since the This can be done by moving
What alternative solutions did you explore? (Optional)In the |
This should be put on hold as there is a flow change in #10906 and this could be fixed there. |
Should be on hold for #15083 |
Makes sense 👍 PR for that issue, for easier reference: #15672 |
Enter
key focusing on search field adds the first highlighted userEnter
key focusing on search field adds the first highlighted user
Thank you @Santhosh-Sellavel 🙌 |
Currently on hold |
Thank you Amy 🙌 |
The PR we're holding on is still under review. |
Ditto ^ |
Looks like #15672 was recently merged, @Santhosh-Sellavel mind giving a quick evaluation of our next steps here? |
There's an another new reported issue #18598 related to this one. |
@amyevans - I'm sorry but can you take a look at this and let me know if we're still holding for something or if I should take this off hold or not? |
I believe we are good to close this is the expected behaviour. |
👍 Closing to stay consistent with the expected behavior agreed upon in #18598 |
Good to see this issue resolved! Wanted to ask if I am eligible for report bonus for this issue? |
I think not because the refactoring was started before this one was reported. |
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:
App should select first user and enable invite button
Actual Result:
App directly adds first user to workspace in just single enter click i.e. in place of just selecting the first user, it triggers both selecting of first user and click on invite in just single enter click
Workaround:
unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.2.85-1
Reproducible in staging?: y
Reproducible in production?: y
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:
Recording.1714.mp4
single.enter.add.member.issue.mp4
Expensify/Expensify Issue URL:
Issue reported by: @eh2077
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1678871333569039
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: