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-08-02] Dupe detection - Confirm button is below the content instead of page bottom #45831

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

Comments

@m-natarajan
Copy link

m-natarajan commented Jul 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!


Issue found when validating #42571
Version Number: 9.0.10-2
Reproducible in staging?: y
Reproducible in production?: new feature
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:

Action Performed:

Preconditon:

  • Device font size may need to be reduced.
  1. Launch New Expensify app.
  2. Go to workspace chat.
  3. Submit two same expenses (same amount and merchant).
  4. Go to transaction thread of any expense.
  5. Tap Review duplicates.
  6. Tap Keep this one (any).
  7. Proceed to confirmation page.

Expected Result:

Confirm button will be docked to the bottom.

Actual Result:

Confirm button is below the content.

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

Bug6547713_1721437274135.Screen_Recording_20240720_085209_New_Expensify.mp4

View all open jobs on GitHub

Issue OwnerCurrent Issue Owner: @sonialiap
@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 Jul 20, 2024
Copy link

melvin-bot bot commented Jul 20, 2024

Triggered auto assignment to @sonialiap (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.

@github-actions github-actions bot added Engineering Hourly KSv2 and removed Daily KSv2 labels Jul 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.

@melvin-bot melvin-bot bot added the Daily KSv2 label Jul 20, 2024
@melvin-bot melvin-bot bot removed the Hourly KSv2 label Jul 20, 2024
Copy link

melvin-bot bot commented Jul 20, 2024

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

@Krishna2323
Copy link
Contributor

This can be handled here. Posting my proposal from there incase we decide to fix this separately.

Proposal

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

Dupe detection - Green Confirm button is shorter in width

What is the root cause of that problem?

There are two issues here.:

  1. Confirmation width/height is shorter.
  1. Confirmation button isn't at the bottom
  • ScrollView content container doesn't take full available height.
  • We have applied styles.mt2 instead of styles.auto to Button element.

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

  • We should add large prop to Button element.
  • We need to pass contentContainerStyle={styles.flex1} to ScrollView.
  • Replace styles.mt2 with styles.auto on Button element.

What alternative solutions did you explore? (Optional)

  • We can remove style={styles.mb3} from ScrollView and add contentContainerStyle={styles.flex1}.
  • Wrap Button with FixedFooter and apply style={[styles.mtAuto]} to `FixedFooter.
  • Remove style prop from Button or only keep margin top if required.

Result

Before fix

Monosnap (185) New Expensify 2024-07-20 09-38-58

After fix

Monosnap (185) New Expensify 2024-07-20 09-38-36

@mountiny
Copy link
Contributor

@parasharrajat
Copy link
Member

I thought that is by design 😄

@mountiny
Copy link
Contributor

Lets get that confirmed, I can see the reasoning but its against our patterns in the app

@mountiny
Copy link
Contributor

Asked here

@mountiny mountiny removed DeployBlocker Indicates it should block deploying the API DeployBlockerCash This issue or pull request should block deployment labels Jul 20, 2024
@mountiny
Copy link
Contributor

Discussed in Slack this is not a blocker as the feature is behind beta.

We should however dock this to the bottom @kubabutkiewicz @parasharrajat

@kubabutkiewicz
Copy link
Contributor

Hi, I will create PR to fix that issue soon @mountiny @parasharrajat @pecanoro

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Daily KSv2 labels Jul 22, 2024
@pecanoro
Copy link
Contributor

@grgia I am reassigning the issue to myself so I can review and track the fixes since this is for the duplicate detection project that I am handling.

@pecanoro pecanoro assigned pecanoro and unassigned grgia Jul 22, 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 Jul 26, 2024
@melvin-bot melvin-bot bot changed the title Dupe detection - Confirm button is below the content instead of page bottom [HOLD for payment 2024-08-02] Dupe detection - Confirm button is below the content instead of page bottom Jul 26, 2024
Copy link

melvin-bot bot commented Jul 26, 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 Jul 26, 2024
Copy link

melvin-bot bot commented Jul 26, 2024

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

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

Copy link

melvin-bot bot commented Jul 26, 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:

  • [@parasharrajat] The PR that introduced the bug has been identified. Link to the PR:
  • [@parasharrajat] 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:
  • [@parasharrajat] 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:
  • [@parasharrajat] Determine if we should create a regression test for this bug.
  • [@parasharrajat] 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.
  • [@sonialiap] 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 Aug 1, 2024
@sonialiap
Copy link
Contributor

@pecanoro @parasharrajat looks like payment will be handled here, is that correct?

@melvin-bot melvin-bot bot removed the Overdue label Aug 2, 2024
@parasharrajat
Copy link
Member

Yes, let's close it.

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. Daily KSv2 Engineering
Projects
Status: Done
Development

No branches or pull requests

8 participants