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-12] [$125] Web - Search - Filters - Extra margin below Save button in Category filter #47046

Closed
5 of 6 tasks
IuliiaHerets opened this issue Aug 8, 2024 · 49 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Engineering External Added to denote the issue can be worked on by a contributor Weekly KSv2

Comments

@IuliiaHerets
Copy link

IuliiaHerets commented Aug 8, 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: v9.0.18-1
Reproducible in staging?: Y
Reproducible in production?: N
Email or phone of affected tester (no customers): applausetester+kh050806@applause.expensifail.com

Action Performed:

  1. Go to staging.new.expensify.com/search/filters
  2. Click Category.

Expected Result:

There will be no extra margin below the Save button (production behavior).

Actual Result:

There is extra margin below the Save button.

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

Bug6565196_1723085486947.20240808_104712.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~012f06d1723cda4320
  • Upwork Job ID: 1821488943174214137
  • Last Price Increase: 2024-08-08
  • Automatic offers:
    • dominictb | Contributor | 103505005
Issue OwnerCurrent Issue Owner: @isabelastisser
@IuliiaHerets IuliiaHerets 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 Aug 8, 2024
Copy link

melvin-bot bot commented Aug 8, 2024

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

Copy link

melvin-bot bot commented Aug 8, 2024

Triggered auto assignment to @isabelastisser (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 Aug 8, 2024
Copy link
Contributor

github-actions bot commented Aug 8, 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:

  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.

@IuliiaHerets
Copy link
Author

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

@Krishna2323
Copy link
Contributor

Proposal

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

Web - Search - Filters - Extra margin below Save button in Category filter

What is the root cause of that problem?

Extra padding bottom is applied. When we pass footer component them it is wrapped with FixedFooter which already applies the margin for the footerContent.

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

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

Remove styles.pb5.

We should also remove includeSafeAreaPaddingBottom={false} if needed, the default is true so we can remove that.

includeSafeAreaPaddingBottom={false}

What alternative solutions did you explore? (Optional)

We can use the confirm button in SelectionList and the we can remove footer content from SearchFiltersCategoryPage.

{showConfirmButton && (
<FixedFooter style={[styles.mtAuto]}>
<Button
success
large
style={[styles.w100]}
text={confirmButtonText || translate('common.confirm')}
onPress={onConfirm}
pressOnEnter
enterKeyEventListenerPriority={1}
/>
</FixedFooter>
)}

We need to pass the following props:

                        showConfirmButton
                        confirmButtonText={translate('common.save')}
                        onConfirm={handleConfirmSelection}

@cristipaval cristipaval added Daily KSv2 and removed DeployBlockerCash This issue or pull request should block deployment DeployBlocker Indicates it should block deploying the API Hourly KSv2 labels Aug 8, 2024
@cristipaval
Copy link
Contributor

Definitely a NAB. Demoting.

@cristipaval
Copy link
Contributor

I'm also making it a $125 issue given the low complexity of the issue.

@cristipaval cristipaval added the External Added to denote the issue can be worked on by a contributor label Aug 8, 2024
Copy link

melvin-bot bot commented Aug 8, 2024

Job added to Upwork: https://www.upwork.com/jobs/~012f06d1723cda4320

@melvin-bot melvin-bot bot changed the title Web - Search - Filters - Extra margin below Save button in Category filter [$250] Web - Search - Filters - Extra margin below Save button in Category filter Aug 8, 2024
@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Aug 8, 2024
Copy link

melvin-bot bot commented Aug 8, 2024

Triggered auto assignment to Contributor-plus team member for initial proposal review - @allroundexperts (External)

@cristipaval cristipaval changed the title [$250] Web - Search - Filters - Extra margin below Save button in Category filter [$125] Web - Search - Filters - Extra margin below Save button in Category filter Aug 8, 2024
Copy link

melvin-bot bot commented Aug 8, 2024

Upwork job price has been updated to $125

@dominictb
Copy link
Contributor

Proposal

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

There is extra margin below the Save button.

What is the root cause of that problem?

We add pd5 to add more space in IOS device in PR, but does not consider that we do not need to add it in other platform:

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

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

We can get:

    const safePaddingBottomStyle = useSafePaddingBottomStyle();

and use it instead of styles.pb5

@melvin-bot melvin-bot bot added Monthly KSv2 and removed Weekly KSv2 labels Oct 30, 2024
Copy link

melvin-bot bot commented Oct 30, 2024

This issue has not been updated in over 15 days. @cristipaval, @allroundexperts, @isabelastisser, @dominictb eroding to Monthly issue.

P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do!

@isabelastisser
Copy link
Contributor

isabelastisser commented Nov 22, 2024

I totally missed the notification, I'm sorry! @allroundexperts @BhuvaneshPatil

Is this still a bug? If yes, I will create a new issue. Thanks!

cc @cristipaval

@isabelastisser isabelastisser added Daily KSv2 and removed Monthly KSv2 labels Nov 22, 2024
@cristipaval
Copy link
Contributor

Thanks, @isabelastisser, for the bump. This issue has been fixed. Closing.

@BhuvaneshPatil
Copy link
Contributor

@isabelastisser In this comment we decided to create a new issue for another bug.

@cristipaval
Copy link
Contributor

@isabelastisser In this comment we decided to create a new issue for another bug.

true, but that other bug is not reproducible anymore.

@BhuvaneshPatil
Copy link
Contributor

Other bug is about not having top padding. On latest main we have no padding
Screenshot 2024-11-25 at 5 05 13 PM

@cristipaval
Copy link
Contributor

Opened a PR to fix the above issue. @allroundexperts, assigned you as the C+ to test it.

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Dec 5, 2024
@melvin-bot melvin-bot bot changed the title [$125] Web - Search - Filters - Extra margin below Save button in Category filter [HOLD for payment 2024-12-12] [$125] Web - Search - Filters - Extra margin below Save button in Category filter Dec 5, 2024
Copy link

melvin-bot bot commented Dec 5, 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 Dec 5, 2024
Copy link

melvin-bot bot commented Dec 5, 2024

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

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

Copy link

melvin-bot bot commented Dec 5, 2024

@allroundexperts / @dominictb @isabelastisser @allroundexperts / @dominictb 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]

@dominictb
Copy link
Contributor

@isabelastisser Payments haven't been made here, can you help reopen the issue? TIA

@isabelastisser
Copy link
Contributor

Payment summary:

@dominictb: contributor, $125. Paid in Upwork.
@allroundexperts: C+ review, $125. Payment PENDING in NewDot.

@isabelastisser
Copy link
Contributor

@allroundexperts, did you already request payment for this issue in ND?

@allroundexperts
Copy link
Contributor

@isabelastisser I have noted this one down. Please feel free to close.

@isabelastisser
Copy link
Contributor

Thanks! All set.

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 External Added to denote the issue can be worked on by a contributor Weekly KSv2
Projects
None yet
Development

No branches or pull requests

8 participants