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-07-10] [PAID] Android & iOS - Distance - Icon in the center button is off-centered #44074

Closed
2 of 6 tasks
m-natarajan opened this issue Jun 20, 2024 · 23 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Engineering Weekly KSv2

Comments

@m-natarajan
Copy link

m-natarajan commented Jun 20, 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: 1.4.86-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: N/A
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:

  1. Launch New Expensify app.
  2. Go to FAB > Submit expense > Distance.

Expected Result:

The icon in the center button will be centered.

Actual Result:

The icon in the center button is off-centered.

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

Bug6519287_1718879892057!IMG_B050280F63D0-1

View all open jobs on GitHub

Issue OwnerCurrent Issue Owner: @strepanier03
@m-natarajan m-natarajan added DeployBlockerCash This issue or pull request should block deployment Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. DeployBlocker Indicates it should block deploying the API labels Jun 20, 2024
Copy link

melvin-bot bot commented Jun 20, 2024

Triggered auto assignment to @strepanier03 (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 Jun 20, 2024

Triggered auto assignment to @mountiny (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 Jun 20, 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 Jun 20, 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.

@m-natarajan
Copy link
Author

@mountiny FYI 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

@m-natarajan
Copy link
Author

We think that this bug might be related to #wave-collect - Release 1

@neonbhai
Copy link
Contributor

Proposal

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

Android & iOS - Distance - Icon in the center button is off-centered

What is the root cause of that problem?

We have an extra margin applied to the icon here

<Button
onPress={centerMap}
iconFill={theme.icon}
medium
icon={Expensicons.Crosshair}
accessibilityLabel={translate('common.center')}
/>

which isn't compensated for in this centered icon here:

<View style={[large ? styles.mr2 : styles.mr1, !text && styles.mr0, iconStyles]}>

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

We will pass styles.ml1 as iconStyles here:

iconStyles={styles.ml1}

@mountiny mountiny removed the DeployBlocker Indicates it should block deploying the API label Jun 20, 2024
@mountiny
Copy link
Contributor

I think this is coming from #43452 @truph01

@truph01
Copy link
Contributor

truph01 commented Jun 20, 2024

@mountiny Sure. I am checking it

@mountiny
Copy link
Contributor

for now I have created a draft with the suggestion from @neonbhai going to test it on the adhoc build #44117

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Hourly KSv2 Weekly KSv2 labels Jun 20, 2024
@melvin-bot melvin-bot bot changed the title Android & iOS - Distance - Icon in the center button is off-centered [HOLD for payment 2024-06-28] Android & iOS - Distance - Icon in the center button is off-centered Jun 21, 2024
Copy link

melvin-bot bot commented Jun 21, 2024

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

@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Jun 21, 2024
Copy link

melvin-bot bot commented Jun 21, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.0-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-06-28. 🎊

Copy link

melvin-bot bot commented Jun 21, 2024

BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:

  • [@mountiny] The PR that introduced the bug has been identified. Link to the PR:
  • [@mountiny] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment:
  • [@mountiny] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion:
  • [@mountiny] Determine if we should create a regression test for this bug.
  • [@mountiny] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
  • [@strepanier03] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:

@mountiny mountiny removed the DeployBlockerCash This issue or pull request should block deployment label Jun 24, 2024
@mountiny
Copy link
Contributor

$50 to @neonbhai for providing the solution

@melvin-bot melvin-bot bot added Weekly KSv2 and removed Weekly KSv2 labels Jun 25, 2024
@melvin-bot melvin-bot bot changed the title [HOLD for payment 2024-06-28] Android & iOS - Distance - Icon in the center button is off-centered [HOLD for payment 2024-07-02] [HOLD for payment 2024-06-28] Android & iOS - Distance - Icon in the center button is off-centered Jun 25, 2024
Copy link

melvin-bot bot commented Jun 25, 2024

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

Copy link

melvin-bot bot commented Jun 25, 2024

BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:

  • [@mountiny] The PR that introduced the bug has been identified. Link to the PR:
  • [@mountiny] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment:
  • [@mountiny] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion:
  • [@mountiny] Determine if we should create a regression test for this bug.
  • [@mountiny] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
  • [@strepanier03] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:

@melvin-bot melvin-bot bot added Daily KSv2 Overdue and removed Weekly KSv2 labels Jun 28, 2024
Copy link

melvin-bot bot commented Jul 1, 2024

@strepanier03, @mountiny Whoops! This issue is 2 days overdue. Let's get this updated quick!

@neonbhai
Copy link
Contributor

neonbhai commented Jul 1, 2024

@strepanier03 bump to finish payment here according to #44074 (comment) and close the issue!

Copy link

melvin-bot bot commented Jul 2, 2024

Skipping the payment summary for this issue since all the assignees are employees or vendors. If this is incorrect, please manually add the payment summary SO.

@strepanier03
Copy link
Contributor

strepanier03 commented Jul 2, 2024

Payment Summary

@melvin-bot melvin-bot bot removed the Overdue label Jul 2, 2024
@neonbhai
Copy link
Contributor

neonbhai commented Jul 2, 2024

Thank you @strepanier03. Accepted the offer!

@strepanier03 strepanier03 changed the title [HOLD for payment 2024-07-02] [HOLD for payment 2024-06-28] Android & iOS - Distance - Icon in the center button is off-centered [PAID] [HOLD for payment 2024-06-28] Android & iOS - Distance - Icon in the center button is off-centered Jul 2, 2024
@strepanier03 strepanier03 changed the title [PAID] [HOLD for payment 2024-06-28] Android & iOS - Distance - Icon in the center button is off-centered [PAID] Android & iOS - Distance - Icon in the center button is off-centered Jul 2, 2024
@melvin-bot melvin-bot bot added Weekly KSv2 and removed Daily KSv2 labels Jul 3, 2024
@melvin-bot melvin-bot bot changed the title [PAID] Android & iOS - Distance - Icon in the center button is off-centered [HOLD for payment 2024-07-10] [PAID] Android & iOS - Distance - Icon in the center button is off-centered Jul 3, 2024
Copy link

melvin-bot bot commented Jul 3, 2024

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

Copy link

melvin-bot bot commented Jul 3, 2024

BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:

  • [@mountiny] The PR that introduced the bug has been identified. Link to the PR:
  • [@mountiny] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment:
  • [@mountiny] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion:
  • [@mountiny] Determine if we should create a regression test for this bug.
  • [@mountiny] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
  • [@strepanier03] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:

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 Weekly KSv2
Projects
None yet
Development

No branches or pull requests

5 participants