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

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

Closed
2 of 8 tasks
IuliiaHerets opened this issue Feb 4, 2025 · 28 comments
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 External Added to denote the issue can be worked on by a contributor Help Wanted Apply this label when an issue is open to proposals by contributors

Comments

@IuliiaHerets
Copy link

IuliiaHerets commented Feb 4, 2025

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.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): [email protected]
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: @
Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021895250081726909105
  • Upwork Job ID: 1895250081726909105
  • Last Price Increase: 2025-02-27
@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 Weekly KSv2 and removed 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]

@brunovjk
Copy link
Contributor

BugZero Checklist:

  • [Contributor] Classify the bug:
Bug classification

Source of bug:

Where bug was reported:

  • 2a. Reported on production (eg. bug slipped through the normal regression and PR testing process on staging)
  • 2b. Reported on staging (eg. found during regression or PR testing)
  • 2d. Reported on a PR
  • 2z. Other: Coming from: Create amount filter #47343 (comment)

Who reported the bug:

  • 3a. Expensify user
  • 3b. Expensify employee
  • 3c. Contributor
  • 3d. QA
  • 3z. Other:

Regression Test Proposal

Test:

Steps to Test:

  1. Go Reports > click on Filter
  2. In the Greater than/Less than fields:
    • Enter a few digits.
    • Press dot (.) or comma (,) to enter a decimal point.
    • Enter two digits after the decimal point.
  3. Try entering more symbols after the two decimal places:
    • Ensure additional characters do not get entered and are instantly removed.
  4. Move the cursor to the left of the decimal point.
  5. Press dot (.) again and observe the behavior.

Do we agree 👍 or 👎

Copy link

melvin-bot bot commented Feb 27, 2025

Payment Summary

Upwork Job

  • Contributor: @kirillzyusko is from an agency-contributor and not due payment
  • ROLE: @brunovjk paid $(AMOUNT) via Upwork (LINK)

BugZero Checklist (@alexpensify)

  • I have verified the correct assignees and roles are listed above and updated the neccesary manual offers
  • I have verified that there are no duplicate or incorrect contracts on Upwork for this job (https://www.upwork.com/ab/applicants//hired)
  • I have paid out the Upwork contracts or cancelled the ones that are incorrect
  • I have verified the payment summary above is correct

@alexpensify alexpensify added the External Added to denote the issue can be worked on by a contributor label Feb 27, 2025
@melvin-bot melvin-bot bot changed the title [Due for payment 2025-02-27] Search - Last digits are cleared when trying to enter a second decimal point (dot) [$250] [Due for payment 2025-02-27] Search - Last digits are cleared when trying to enter a second decimal point (dot) Feb 27, 2025
Copy link

melvin-bot bot commented Feb 27, 2025

Job added to Upwork: https://www.upwork.com/jobs/~021895250081726909105

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Feb 27, 2025
Copy link

melvin-bot bot commented Feb 27, 2025

Current assignee @brunovjk is eligible for the External assigner, not assigning anyone new.

@alexpensify
Copy link
Contributor

alexpensify commented Feb 27, 2025

Contributor: @kirillzyusko is from an agency-contributor and not due payment
Contributor+: @brunovjk $500 paid via Upwork

@brunovjk
Copy link
Contributor

@alexpensify I think the value is not right. The original issue bounty was $500. Or does this count as a regression @luacmartins ? Thanks.

@luacmartins
Copy link
Contributor

This was a tricky one, I think we can leave the original bounty of $500

@brunovjk
Copy link
Contributor

Thank you @luacmartins.

Job added to Upwork: https://www.upwork.com/jobs/~021895250081726909105

@alexpensify can I accept this offer or do you need to create a new one? Thanks.

@alexpensify
Copy link
Contributor

@brunovjk—Sorry for the confusion. There was no mention in the GH that this bounty should be $500. Thank you, @luacmartins, for confirming. I updated the payment details in Upwork. @brunovjk, please accept when you get a chance. The bounty should be correct now.

@brunovjk
Copy link
Contributor

You're right, I should have mentioned this earlier, but its all good :D I accepted the offer, thanks a lot @alexpensify.

@melvin-bot melvin-bot bot added the Overdue label Mar 3, 2025
@alexpensify
Copy link
Contributor

Done! I've completed the payment process - #56330 (comment)

@brunovjk, there was an issue in Upwork, and I gave the remaining amount that's due via a bonus. The final total was $500.

@melvin-bot melvin-bot bot removed the Overdue label Mar 4, 2025
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 External Added to denote the issue can be worked on by a contributor Help Wanted Apply this label when an issue is open to proposals by contributors
Projects
None yet
Development

No branches or pull requests

6 participants