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

[HOLD for payment 2024-12-07] [HOLD for payment 2024-12-05] [$500] Web - Expense - Submit button on confirmation page has extra bottom margin #53161

Closed
2 of 8 tasks
IuliiaHerets opened this issue Nov 26, 2024 · 29 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Engineering Reviewing Has a PR in review Weekly KSv2

Comments

@IuliiaHerets
Copy link

IuliiaHerets commented Nov 26, 2024

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: 9.0.67-0
Reproducible in staging?: Y
Reproducible in production?: N
Email or phone of affected tester (no customers): [email protected]
Issue reported by: Applause Internal Team

Action Performed:

  1. Go to staging.new.expensify.com
  2. Go to workspace chat.
  3. Go to + > Submit expense > Next.
  4. Enter amount > Next.

Expected Result:

Submit button will not have extra bottom margin (production behavior).

Actual Result:

Submit button has extra bottom margin.

Workaround:

Unknown

Platforms:

  • Android: Standalone
  • Android: HybridApp
  • Android: mWeb Chrome
  • iOS: Standalone
  • iOS: HybridApp
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Bug6677289_1732647525932.20241127_024755.mp4

View all open jobs on GitHub

Issue OwnerCurrent Issue Owner: @twisterdotcom
@IuliiaHerets IuliiaHerets added DeployBlockerCash This issue or pull request should block deployment Bug Something is broken. Auto assigns a BugZero manager. labels Nov 26, 2024
Copy link

melvin-bot bot commented Nov 26, 2024

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

Copy link

melvin-bot bot commented Nov 26, 2024

Triggered auto assignment to @twisterdotcom (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 Nov 26, 2024

💬 A slack conversation has been started in #expensify-open-source

@melvin-bot melvin-bot bot added the Daily KSv2 label Nov 26, 2024
@github-actions github-actions bot added Engineering Hourly KSv2 and removed Daily KSv2 labels Nov 26, 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.

@daledah
Copy link
Contributor

daledah commented Nov 26, 2024

Edited by proposal-police: This proposal was edited at 2024-11-26 19:15:53 UTC.

Proposal

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

Submit button has extra bottom margin.

What is the root cause of that problem?

Offending PR: #52392

We have extra styles.mb6 here

<View style={[styles.flex1, styles.mb6]}>

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

We should remove styles.mb6 in this style

What alternative solutions did you explore? (Optional)

Or we can revert to use safeAreaPaddingBottomStyle from ScreenWrapper

@mountiny
Copy link
Contributor

cc @kirillzyusko

@mountiny
Copy link
Contributor

I think the margin was added to make sure the button is correctly added on android native so we need to make sure it looks fine there too

@mountiny
Copy link
Contributor

Also noting that this does not have to be a blocker, but lets look into trying to fix this while not breaking the native android

I think we should assign @kirillzyusko to look into this as the PR author

@mountiny mountiny self-assigned this Nov 26, 2024
@chiragsalian
Copy link
Contributor

chiragsalian commented Nov 26, 2024

Also noting that this does not have to be a blocker, but lets look into trying to fix this while not breaking the native android
I think we should assign @kirillzyusko to look into this as the PR author

I agree with both points.
But can't assign to him just cause he hasn't commented on this issue yet. Hopefully he sees it soon. If not we can just remove the blocker label since its not a significant blocker imo.

@kirillzyusko
Copy link
Contributor

Hey, feel free to assign me 👋

@chiragsalian
Copy link
Contributor

Done 🙂

@kirillzyusko
Copy link
Contributor

We should remove styles.mb6 in this style

On iOS in this case the button will be very close to the bottom of safe area.

Or we can revert to use safeAreaPaddingBottomStyle from ScreenWrapper

On Android with 3 button navigation bar the button will be moved to high from nav bar.

So both proposals will introduce issues on different platforms.

@kirillzyusko
Copy link
Contributor

@MariaHCD yes, I think so. Probably all these issues are coming from the fact that edge-to-edge mode has been enabled and because of that some screens may have an incorrect padding or the wrong distance between button and keyboard.

Copy link

melvin-bot bot commented Nov 27, 2024

⚠️ Looks like this issue was linked to a Deploy Blocker here

If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results.

If a regression has occurred and you are the assigned CM follow the instructions here.

If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future.

Copy link

melvin-bot bot commented Nov 27, 2024

⚠️ Looks like this issue was linked to a Deploy Blocker here

If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results.

If a regression has occurred and you are the assigned CM follow the instructions here.

If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future.

@melvin-bot melvin-bot bot added the Weekly KSv2 label Nov 27, 2024
@mountiny
Copy link
Contributor

image fixed

@mountiny mountiny removed the DeployBlockerCash This issue or pull request should block deployment label Nov 28, 2024
@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Nov 28, 2024
@melvin-bot melvin-bot bot changed the title Web - Expense - Submit button on confirmation page has extra bottom margin [HOLD for payment 2024-12-05] Web - Expense - Submit button on confirmation page has extra bottom margin Nov 28, 2024
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Nov 28, 2024
Copy link

melvin-bot bot commented Nov 28, 2024

Reviewing label has been removed, please complete the "BugZero Checklist".

Copy link

melvin-bot bot commented Nov 28, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.67-9 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 2024-12-05. 🎊

For reference, here are some details about the assignees on this issue:

Copy link

melvin-bot bot commented Nov 28, 2024

@chiragsalian / @mountiny @twisterdotcom @chrispader / @kirillzyusko 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]

@mountiny
Copy link
Contributor

mountiny commented Nov 29, 2024

$500 to @allroundexperts for their review on 2 PRs (#53223 & #53250)

No regression test needed as it was a challenging new feature flag for android and these small styling issues are temporary

@melvin-bot melvin-bot bot added Weekly KSv2 and removed Weekly KSv2 labels Nov 30, 2024
@melvin-bot melvin-bot bot changed the title [HOLD for payment 2024-12-05] Web - Expense - Submit button on confirmation page has extra bottom margin [HOLD for payment 2024-12-07] [HOLD for payment 2024-12-05] Web - Expense - Submit button on confirmation page has extra bottom margin Nov 30, 2024
Copy link

melvin-bot bot commented Nov 30, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.68-7 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 2024-12-07. 🎊

For reference, here are some details about the assignees on this issue:

Copy link

melvin-bot bot commented Nov 30, 2024

@allroundexperts @twisterdotcom @allroundexperts 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]

@allroundexperts
Copy link
Contributor

@mountiny I reviewed two PRs (#53223 & #53250) here. Can you please update the payment summary? 🙇

@mountiny
Copy link
Contributor

mountiny commented Dec 3, 2024

Updated

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Dec 5, 2024
@twisterdotcom twisterdotcom changed the title [HOLD for payment 2024-12-07] [HOLD for payment 2024-12-05] Web - Expense - Submit button on confirmation page has extra bottom margin [HOLD for payment 2024-12-07] [HOLD for payment 2024-12-05] [$500] Web - Expense - Submit button on confirmation page has extra bottom margin Dec 7, 2024
Copy link

melvin-bot bot commented Dec 7, 2024

⚠️ Could not update price automatically because there is no linked Upwork Job ID. The BZ team member will need to update the price manually in Upwork.

@twisterdotcom
Copy link
Contributor

Payment Summary:

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Daily KSv2 labels Jan 10, 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. Engineering Reviewing Has a PR in review Weekly KSv2
Projects
None yet
Development

No branches or pull requests

9 participants