-
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 2024-09-03] [$250] Chat - Unable to deselect user using The Tab key #47306
Comments
Triggered auto assignment to @sakluger ( |
Edited by proposal-police: This proposal was edited at 2024-08-13 10:33:23 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.Chat - Unable to deselect user using The Tab key What is the root cause of that problem?The role is set to Lines 256 to 262 in 86da342
What changes do you think we should make in order to solve the problem?Update the If needed, we can replace all the use of What alternative solutions did you explore? (Optional)We can export the What alternative solutions did you explore? (Optional 2)We can simply create a handler for const onKeyDownHandler = (event: React.KeyboardEvent) => {
if (event.key === 'Enter') {
event.preventDefault();
}
onKeyDown?.(event);
}; OR: We can modify const onPressHandler = useCallback(
(event?: GestureResponderEvent | KeyboardEvent) => {
if (event instanceof KeyboardEvent && event.key === 'Enter') {
event.preventDefault();
}
if (isDisabled || !interactive) {... What alternative solutions did you explore? (Optional 3)Add We can also check for the key pressed if needed. onKeyDown={(event) => {
if (event.key !== 'Enter') {
return;
}
event.preventDefault();
}} |
ProposalPlease re-state the problem that we are trying to solve in this issue.Unable to deselect user using Enter when the focus is already changed using Tab key to the selected user icon What is the root cause of that problem?We don't handle on enter key press here Lines 254 to 266 in 86da342
While on "Add to group" we use button component for it, so it already have a on key press handle What changes do you think we should make in order to solve the problem?create
What alternative solutions did you explore? (Optional) |
Note: The proposal above came just few seconds before I update the my proposal the minutes are the same. Just noting it down for C+. |
Proposal Updated
|
Proposal Updated
|
Job added to Upwork: https://www.upwork.com/jobs/~018da70c1cbe5cf980 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @alitoshmatov ( |
@alitoshmatov can you take a look at the proposals we have so far? |
@sakluger, @alitoshmatov Whoops! This issue is 2 days overdue. Let's get this updated quick! |
@alitoshmatov, friendly bump for a review. |
📣 @ZhenjaHorbach 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
@ZhenjaHorbach thanks for handling C+ for this one! |
@Krishna2323 @nyomanjyotisa As far as I can see 'ACCESSIBILITY_ROLE' is deprecated 🎀👀🎀 C+ reviewed |
Triggered auto assignment to @dangrous, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
Sounds good to me! Let's attempt to swap out all the ACCESSIBILITY_ROLE instances for ROLE, like you said - but if it's too many and hard to test, then maybe we can do it later. |
📣 @Krishna2323 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
@ZhenjaHorbach, PR ready for review ^ |
I think this is likely on prod and the automation didn't fire (since two deploys had that happen)... We should confirm and then update the payment date accordingly! |
@sakluger I'm like 99% certain this is on prod and we're out of the 7 day window here - do you mind trying to help confirm that, and hopefully be able to issue payment? |
I confirmed that this is live on prod! Moving to daily and handling payment. |
Summarizing payment on this issue: Contributor: @ZhenjaHorbach $250, paid via Upwork @ZhenjaHorbach do you think we need regression test steps here? If so, could you please leave proposed test steps? |
Unfortunately, I did not find a suitable PR
NA
NA
Regression Test Proposal
Do we agree 👍 or 👎 |
@sakluger |
Thanks! |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: v9.0.19-0
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/4847797
Email or phone of affected tester (no customers): [email protected]
Logs: https://stackoverflow.com/c/expensify/questions/4856
Issue reported by: Applause-Internal team
Action Performed:
Expected Result:
Able to deselect users using tab key
Actual Result:
Unable to deselect user using The Tab key. User is navigated to 1:1 conversation
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Bug6570676_1723537229718.bandicam_2024-08-13_10-42-07-312.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @alitoshmatovThe text was updated successfully, but these errors were encountered: