Open IuliiaHerets opened 3 months ago
Triggered auto assignment to @cristipaval (DeployBlockerCash
), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.
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.
:wave: 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:
We think that this bug might be related to #wave-collect - Release 1
Web - Search - Filters - Extra margin below Save button in Category filter
Extra padding bottom is applied. When we pass footer component them it is wrapped with FixedFooter
which already applies the margin for the footerContent.
Remove styles.pb5
.
We should also remove includeSafeAreaPaddingBottom={false}
if needed, the default is true so we can remove that.
https://github.com/Expensify/App/blob/53eee53ac8bfbdfd4d8eeaf16940e3b165483373/src/pages/Search/SearchFiltersCategoryPage.tsx#L129
We can use the confirm button in SelectionList
and the we can remove footer content from SearchFiltersCategoryPage
.
We need to pass the following props:
showConfirmButton
confirmButtonText={translate('common.save')}
onConfirm={handleConfirmSelection}
Definitely a NAB. Demoting.
I'm also making it a $125 issue given the low complexity of the issue.
Job added to Upwork: https://www.upwork.com/jobs/~012f06d1723cda4320
Triggered auto assignment to Contributor-plus team member for initial proposal review - @allroundexperts (External
)
Upwork job price has been updated to $125
There is extra margin below the Save button.
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:
https://github.com/Expensify/App/blob/53eee53ac8bfbdfd4d8eeaf16940e3b165483373/src/pages/Search/SearchFiltersCategoryPage.tsx#L138
We can get:
const safePaddingBottomStyle = useSafePaddingBottomStyle();
and use it instead of styles.pb5
Web - Search - Filters - Extra margin below Save button in Category filter
There is one more bug on same page - Save button doesn't have top padding while we give padding on other pages.
For original issue - Extra bottom padding
That is being added with pb5
https://github.com/Expensify/App/blob/cc4626f393daf4171a0bccc190be39132ac021ea/src/pages/Search/SearchFiltersCategoryPage.tsx#L138
For issue related to top padding -> we don't apply top padding to button
We can change pb5
of styles with result of useSafePaddingBottomStyle()
.
PS - I tried removing it and it worked but as mentioned in other proposal this is for IOS devices.
For adding top padding -
apply pt5
(can be different as well, based on internal engineer opinion) style to button.
Result -
Contributor details Your Expensify account email: mohammed.ehap.zean@gmail.com Upwork Profile Link: https://www.upwork.com/freelancers/mohammede132?mp_source=share
📣 @Mohammed-Ehap-Ali-Zean-Al-Abdin! 📣 Hey, it seems we don’t have your contributor details yet! You'll only have to do this once, and this is how we'll hire you on Upwork. Please follow these steps:
Contributor details
Your Expensify account email: <REPLACE EMAIL HERE>
Upwork Profile Link: <REPLACE LINK HERE>
Hey @allroundexperts, can you please review the proposals above? Thanks!
Thanks for the proposals everyone. I think @dominictb's proposal has the correct RCA and the fix makes sense as well. Let's go with them.
@BhuvaneshPatil You're trying to solve another bug here which isn't related to this issue. However, given the simplicity of this, I think we can merge the both into a single bug and pay $125 each to @BhuvaneshPatil and @dominictb. @cristipaval Let me know what you think.
🎀 👀 🎀 C+ reviewed
Current assignee @cristipaval is eligible for the choreEngineerContributorManagement assigner, not assigning anyone new.
@allroundexperts, what do you think about my alternative solution? FixedFooter
is already covering the case padding bottom case and we don't need to create the footerContent
since it can be created using the props.
@Krishna2323 I'd much rather go with a more simpler solution 😄
@allroundexperts, I believe we can simply remove the padding top because the footerContent
is already wrapped in FixedFooter
and fixed footer already covers the padding for devices with no padding bottom. Please give me few moments and I will confirm.
@allroundexperts, the padding bottom is already covered in FixedFooter
. We don't need to add extra padding bottom.
New chat page | Category selector after removing padding bottom from view |
---|---|
📣 @dominictb 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app!
Offer link Upwork job Please accept the offer and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review 🧑💻 Keep in mind: Code of Conduct | Contributing 📖
@cristipaval @allroundexperts Quick Nudge on this comment - https://github.com/Expensify/App/issues/47046#issuecomment-2282907045
@allroundexperts @cristipaval do we want to cover top padding in this issue as well? Because it's still not fixed
bump @allroundexperts on the question above. Thanks!
@isabelastisser This is more of a question for you / @cristipaval.
@BhuvaneshPatil In my opinion, we should fix that, too. @cristipaval, do you agree? Thanks!
@allroundexperts, Cristi is on leave. Let's go ahead and fix this, thanks!
@allroundexperts Do you want me to raise the PR or current assigned contributor will do that? If the automation and all allows, I am happy to raise the PR.
@BhuvaneshPatil You can do that since you were the reporter 😄
In my opinion, we should fix that, too. @cristipaval, do you agree? Thanks!
@isabelastisser I don't believe we should expand the scope of this issue. The main objective is to fix 'There is extra margin below the Save button,' which is why the issue is priced at just $125. If we want to fix the additional bug you mentioned, we should create a separate issue so other contributors can focus on providing a suitable solution.
@allroundexperts, how can we move this issue forward?
@isabelastisser It's better to create a new issue. Can you please create one and assign me and @BhuvaneshPatil? Thanks!
@isabelastisser ^^
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!
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:
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?
Screenshots/Videos
https://github.com/user-attachments/assets/b8db6fe4-fcfb-43a8-b2d1-2a53320d095d
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @allroundexperts