Skip to content
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-02-03] [$250] Audit forms and fix inconsistencies with focus, tab and shift + tab behavior 2/4 #7916

Closed
5 tasks
dylanexpensify opened this issue Feb 25, 2022 · 127 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Engineering External Added to denote the issue can be worked on by a contributor Task Weekly KSv2

Comments

@dylanexpensify
Copy link
Contributor

dylanexpensify commented Feb 25, 2022

We should audit all our forms and fix any inconsistencies with focus, tab, shift + tab and enter behavior. The expected behavior is as follows:

  1. Tab navigates to the next input.
  2. Shift + tab navigates to the previous input.
  3. Enter submits the form.
  4. Space toggles checkboxes/dropdowns.

Note: We should make sure that tabbing cycles through the form in an order that makes sense, usually top to bottom.

Here's a list of forms to be audited:

Upwork job link: https://www.upwork.com/jobs/~0197285630ce0fa6fa https://www.upwork.com/jobs/~01a2053d2c6b3432b4

@dylanexpensify dylanexpensify added Daily KSv2 Engineering External Added to denote the issue can be worked on by a contributor Task labels Feb 25, 2022
@MelvinBot
Copy link

Triggered auto assignment to @nickmurray47 (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

@MelvinBot
Copy link

Triggered auto assignment to @michaelhaxhiu (External), see https://stackoverflow.com/c/expensify/questions/8582 for more details.

@dylanexpensify
Copy link
Contributor Author

Note: decision to split this main issue up into smaller issues came from this convo

@MelvinBot
Copy link

@michaelhaxhiu, @nickmurray47 Whoops! This issue is 2 days overdue. Let's get this updated quick!

@michaelhaxhiu
Copy link
Contributor

Note: decision to split this main issue up into smaller issues came from this convo

Does this job need to be posted to upwork in a particular fashion basically? Would it be 1 job for everything or 5 jobs (linked to 1 GH issue)?

@MelvinBot MelvinBot removed the Overdue label Feb 28, 2022
@nickmurray47
Copy link
Contributor

@michaelhaxhiu I personally think it should be 1 job since I assume the fix will be the same for all forms. I can see the argument for splitting it up into multiple jobs but I think whichever contributor suggests the best fix should just do all of the forms in one go.

@michaelhaxhiu
Copy link
Contributor

cool thanks nick. @dylanexpensify said the same in a DM.

@michaelhaxhiu
Copy link
Contributor

Posted to upwork and added to GH body. Link here too: https://www.upwork.com/jobs/~01a2053d2c6b3432b4

@MelvinBot
Copy link

Triggered auto assignment to Contributor-plus team member for initial proposal review - @parasharrajat (Exported)

@MelvinBot MelvinBot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Mar 2, 2022
@MelvinBot
Copy link

Triggered auto assignment to @thienlnam (Exported), see https://stackoverflow.com/c/expensify/questions/7972 for more details.

@mdneyazahmad
Copy link
Contributor

Proposal

These 4 related issues are very similar. I proposed the solution here #7918 (comment)

@parasharrajat
Copy link
Member

Reviewing the proposal on another issue.

@thienlnam
Copy link
Contributor

Any contributor interested in doing this audit? Involves going through the forms and making sure keyboard actions make sense and making updates to those that don't

@MelvinBot MelvinBot removed the Overdue label Mar 18, 2022
@puneetlath
Copy link
Contributor

Thanks @mdneyazahmad. @parasharrajat looks like this is now waiting on you, is that right?

@parasharrajat
Copy link
Member

PR is failing for one scenario which is important IMO. Started a discussion on the PR for a new approach. let see how far we can go with that.

@melvin-bot
Copy link

melvin-bot bot commented Dec 19, 2022

@puneetlath, @parasharrajat, @thienlnam, @mdneyazahmad Huh... This is 4 days overdue. Who can take care of this?

@melvin-bot
Copy link

melvin-bot bot commented Dec 21, 2022

@puneetlath, @parasharrajat, @thienlnam, @mdneyazahmad 6 days overdue. This is scarier than being forced to listen to Vogon poetry!

@puneetlath
Copy link
Contributor

@mdneyazahmad @parasharrajat can you guys provide a summary of where we're at with this? And also a link to the PR?

@JmillsExpensify
Copy link

Also I'm left wondering whether we should instead close this issue? It's focused on tabbing behavior and other keyboard navigation that is not a focus of our bug fixing machine.

@melvin-bot
Copy link

melvin-bot bot commented Dec 27, 2022

Looks like something related to react-navigation may have been mentioned in this issue discussion.

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 DeprecatedCustomActions.js files should not be accepted.

Feel free to drop a note in #expensify-open-source with any questions.

@JmillsExpensify JmillsExpensify changed the title [$250] Audit forms and fix inconsistencies with focus, tab and shift + tab behavior 2/4 [HOLD WAQ] [$250] Audit forms and fix inconsistencies with focus, tab and shift + tab behavior 2/4 Dec 27, 2022
@JmillsExpensify
Copy link

At the very least, it's not a focus for WAQ so putting a hold on this issue until we agree on next steps.

@melvin-bot
Copy link

melvin-bot bot commented Dec 29, 2022

@puneetlath, @parasharrajat, @thienlnam, @mdneyazahmad Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

@mdneyazahmad
Copy link
Contributor

PR #12370 is slowly moving on. It was stuck on loading page.

@melvin-bot
Copy link

melvin-bot bot commented Jan 6, 2023

@puneetlath, @parasharrajat, @thienlnam, @mdneyazahmad Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

@puneetlath
Copy link
Contributor

Do we think we can get it to the finish line this week?

@JmillsExpensify JmillsExpensify changed the title [HOLD WAQ] [$250] Audit forms and fix inconsistencies with focus, tab and shift + tab behavior 2/4 [$250] Audit forms and fix inconsistencies with focus, tab and shift + tab behavior 2/4 Jan 12, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jan 16, 2023

@puneetlath, @parasharrajat, @thienlnam, @mdneyazahmad Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

@puneetlath
Copy link
Contributor

@parasharrajat @luacmartins @thienlnam how close do you think we are on this one? Can we get it closed off in the next couple of days?

@parasharrajat
Copy link
Member

Yes, I am back to my primary location and try to finish asap.

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Daily KSv2 labels Jan 27, 2023
@melvin-bot melvin-bot bot changed the title [$250] Audit forms and fix inconsistencies with focus, tab and shift + tab behavior 2/4 [HOLD for payment 2023-02-03] [$250] Audit forms and fix inconsistencies with focus, tab and shift + tab behavior 2/4 Jan 27, 2023
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Jan 27, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jan 27, 2023

Reviewing label has been removed, please complete the "BugZero Checklist".

@melvin-bot
Copy link

melvin-bot bot commented Jan 27, 2023

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.2.60-1 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-02-03. 🎊

After the hold period, please check if any of the following need payment for this issue, and if so check them off after paying:

  • External issue reporter
  • Contributor that fixed the issue
  • Contributor+ that helped on the issue and/or PR

As a reminder, here are the bonuses/penalties that should be applied for any External issue:

  • Merged PR within 3 business days of assignment - 50% bonus
  • Merged PR more than 9 business days after assignment - 50% penalty

@melvin-bot
Copy link

melvin-bot bot commented Jan 27, 2023

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:

  • [@parasharrajat / @puneetlath / @thienlnam] The PR that introduced the bug has been identified. Link to the PR: n/a not a bug, this is new behavior we decided to implement
  • [@parasharrajat / @puneetlath / @thienlnam] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment: n/a not a bug, this is new behavior we decided to implement
  • [@parasharrajat / @puneetlath / @thienlnam] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion: n/a not a bug, this is new behavior we decided to implement
  • [@puneetlath] A regression test has been added or updated so that the same bug will not reach production again. Link to the GH issue for creating the test here: n/a not a bug, this is new behavior we decided to implement

@puneetlath
Copy link
Contributor

My sense is that there wasn't really a PR that caused a specific bug. Rather we developed form guidelines and then went and implemented them. Do you agree with that @parasharrajat @thienlnam?

@parasharrajat
Copy link
Member

parasharrajat commented Feb 1, 2023

Yeah, these are new changes to change the existing form behavior.

@puneetlath
Copy link
Contributor

@puneetlath
Copy link
Contributor

All paid. Thanks for your contributions everyone!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Engineering External Added to denote the issue can be worked on by a contributor Task Weekly KSv2
Projects
None yet
Development

No branches or pull requests