Repository navigation
Description
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:
- Open Request money & select manual tab
- Enter amount & select any user
- Hover on description menu item and observer there is no gap between description & show more option
- Go back to step one & select distance tab
- Hover on finish point and observe the space between finish point & add stop option
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?
- Android: Native
- Android: mWeb Chrome
- iOS: Native
- iOS: mWeb Safari
- MacOS: Chrome / Safari
- MacOS: Desktop
Screenshots/Videos
Android: Native
android_native.mp4
Android: mWeb Chrome
WhatsApp.Video.2023-10-19.at.06.40.31.mp4
iOS: Native
ios_native.mp4
iOS: mWeb Safari
ios_safari.mp4
MacOS: Chrome / Safari
web_chrome.mp4
MacOS: Desktop
desktop_app.mp4
Upwork Automation - Do Not Edit
- Upwork Job URL: https://www.upwork.com/jobs/~01e92101d63dc7fd51
- Upwork Job ID: 1715163936897327104
- Last Price Increase: 2023-10-20
- Automatic offers:
- Krishna2323 | Contributor | 27512429
- krishna2323 | Reporter | 27512432
Activity
[-]No space between description & show more option[/-][+][$500] No space between description & show more option[/+]melvin-bot commentedon Oct 20, 2023
Triggered auto assignment to @adelekennedy (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.melvin-bot commentedon Oct 20, 2023
Job added to Upwork: https://www.upwork.com/jobs/~01e92101d63dc7fd51
melvin-bot commentedon Oct 20, 2023
Bug0 Triage Checklist (Main S/O)
Platformsin OP are ✅)melvin-bot commentedon Oct 20, 2023
Triggered auto assignment to Contributor-plus team member for initial proposal review - @narefyev91 (
External)m-natarajan commentedon Oct 20, 2023
Proposal by contributor reported the bug
Please re-state the problem that we are trying to solve in this issue.
No space between description & show more option
What is the root cause of that problem?
We don't apply any margin or padding to top of the show more container.
What changes do you think we should make in order to solve the problem?
We can either apply margin/padding bottom to description menu item or margin/padding top to the show more container.
We are using
4pxpadding for "Add Stop" option and I think it will be the best option but we can discuss about it and then apply.Result
samilabud commentedon Oct 20, 2023
Proposal
Please re-state the problem that we are trying to solve in this issue.
No space between the description & show more option
What is the root cause of that problem?
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.
What changes do you think we should make in order to solve the problem?
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:
Screen.Recording.2023-10-19.at.10.08.36.PM.mov
IPhone/IOS:
Screen.Recording.2023-10-19.at.10.09.22.PM.mov
Krishna2323 commentedon Oct 20, 2023
Just to provide more context for my proposal:
We can add margin bottom on:
App/src/components/MoneyRequestConfirmationList.js
Line 619 in 732d48e
Or we can margin/padding top on:
App/src/components/MoneyRequestConfirmationList.js
Line 619 in 732d48e
For add stop button we are using 'pt1':
App/src/components/DistanceRequest/DistanceRequestFooter.js
Line 100 in 732d48e
yh-0218 commentedon Oct 20, 2023
Proposal
Please re-state the problem that we are trying to solve in this issue.
No space between the description & show more option
What is the root cause of that problem?
There is no
margin-topApp/src/components/MoneyRequestConfirmationList.js
Line 619 in 86e75ad
What changes do you think we should make in order to solve the problem?
We need to add
margin-topApp/src/components/MoneyRequestConfirmationList.js
Line 619 in 86e75ad
What alternative solutions did you explore? (Optional)
37 remaining items
Krishna2323 commentedon Nov 8, 2023
@narefyev91, PR ready.
[-][$500] No space between description & show more option[/-][+][HOLD for payment 2023-11-17] [$500] No space between description & show more option[/+]melvin-bot commentedon Nov 10, 2023
Reviewinglabel has been removed, please complete the "BugZero Checklist".melvin-bot commentedon Nov 10, 2023
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.97-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 2023-11-17. 🎊
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:
melvin-bot commentedon Nov 10, 2023
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:
adelekennedy commentedon Nov 20, 2023
Payouts due:
Issue Reporter: $50 @Krishna2323 (pre bounty change)
Contributor: $500 @Krishna2323
Contributor+: NA
Eligible for 50% #urgency bonus? N