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

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

Closed
3 of 6 tasks
izarutskaya opened this issue Apr 8, 2024 · 11 comments
Closed
3 of 6 tasks
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Engineering

Comments

@izarutskaya
Copy link

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: 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

@izarutskaya izarutskaya added DeployBlockerCash This issue or pull request should block deployment Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Apr 8, 2024
Copy link

melvin-bot bot commented Apr 8, 2024

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

Copy link

melvin-bot bot commented Apr 8, 2024

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

@github-actions github-actions bot added Engineering Hourly KSv2 and removed Daily KSv2 labels Apr 8, 2024
Copy link
Contributor

github-actions bot commented Apr 8, 2024

👋 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.

@izarutskaya
Copy link
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.

@izarutskaya
Copy link
Author

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

@Julesssss Julesssss added Daily KSv2 and removed DeployBlockerCash This issue or pull request should block deployment Hourly KSv2 labels Apr 8, 2024
@Julesssss
Copy link
Contributor

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

@nkdengineer
Copy link
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

@nkdengineer
Copy link
Contributor

nkdengineer commented Apr 8, 2024

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

@Julesssss
Copy link
Contributor

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

@MonilBhavsar
Copy link
Contributor

Dupe of #39615

@techievivek
Copy link
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
Labels
Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Engineering
Projects
None yet
Development

No branches or pull requests

6 participants