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

[Due for payment 2025-02-27] Search - Last digits are cleared when trying to enter a second decimal point (dot) #56330

Open
2 of 8 tasks
IuliiaHerets opened this issue Feb 4, 2025 · 17 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Engineering Weekly KSv2

Comments

@IuliiaHerets
Copy link

IuliiaHerets commented Feb 4, 2025

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: v9.0.94-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: #53695
Email or phone of affected tester (no customers): expensify416+da2@gmail.com
Issue reported by: Applause Internal Team
Device used: MacOS Chrome, Desktop
App Component: Search

Action Performed:

  1. Go Reports > click on Filter > click on Total
  2. Enter few digits > press dot key or comma key to enter a decimal point
  3. Enter two digits after the decimal point
  4. Move the cell pointer on the left side of the entered decimal point (dot)
  5. Press dot key

Expected Result:

Nothing should happen as there is an existing decimal point (dot) in the number
Or pointer should jump to the end of entered amount as it does on production

Actual Result:

The last digits next to first decimal point are cleared

Workaround:

Unknown

Platforms:

  • Android: Standalone
  • Android: HybridApp
  • Android: mWeb Chrome
  • iOS: Standalone
  • iOS: HybridApp
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Bug6733024_1738666256330.Screen_Recording_2025-02-04_at_1.43.56_in_the_afternoon.mp4

View all open jobs on GitHub

Issue OwnerCurrent Issue Owner: @alexpensify
@IuliiaHerets IuliiaHerets added Bug Something is broken. Auto assigns a BugZero manager. DeployBlockerCash This issue or pull request should block deployment labels Feb 4, 2025
Copy link

melvin-bot bot commented Feb 4, 2025

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

Copy link

melvin-bot bot commented Feb 4, 2025

Triggered auto assignment to @alexpensify (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 Feb 4, 2025

💬 A slack conversation has been started in #expensify-open-source

@melvin-bot melvin-bot bot added the Daily KSv2 label Feb 4, 2025
@github-actions github-actions bot added Engineering Hourly KSv2 and removed Daily KSv2 labels Feb 4, 2025
Copy link
Contributor

github-actions bot commented Feb 4, 2025

👋 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

Not repro on prod

bandicam.2025-02-04.13-57-52-985.mp4

@brunovjk
Copy link
Contributor

brunovjk commented Feb 4, 2025

@kirillzyusko do you know what might be causing this too? I'll look into it in a moment.

@kirillzyusko
Copy link
Contributor

Looking into this 👀

@kirillzyusko
Copy link
Contributor

I think I found a fix - will try to prepare PR tomorrow!

@luacmartins
Copy link
Contributor

Thanks @kirillzyusko! This is a deploy blocker, so we'll try to address it today. Do you know the cause of the issue?

@luacmartins
Copy link
Contributor

luacmartins commented Feb 4, 2025

Demoting it to NAB. @kirillzyusko let's address this tomorrow

@luacmartins luacmartins added Daily KSv2 and removed DeployBlockerCash This issue or pull request should block deployment Hourly KSv2 labels Feb 4, 2025
@kirillzyusko
Copy link
Contributor

Do you know the cause of the issue?

Well, yeah, a new input implementation 😁

And now the algorithm works like:

  • we have an input 123,456
  • let's try to format it to mask, so the value will be 123,45
  • let's apply the mask

My current approach is to create a variations of the mask (affine format) so that 123,456 will be considered as invalid input for mask and such change will be simply ignored.

Thanks for demoting this!

@kirillzyusko
Copy link
Contributor

Okay, the trick with affinity format didn't work, so currently I'm working on another solution.

The new approach will be the validation of a new string before proceeding to "masking" stage. I think tomorrow I can prepare a PR and will ask @brunovjk to test these changes (because he has a lot of knowledge on how to test this component) 👀

Copy link

melvin-bot bot commented Feb 11, 2025

@alexpensify, @luacmartins, @kirillzyusko, @brunovjk Huh... This is 4 days overdue. Who can take care of this?

@melvin-bot melvin-bot bot added the Overdue label Feb 11, 2025
@brunovjk
Copy link
Contributor

Update: Still working on the PR

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Daily KSv2 Overdue labels Feb 12, 2025
@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Feb 20, 2025
@melvin-bot melvin-bot bot changed the title Search - Last digits are cleared when trying to enter a second decimal point (dot) [Due for payment 2025-02-27] Search - Last digits are cleared when trying to enter a second decimal point (dot) Feb 20, 2025
Copy link

melvin-bot bot commented Feb 20, 2025

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

@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Feb 20, 2025
Copy link

melvin-bot bot commented Feb 20, 2025

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

For reference, here are some details about the assignees on this issue:

Copy link

melvin-bot bot commented Feb 20, 2025

@brunovjk @alexpensify @brunovjk The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]

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 Weekly KSv2
Projects
None yet
Development

No branches or pull requests

6 participants