Closed m-natarajan closed 11 months ago
Triggered auto assignment to @adelekennedy (Bug
), see https://stackoverflow.com/c/expensify/questions/14418 for more details.
Job added to Upwork: https://www.upwork.com/jobs/~01e92101d63dc7fd51
Platforms
in OP are ✅)Triggered auto assignment to Contributor-plus team member for initial proposal review - @narefyev91 (External
)
No space between description & show more option
We don't apply any margin or padding to top of the show more container.
We can either apply margin/padding bottom to description menu item or margin/padding top to the show more container.
We are using 4px
padding for "Add Stop" option and I think it will be the best option but we can discuss about it and then apply.
No space between the description & show more option
The components MenuItemWithTopDescription inside of OptionsSelector (in MoneyRequestConfirmationList component in src/components/MoneyRequestConfirmationList.js) are all aligned using a flex-direction row with the same distance when the 'show more' option is displayed has no margins.
The best solution is adding the prop styles.mt2 in style as next, this going to add a margin-top of 2 and produce the space needed, this is the code needed (in file src/components/MoneyRequestConfirmationList.js line 619):
<View style={[styles.flexRow, styles.justifyContentBetween, styles.mh3, styles.alignItemsCenter, styles.mb2, styles.mt2]}>
These are the results: Web:
Mac Desktop:
Android:
https://github.com/Expensify/App/assets/5216036/0d834be6-d1cb-4b77-a5b8-b306a9aea9bc
IPhone/IOS:
https://github.com/Expensify/App/assets/5216036/cc0bacf6-f2d5-466d-b389-4fcf05e824a6
Just to provide more context for my proposal:
We can add margin bottom on: https://github.com/Expensify/App/blob/732d48e23ac132b1f91fcd004d6941d1b0237c34/src/components/MoneyRequestConfirmationList.js#L619
Or we can margin/padding top on: https://github.com/Expensify/App/blob/732d48e23ac132b1f91fcd004d6941d1b0237c34/src/components/MoneyRequestConfirmationList.js#L619
For add stop button we are using 'pt1':
No space between the description & show more option
There is no margin-top
https://github.com/Expensify/App/blob/86e75ad6c95cd5927800bb62b848857716da52f6/src/components/MoneyRequestConfirmationList.js#L619
We need to add margin-top
<View style={[styles.flexRow, styles.justifyContentBetween, styles.mh3, styles.alignItemsCenter, styles.mv2]}>
@shawnborton Design help needed here! Can you please check and suggestion - do we really need additional spacing between last button and Show More chip? This is how we currently have it now:
This is after any new padding coming in place (chip will take more space, and visually it show a bigger gap - when menu item is not in hover state):
If we need to add margin - can you please tell how much it should be. Thanks!
We had it earlier and I think mistakenly removed in this PR https://github.com/Expensify/App/pull/28110/files#diff-dc0f934ad9e583b0f7ac049563a3dcacbfe314e9c16b5c6f8bba6e5a5225a86cL478 cc: @akinwale
We can use styles.mv2
here instead of styles.mb2
https://github.com/Expensify/App/blob/69cf29e32950f915ea888fe294dfdea6a9fabbb5/src/components/MoneyRequestConfirmationList.js#L619
We had it earlier and I think mistakenly removed in this PR https://github.com/Expensify/App/pull/28110/files#diff-dc0f934ad9e583b0f7ac049563a3dcacbfe314e9c16b5c6f8bba6e5a5225a86cL478 cc: @akinwale
We can use
styles.mv2
here instead ofstyles.mb2
The idea from that PR was to remove the bottom margins from all push-to-page buttons. https://github.com/Expensify/App/issues/27052 for context.
@akinwale, I think we didn't wanted to remove the spacing between "show more" button.
@akinwale, I think we didn't wanted to remove the spacing between "show more" button.
Yeah, I think the ideal solution here would be to add a top margin (or padding?) to the "show more" button. If there's another push-to-page button below "Description" (e.g. "Date" or "Merchant"), we don't want a bottom margin separating those.
Proposal from @m-natarajan looks good to me https://github.com/Expensify/App/issues/30039#issuecomment-1771888313 All proposals are correct - in root case and area to apply a fix - just @m-natarajan was the faster one 🎀 👀 🎀 C+ reviewed
Triggered auto assignment to @roryabraham, see https://stackoverflow.com/c/expensify/questions/7972 for more details.
Proposal from @m-natarajan looks good to me #30039 (comment) All proposals are correct - in root case and area to apply a fix - just @m-natarajan was the faster one 🎀 👀 🎀 C+ reviewed
@narefyev91 Small correction here. @m-natarajan is on the QA / Applause (I think?) team reposting the solution posted by the issue reporter, @Krishna2323.
Current assignee @roryabraham is eligible for the choreEngineerContributorManagement assigner, not assigning anyone new.
@narefyev91 @roryabraham Is there any update related to who is assigned to resolve this bug?
@narefyev91 @roryabraham Is there any update related to who is assigned to resolve this bug?
Hey - i think we waiting final decision from @roryabraham
@roryabraham removing the overdue here
@roryabraham bump on this
@narefyev91, @roryabraham, @adelekennedy Eep! 4 days overdue now. Issues have feelings too...
Assigned to @m-natarajan
@roryabraham, I should be assigned here, @m-natarajan is from QA team, he/she just posted my proposal from slack. https://github.com/Expensify/App/issues/30039#issuecomment-1772850445
@narefyev91 @m-natarajan @roryabraham @adelekennedy this issue was created 2 weeks ago. Are we close to approving a proposal? If not, what's blocking us from getting this issue assigned? Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks!
@roryabraham, can you pls assign me 😅. https://github.com/Expensify/App/issues/30039#issuecomment-1788548629
📣 @Krishna2323 🎉 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 📖
📣 @krishna2323 🎉 An offer has been automatically sent to your Upwork account for the Reporter role 🎉 Thanks for contributing to the Expensify app!
Done, sorry @Krishna2323.
@narefyev91, @roryabraham, @adelekennedy, @Krishna2323 Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!
waiting on the PR
@narefyev91, PR ready.
Reviewing
label has been removed, please complete the "BugZero Checklist".
The solution for this issue has been :rocket: deployed to production :rocket: in version 1.3.97-7 and is now subject to a 7-day regression period :calendar:. Here is the list of pull requests that resolve this issue:
If no regressions arise, payment will be issued on 2023-11-17. :confetti_ball:
After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.
For reference, here are some details about the assignees on this issue:
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:
Payouts due:
Issue Reporter: $50 @Krishna2323 (pre bounty change) Contributor: $500 @Krishna2323 Contributor+: NA
Eligible for 50% #urgency bonus? N
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.3.87-1 Reproducible in staging?: y Reproducible in production?: y 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: @krishna2323 Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1697621145743689
Action Performed:
Expected Result:
There should be some gap between description & show more option
Actual Result:
There is no gap between description & show more option
Workaround:
unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Android: Native
https://github.com/Expensify/App/assets/38435837/2f91fab2-f2db-4c2d-a532-1d1045021750Android: mWeb Chrome
https://github.com/Expensify/App/assets/38435837/d3d40065-219a-48ab-bf30-9738ffef24c8iOS: Native
https://github.com/Expensify/App/assets/38435837/bc4f4634-cce5-46cf-80a6-34ce5125de03
iOS: mWeb Safari
https://github.com/Expensify/App/assets/38435837/746346be-3588-448b-8543-c55059eb3bd1
MacOS: Chrome / Safari
https://github.com/Expensify/App/assets/38435837/f4ef5ba5-eb6f-4f69-8e06-ccf6ffb67b7fMacOS: Desktop
https://github.com/Expensify/App/assets/38435837/cfd2dc04-e89b-46a6-b128-d56140bbd930View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @m-natarajan