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!
Action Performed:
- Open the app
- Click on plus and split bill
- Enter any amount and select more then 5 users
- After selecting users, click next, observe that show more button has no padding below making it look connected to split button
- Click on split
- Click on split bill message and observe that due to lack of padding below show more, it appears to be sticked to bottom of screen
Expected Result:
Show more button should have padding below like we generally have for all buttons to ensure they do not appear adjacent to any interface or bottom or screen
Actual Result:
Show more button has no padding below making it look adjacent to split button as well as bottom of screen
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
- Android / native
- Android / Chrome
- iOS / native
- iOS / Safari
- MacOS / Chrome / Safari
- MacOS / Desktop
Version Number: v1.3.55-7
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
Notes/Photos/Videos: Any additional supporting documentation
no.padding.below.show.more.button.mp4
Recording.5945.mp4
Expensify/Expensify Issue URL:
Issue reported by: @dhanashree-sawant
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1691649933142409
Upwork Automation - Do Not Edit
- Upwork Job URL: https://www.upwork.com/jobs/~018d1ff6c61c186d88
- Upwork Job ID: 1694384587884593152
- Last Price Increase: 2023-08-23
- Automatic offers:
- Ollyws | Reviewer | 26307166
- c3024 | Contributor | 26307169
- Dhanashree-Sawant | Reporter | 26307172
Activity
melvin-bot commentedon Aug 21, 2023
Triggered auto assignment to @JmillsExpensify (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.melvin-bot commentedon Aug 21, 2023
Bug0 Triage Checklist (Main S/O)
Platformsin OP are ✅)c3024 commentedon Aug 21, 2023
Proposal
Please re-state the problem that we are trying to solve in this issue.
No margin bottom for show more in split bill.
What is the root cause of that problem?
View containing Show more here
App/src/components/MoneyRequestConfirmationList.js
Line 392 in 03cf0b1
does not have a bottom margin
What changes do you think we should make in order to solve the problem?
When we show fields the merchant item has a margin of margin bottom 2 here
App/src/components/MoneyRequestConfirmationList.js
Line 418 in 03cf0b1
We should add it for the view with show more also
What alternative solutions did you explore? (Optional)
Result
dukenv0307 commentedon Aug 21, 2023
Proposal
Please re-state the problem that we are trying to solve in this issue.
Show more button in split bill has no padding below
What is the root cause of that problem?
The wrap
Viewof the show more button doesn't have paddingApp/src/components/MoneyRequestConfirmationList.js
Line 392 in 0bdf183
What changes do you think we should make in order to solve the problem?
We should add padding style
styles.mb2to the wrap view of the show more button that is equal to space between the description menu and show more buttonApp/src/components/MoneyRequestConfirmationList.js
Line 392 in 0bdf183
And we also should add
styles,mb2for Amount menu to consistent with other menu itemsApp/src/components/MoneyRequestConfirmationList.js
Line 379 in 03cf0b1
What alternative solutions did you explore? (Optional)
NA
Result
AmjedNazzal commentedon Aug 21, 2023
@izarutskaya Slack post link? usually there should be a link to the slack post. because of this I couldn't tell it was the same thing and didn't post my proposal. please include the slack links. thank you.
AmjedNazzal commentedon Aug 21, 2023
Proposal
Please re-state the problem that we are trying to solve in this issue.
Web - Split bill - Show more button in split bill has no padding below
What is the root cause of that problem?
The reason there is no padding is because although all MenuItemWithTopDescription have mb2, the view used if !showAllFields doesn't have any margin or padding.
App/src/components/MoneyRequestConfirmationList.js
Lines 391 to 393 in 774b78c
What changes do you think we should make in order to solve the problem?
We should add mb2 to the view to keep things consistant.
Result
Screen.Recording.2023-08-10.at.3.34.51.PM.mov
huzaifa-99 commentedon Aug 21, 2023
Proposal
Please re-state the problem that we are trying to solve in this issue.
We want to update the spacing for the 'Show more' button in the split bill details page.
What is the root cause of that problem?
We are not adding enough spacing to the 'Show more' button which causes it to touch the 'Split bill' button and the bottom of the screen when the bill is split.
What changes do you think we should make in order to solve the problem?
We should update the padding for the 'Show more' button. This is something we need to confirm from the design team.
For now I think we could add the same padding i.e
styles.pv3 = paddingVertical: 12as we have for<MenuItemWithTopDescription/>which would make the button look like thisResult
But curious as to what the design team thinks
What alternative solutions did you explore? (Optional)
N/A
namhihi237 commentedon Aug 21, 2023
Proposal
Please re-state the problem that we are trying to solve in this issue.
Show more button should have padding below like we generally have for all buttons to ensure they do not appear adjacent to any interface or bottom or screen
What is the root cause of that problem?
Details of split bill being wrapped by OptionsSelector here
When the number of participants increases and the screen length is smaller, we have a confirm button and the show more button will have no space because we have not added any space here and here.
What changes do you think we should make in order to solve the problem?
we can add
styles.pb2orstyles.pb3in BaseOptionsSelectorWhat alternative solutions did you explore? (Optional)
We can add space below the button. I think we can add
styles.mb2orstyles.mb3in here[-]Web - Split bill - Show more button in split bill has no padding below[/-][+][$1000] Web - Split bill - Show more button in split bill has no padding below[/+]56 remaining items
luacmartins commentedon Sep 25, 2023
I think payment is handled. Closing the issue. Feel free to reopen if we missed something.
Ollyws commentedon Sep 25, 2023
@JmillsExpensify Still awaiting payment on this one, thanks.
Ollyws commentedon Oct 3, 2023
@JmillsExpensify Friendly bump for payment.
Ollyws commentedon Oct 9, 2023
@luacmartins Any chance we could open this one back up as I still haven't been paid? Thanks.
luacmartins commentedon Oct 10, 2023
@JmillsExpensify seems like I prematurely closed this one. Could you please help with payment?
JmillsExpensify commentedon Oct 12, 2023
Ah opps sorry about that.
JmillsExpensify commentedon Oct 12, 2023
Looking into this now in any case
JmillsExpensify commentedon Oct 12, 2023
@Ollyws I see what happened now. We owed you $500. I accidentally you sent extra and request a portion of it back. Do you mind refunding that portion? Otherwise we are good here!
Ollyws commentedon Oct 12, 2023
@JmillsExpensify I think about 15 minutes ago you paid me $2500? So I should return $1000 right?
Ollyws commentedon Oct 12, 2023
returned $1000. Thanks!