-
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-07-14] [$1000] Web - On the Invite page, pressing enter shows as selected for an unselected user on the next page #21591
Comments
Triggered auto assignment to @sophiepintoraetz ( |
Bug0 Triage Checklist (Main S/O)
|
ProposalPlease re-state the problem that we are trying to solve in this issue.Web - On the Invite page, pressing enter shows as selected for an unselected user on the next page What is the root cause of that problem?On WorkspaceInvitePage we are using the FormSubmit for the list App/src/pages/workspace/WorkspaceInvitePage.js Lines 270 to 273 in 468dd6c
On form submit we have added condition here where we have input focused then call the enter event App/src/components/FormSubmit/index.js Lines 29 to 30 in 468dd6c
What changes do you think we should make in order to solve the problem?We dont need to call the submit event here, so we can safely remove the App/src/components/FormSubmit/index.js Lines 29 to 30 in 468dd6c
What alternative solutions did you explore? (Optional)none |
Job added to Upwork: https://www.upwork.com/jobs/~011875b507eb8a5110 |
Current assignee @sophiepintoraetz is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @eVoloshchak ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.In the workspace invite page, pressing enter will select the focused user and navigate to the invite message page. What is the root cause of that problem?In the workspace invite page, we have a App/src/pages/workspace/WorkspaceInvitePage.js Lines 270 to 273 in e5f00f8
App/src/components/FormSubmit/index.js Lines 29 to 44 in e5f00f8
We also have an ENTER key listener in the options selector that will select the focused row/user. App/src/components/OptionsSelector/BaseOptionsSelector.js Lines 67 to 84 in e5f00f8
Both callback is triggered which will select the focused user-to-invite and navigate to the invite message page. What changes do you think we should make in order to solve the problem?Notice that on the workspace invite page, the Next button has a App/src/pages/workspace/WorkspaceInvitePage.js Lines 304 to 313 in e5f00f8
So, to have the same behavior with New Group, we should remove |
@eVoloshchak - would you mind reviewing @bernhardoj's and @jayeshmangwani proposal? |
@bernhardoj's proposal looks good to me.
Screen.Recording.2023-06-29.at.22.48.56.mov |
Looks like something related to As a reminder, please make sure that all proposals are not workarounds and that any and all attempt to fix the issue holistically have been made before proceeding with a solution. Proposals to change our Feel free to drop a note in #expensify-open-source with any questions. |
@eVoloshchak - does @bernhardoj need to amend the proposal to account for the bug? |
We have an issue for that bug here #21392 (the linked issue is on split bill participant, but they use the same component, i.e. |
📣 @eVoloshchak 🎉 An offer has been automatically sent to your Upwork account 🎉 Reviewer - [$1000] Web - On the Invite page, pressing enter shows as selected for an unselected user on the next page |
📣 @bernhardoj You have been assigned to this job! |
📣 @jayeshmangwani 🎉 An offer has been automatically sent to your Upwork account 🎉 Reporter - [$1000] Web - On the Invite page, pressing enter shows as selected for an unselected user on the next page |
PR is ready. cc: @eVoloshchak |
Triggered auto assignment to @puneetlath, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
🎯 ⚡️ Woah @eVoloshchak / @bernhardoj, great job pushing this forwards! ⚡️ The pull request got merged within 3 working days of assignment, so this job is eligible for a 50% #urgency bonus 🎉
On to the next one 🚀 |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.37-7 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-07-14. 🎊 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.
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:
|
|
All right offers sent - thanks so much for the checklist - we good. |
Approved 1500 to @eVoloshchak based on #21591 (comment) |
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:
There should be two users that we have selected on the previous page
Actual Result:
On Add message page, we can see the three users instead of 2; pressing enter is selecting the third user
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.32-5
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: Any additional supporting documentation
enter-press-error.1.mov
Desktop.2023.06.25.-.22.07.55.18.mp4
Expensify/Expensify Issue URL:
Issue reported by: @jayeshmangwani
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1687440846874509
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: