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 9/26]Expense - Nothing happens when hitting Enter on amount page #49368

Closed
2 of 6 tasks
IuliiaHerets opened this issue Sep 18, 2024 · 16 comments
Closed
2 of 6 tasks
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Engineering

Comments

@IuliiaHerets
Copy link

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Version Number: 9.0.37-0
Reproducible in staging?: Y
Reproducible in production?: N
Email or phone of affected tester (no customers): applausetester+kh010901@applause.expensifail.com
Issue reported by: Applause Internal Team

Action Performed:

  1. Go to staging.new.expensify.com
  2. Go to workspace chat.
  3. Click + > Submit expense > Manual.
  4. Enter amount.
  5. Hit Enter.

Expected Result:

Enter key will proceed to next step.

Actual Result:

Nothing happens when hitting Enter on amount page.

Workaround:

Unknown

Platforms:

  • Android: Native
  • Android: mWeb Chrome
  • iOS: Native
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Bug6607106_1726613695588.743766129871136314420240918_044316.mp4

View all open jobs on GitHub

@IuliiaHerets IuliiaHerets added DeployBlockerCash This issue or pull request should block deployment Bug Something is broken. Auto assigns a BugZero manager. labels Sep 18, 2024
Copy link

melvin-bot bot commented Sep 18, 2024

Triggered auto assignment to @CortneyOfstad (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.

Copy link

melvin-bot bot commented Sep 18, 2024

Triggered auto assignment to @iwiznia (DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.

@melvin-bot melvin-bot bot added the Daily KSv2 label Sep 18, 2024
@github-actions github-actions bot added Engineering Hourly KSv2 and removed Daily KSv2 labels Sep 18, 2024
Copy link
Contributor

👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:

  1. Identify the pull request that introduced this issue and revert it.
  2. Find someone who can quickly fix the issue.
  3. Fix the issue yourself.

@IuliiaHerets
Copy link
Author

We think that this bug might be related to #wave-collect - Release 1

@luacmartins
Copy link
Contributor

Pretty sure it came from this PR #49023 @suneox @alitoshmatov

@nkdengineer
Copy link
Contributor

Proposal

Please re-state the problem that we are trying to solve in this issue.

Task title is overlapped by task arrow

What is the root cause of that problem?

The input has the role is CONST.ROLE.PRESENTATION and we don't exclude it here. It happens after this PR

const shouldDisableEnterShortcut = useMemo(() => accessibilityRoles.includes(activeElementRole ?? ''), [activeElementRole]);

What changes do you think we should make in order to solve the problem?

We should return shouldDisableEnterShortcut as false if the activeElementRole is CONST.ROLE.PRESENTATION as we did in the past like the diff in this PR

const shouldDisableEnterShortcut = useMemo(() => accessibilityRoles.includes(activeElementRole ?? '') && activeElementRole !== CONST.ROLE.PRESENTATION, [activeElementRole]);

const shouldDisableEnterShortcut = useMemo(() => accessibilityRoles.includes(activeElementRole ?? ''), [activeElementRole]);

OPTIONAL: We can exclude other roles if this role is not a pressable element.

What alternative solutions did you explore? (Optional)

NA

@nkdengineer
Copy link
Contributor

@luacmartins This comes from this #49316.

@luacmartins
Copy link
Contributor

Ah nice find. Are you available to work on a PR?

@nkdengineer
Copy link
Contributor

@luacmartins Sure.

@nkdengineer
Copy link
Contributor

@luacmartins The PR is ready.

Copy link

melvin-bot bot commented Sep 18, 2024

⚠️ Looks like this issue was linked to a Deploy Blocker here

If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results.

If a regression has occurred and you are the assigned CM follow the instructions here.

If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future.

@mountiny mountiny removed the DeployBlockerCash This issue or pull request should block deployment label Sep 19, 2024
@mountiny
Copy link
Contributor

this was fixed but we forgot to remove the label I believe

@CortneyOfstad
Copy link
Contributor

PR was deployed to production 4 days ago — updating the title!

@CortneyOfstad CortneyOfstad added Awaiting Payment Auto-added when associated PR is deployed to production and removed Reviewing Has a PR in review labels Sep 23, 2024
@CortneyOfstad CortneyOfstad changed the title Expense - Nothing happens when hitting Enter on amount page [HOLD FOR PAYMENT 9/26]Expense - Nothing happens when hitting Enter on amount page Sep 23, 2024
@CortneyOfstad
Copy link
Contributor

@nkdengineer — offer sent to you here in Upwork — please let me know once you accept and I'll get that paid ASAP. Thanks!

@nkdengineer
Copy link
Contributor

@CortneyOfstad I accepted thanks

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Sep 30, 2024
@CortneyOfstad
Copy link
Contributor

Payment Summary

@nkdengineer — paid $250 via Upwork

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. Daily KSv2 Engineering
Projects
None yet
Development

No branches or pull requests

6 participants