Skip to content

Tax and tax amount are updated little bit delayed in transaction thread page. #39804

Description

@izarutskaya

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: 1.4.60-13
Reproducible in staging?: Y
Reproducible in production?: Unable to check
Found when executing PR : #39638
Logs: https://stackoverflow.com/c/expensify/questions/4856
Issue reported by: Applause-Internal team

Action Performed:

Precondition:
User is an employee of Collect workspace that has taxes.Set few tax rates 5%, 10%,0% etc

  1. Go to https://staging.new.expensify.com/
  2. Go to workspace chat.
  3. Create a manual request with tax that is not 0%.
    4.Quickly go to transaction thread

Expected Result:

Tax and tax amount must be updated without delay in transaction thread page.

Actual Result:

Tax and tax amount are updated in a little bit delayed way in transaction thread page.

Workaround:

Unknown

Platforms:

Which of our officially supported platforms is this issue occurring on?

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

Screenshots/Videos

Bug6440019_1712389315629.poooo.mp4

View all open jobs on GitHub

Activity

  1. added
    DeployBlockerCashThis issue or pull request should block deployment
    BugSomething is broken. Auto assigns a BugZero manager.
    on Apr 8, 2024
  2. melvin-bot commented on Apr 8, 2024

    @melvin-bot

    Triggered auto assignment to @laurenreidexpensify (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

  3. melvin-bot commented on Apr 8, 2024

    @melvin-bot

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

  4. github-actions commented on Apr 8, 2024

    @github-actions
    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.
  5. izarutskaya commented on Apr 8, 2024

    @izarutskaya
    Author

    @laurenreidexpensify I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors.

  6. izarutskaya commented on Apr 8, 2024

    @izarutskaya
    Author

    We think this issue might be related to the #collect project.

  7. added and removed
    DeployBlockerCashThis issue or pull request should block deployment
    on Apr 8, 2024
  8. Julesssss commented on Apr 8, 2024

    @Julesssss
    Contributor

    Not ideal, but this doesn't need to be a deploy blocker. Checked it off

  9. nkdengineer commented on Apr 8, 2024

    @nkdengineer
    Contributor

    Proposal

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

    Tax and tax amount are updated in a little bit delayed way in transaction thread page.

    What is the root cause of that problem?

    We don't pass the taxCode and taxAmount to getMoneyRequestInformation function to build the optimistic transaction so tax and taxAmount are only displayed when the RequestMoney API is complete

    function requestMoney(

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

    We should accept passing taxCode and taxAmount into getMoneyRequestInformation function and use it to build the optimistic transaction. So the tax and taxAmount can be displayed immediately when the request is created.

    What alternative solutions did you explore? (Optional)

    NA

  10. nkdengineer commented on Apr 8, 2024

    @nkdengineer
    Contributor

    @Julesssss What do you think about my proposal? I can raise the PR to fix this issue ASAP if my proposal is selected.

  11. Julesssss commented on Apr 8, 2024

    @Julesssss
    Contributor

    @laurenreidexpensify and @techievivek will perform initial triage before we open it up for contributors, but that shouldn't take long 👍

  12. MonilBhavsar commented on Apr 8, 2024

    @MonilBhavsar
    Contributor

    Dupe of #39615

  13. techievivek commented on Apr 8, 2024

    @techievivek
    Contributor

    Great, going to close it out then, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

BugSomething is broken. Auto assigns a BugZero manager.DailyKSv2Engineering

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions