You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Web - Chat - Scan - Extra padding above the error "Enter an amount" #42209
Version Number: 1.4.74-0 Reproducible in staging?: y Reproducible in production?: n If this was caught during regression testing, add the test name, ID and link from TestRail: 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:
changed the title [-]## Web - Chat - Scan - Extra padding above the error "Enter an amount"[/-][+]Web - Chat - Scan - Extra padding above the error "Enter an amount"[/+]on May 15, 2024
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open Staging deploy checklist to see the list of PRs included in this release, then work quickly on the following:
If you find which PR caused the issue/bug, you can reassign it to the person responsible for it.
If the author is OOO or won’t get online before the daily deploy is due, you are responsible for finding the best fix/path forward. Don’t hesitate to ask for help!
Try to reproduce the issue, if the bug is on production, remove the DeployBlocker label but stay assigned to fix it (or find out which PR broke it to get help from the author).
You can adjust the urgency of the issue to better represent the gravity of the bug.
If the issue is super low priority, feel free to un-assign yourself.
Be careful with PHP warnings, sometimes it is more complex than just adding a null coalescing operator as they might be uncovering some bigger bug.
If it was a one-off issue that requires no action (for example, Bedrock was down or it is a duplicated issue), you can close it.
Remember rule #2: Never un-assign yourself from a real DeployBlocker unless you are 100% sure someone else is assigned and will take care of it.
👋 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:
Identify the pull request that introduced this issue and revert it.
@neonbhai good catch, did you find which PR introduced this bug? I'm also going to mark NAB b/c this is a pretty small spacing bug which shouldn't block deploy
Activity
[-]## Web - Chat - Scan - Extra padding above the error "Enter an amount"[/-][+]Web - Chat - Scan - Extra padding above the error "Enter an amount"[/+]melvin-bot commentedon May 15, 2024
Triggered auto assignment to @puneetlath (
DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.melvin-bot commentedon May 15, 2024
Triggered auto assignment to @miljakljajic (
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.melvin-bot commentedon May 15, 2024
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open Staging deploy checklist to see the list of PRs included in this release, then work quickly on the following:
Remember rule #2: Never un-assign yourself from a real DeployBlocker unless you are 100% sure someone else is assigned and will take care of it.
github-actions commentedon May 15, 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:
neonbhai commentedon May 15, 2024
Proposal
Please re-state the problem that we are trying to solve in this issue.
Extra padding above the error "Enter an amount"
What is the root cause of that problem?
We pass the style
menuItemErrorhere:App/src/components/MenuItem.tsx
Line 688 in 4705d89
Which has the extra
marginTop:App/src/styles/index.ts
Lines 4479 to 4480 in 4705d89
The marginTop adds on to the margin
mt2we set here:App/src/components/FormHelpMessage.tsx
Line 39 in ac2b3a0
What changes do you think we should make in order to solve the problem?
We should set the marginTop to
0This would reset the extra mt2 here
Beamanator commentedon May 16, 2024
@neonbhai good catch, did you find which PR introduced this bug? I'm also going to mark NAB b/c this is a pretty small spacing bug which shouldn't block deploy
neonbhai commentedon May 16, 2024
@Beamanator hi, this seems to be related to the work we did in #41670
Beamanator commentedon May 16, 2024
Good find @neonbhai ! I think I found where exactly, noted here: https://github.com/Expensify/App/pull/41670/files#r1602998785
narefyev91 commentedon May 16, 2024
@neonbhai @Beamanator that's a new UI change - and it's correct padding. Please check this one #41670 (comment)
cc @shawnborton
shawnborton commentedon May 16, 2024
Correct, just going to close this out then!
shawnborton commentedon May 16, 2024
@Beamanator in the future, please tag the design team to help confirm if these things are bugs or not - thanks!
Beamanator commentedon May 16, 2024
Thanks for pointing that out @narefyev91 ! 👍 And good shout @shawnborton 😅