-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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-09-06] [HOLD for payment 2023-09-04] [$1000] Workspace - CMD+ENTER does not work when inviting new members to WS #25878
Comments
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open
|
Triggered auto assignment to @stitesExpensify ( |
Proposal (Updated)Please 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?
+ useKeyboardShortcut(CONST.KEYBOARD_SHORTCUTS.CTRL_ENTER, inviteUser);
return (
<ScreenWrapper shouldEnableMaxHeight> What alternative solutions did you explore? (Optional)
useKeyboardShortcut(CONST.KEYBOARD_SHORTCUTS.CTRL_ENTER, onSubmit); |
Shouldn't we use the |
Let me check @roryabraham |
I thought |
Yes it works and also i don't have to handle the issue i mentioned above. Thanks @roryabraham. Also i suggest if we can make |
Proposal |
What PR caused this bug? |
@stitesExpensify No PR has caused this bug. As CMD+ENTER is handled in |
I am seeing Enter is selecting the item, do we also need to support Ctrl+Enter here? |
In that case, this is not a regression/deploy blocker right? It is new functionality? |
Yes its a new functionality. |
Job added to Upwork: https://www.upwork.com/jobs/~016a1186aeecdfe466 |
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open
|
@roryabraham Please point out the line where CTRL_ENTER implementation was removed in this PR #22622. As then only we can count it as a Regression. |
ProposalPlease re-state the problem that we are trying to solve in this issue.This is a regression from PR #22622 Previously we have After the refactor we never had any event listener of App/src/components/OptionsSelector/BaseOptionsSelector.js Lines 66 to 99 in 53c4743
What is the root cause of that problem?Changes we need to do.
const onCtrlEnter = () => {
// Do Confirm
if (canSelectMultiple) {
if (onConfirm) {
onConfirm();
}
return;
}
// Select the focused option
selectFocusedOption();
};
useKeyboardShortcut(CONST.KEYBOARD_SHORTCUTS.CTRL_ENTER, onCtrlEnter,
{captureOnInputs: true, shouldBubble: () => !flattenedSections.allOptions[focusedIndex]});
What changes do you think we should make in order to solve the problem?NA |
@jeet-dhandha First of all, if you want to update your proposal you should not add a new comment, instead you should update the previous one and then add a new comment with such content:
Reference here |
@b4s36t4 I was thinking the same(only diff for me is to set the default func for onConfirm) but have you faced that the function executes twice for Screen.Recording.2023-08-25.at.19.53.47.mov |
@roryabraham - @stitesExpensify
|
As in past i know that regression are mostly fixed by the one who caused them and there is no payout for it too. |
Confirmed this is fixed in staging, no report bonus so closing |
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.57-6 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-09-04. 🎊 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:
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.58-5 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-09-06. 🎊 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:
|
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Action Performed:
Expected Result:
User can go to the next page using CMD+ENTER
Actual Result:
Nothing happens
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.57-1
Reproducible in staging?: Yes
Reproducible in production?: No
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
Bug6175814_T3611067-CMD-Enter-not-work.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: