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

IOU - Billable no longer valid violation is not displayed under the field #36481

Closed
3 of 6 tasks
kbecciv opened this issue Feb 14, 2024 · 19 comments
Closed
3 of 6 tasks
Assignees
Labels
Engineering Reviewing Has a PR in review Weekly KSv2

Comments

@kbecciv
Copy link

kbecciv commented Feb 14, 2024

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: v1.4.41-2
Reproducible in staging?: y
Reproducible in production?: n
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/4312606
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:

Action Performed:

Pre-requisite: as an employee of a workspace, create an expense with Billable option toggled on.

  1. As the admin of the workspace on OD, set "Re-bill expenses to clients" to Disabled.
  2. As the employee on ND, go to the details page of the created expense.

Expected Result:

Billable no longer valid violation should be displayed under the field.

Actual Result:

Billable no longer valid violation is displayed on the right side and the toggle button is moved to the middle.

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

Add any screenshot/video evidence

image

View all open jobs on GitHub

@kbecciv kbecciv added the DeployBlockerCash This issue or pull request should block deployment label Feb 14, 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.

Copy link

melvin-bot bot commented Feb 14, 2024

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

@kbecciv
Copy link
Author

kbecciv commented Feb 14, 2024

We think that this bug might be related #wave6-collect-submitters
CC @greg-schroeder

@neonbhai
Copy link
Contributor

neonbhai commented Feb 14, 2024

Proposal

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

Billable no longer valid violation is not displayed under the field

What is the root cause of that problem?

We are displaying the violation incorrectly. It should be after this View

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

We should move ViolationMessage after this View

@pecanoro
Copy link
Contributor

@kbecciv On production, does it show under the button or it doesn't show at all?

@amyevans
Copy link
Contributor

@cead22 @trevor-coleman is this an expected change?

@trevor-coleman
Copy link
Contributor

No it should be underneath. Moving it outside that view should fix it.

@amyevans
Copy link
Contributor

@trevor-coleman Got it, thanks! could you open a PR to fix please?

@neonbhai
Copy link
Contributor

Would love to raise the PR if needed!

@pecanoro
Copy link
Contributor

I need to check if this a regression for a PR or it was introduced by a new feature

@amyevans
Copy link
Contributor

@pecanoro it's from #34303

@pecanoro
Copy link
Contributor

@amyevans Thank you! So it was a regression from that PR. As she mentioned, @trevor-coleman can you fix it since it was your PR or should we find a volunteer?

@trevor-coleman
Copy link
Contributor

I've got a fix done just making a PR now--the screenshots will take some time.

@pecanoro
Copy link
Contributor

@trevor-coleman Cool, thank you so much!

@trevor-coleman
Copy link
Contributor

Because of the difference between web and native, just moving the messages below wasn't working, so I ended up leaving the violation messages where they are adding override props to the container and text styles that let me put them where they needed to be.

Android:
CleanShot 2024-02-14 at 13 24 30@2x

Web:
CleanShot 2024-02-14 at 13 24 51@2x

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Hourly KSv2 labels Feb 14, 2024
@trevor-coleman
Copy link
Contributor

trevor-coleman commented Feb 14, 2024

PR is up: #36533

@pecanoro
Copy link
Contributor

Either way, since it's just visual and it does not break things completely, I am going to remove the deploy blocker and we can merge it tomorrow. @cead22 Do you agree?

@aimane-chnaif
Copy link
Contributor

violations is still in beta so not deploy blocker

@pecanoro pecanoro removed the DeployBlockerCash This issue or pull request should block deployment label Feb 14, 2024
@pecanoro
Copy link
Contributor

Issue for payment created, gonna closed this one

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Engineering Reviewing Has a PR in review Weekly KSv2
Projects
None yet
Development

No branches or pull requests

6 participants