Skip to content

[HOLD for payment 2023-09-06] [$1000] Web - Split bill - Show more button in split bill has no padding below #25562

Closed

Description

@izarutskaya

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:

  1. Open the app
  2. Click on plus and split bill
  3. Enter any amount and select more then 5 users
  4. After selecting users, click next, observe that show more button has no padding below making it look connected to split button
  5. Click on split
  6. 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

View all open jobs on GitHub

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

  1. added
    Daily
    Bug
    on Aug 21, 2023
  2. melvin-bot commented on Aug 21, 2023

    @melvin-bot

    Triggered auto assignment to @JmillsExpensify (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

  3. melvin-bot commented on Aug 21, 2023

    @melvin-bot

    Bug0 Triage Checklist (Main S/O)

    • This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
    • This bug is not a duplicate report (check E/App issues and #expensify-bugs)
      • If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead
    • This bug is reproducible using the reproduction steps in the OP. S/O
      • If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
      • If the reproduction steps aren't clear and you determine the correct steps, please update the OP.
    • This issue is filled out as thoroughly and clearly as possible
      • Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.
    • I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync
  4. c3024 commented on Aug 21, 2023

    @c3024
    Contributor

    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

    <View style={[styles.flexRow, styles.justifyContentBetween, styles.mh3, styles.alignItemsCenter]}>

    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

    style={[styles.moneyRequestMenuItem, styles.mb2]}

    We should add it for the view with show more also

    <View style={[styles.flexRow, styles.justifyContentBetween, styles.mh3, styles.alignItemsCenter, styles.mb2]}>

    What alternative solutions did you explore? (Optional)

    Result Screenshot 2023-08-21 at 3 18 51 PM
  5. dukenv0307 commented on Aug 21, 2023

    @dukenv0307
    Contributor

    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 View of the show more button doesn't have padding

    <View style={[styles.flexRow, styles.justifyContentBetween, styles.mh3, styles.alignItemsCenter]}>

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

    We should add padding style styles.mb2 to the wrap view of the show more button that is equal to space between the description menu and show more button

    <View style={[styles.flexRow, styles.justifyContentBetween, styles.mh3, styles.alignItemsCenter]}>

    And we also should add styles,mb2 for Amount menu to consistent with other menu items

    titleStyle={styles.moneyRequestConfirmationAmount}

    What alternative solutions did you explore? (Optional)

    NA

    Result

  6. AmjedNazzal commented on Aug 21, 2023

    @AmjedNazzal
    Contributor

    @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.

  7. AmjedNazzal commented on Aug 21, 2023

    @AmjedNazzal
    Contributor

    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.

    {!showAllFields && (
    <View style={[styles.flexRow, styles.justifyContentBetween, styles.mh3, styles.alignItemsCenter]}>
    <View style={[styles.shortTermsHorizontalRule, styles.flex1, styles.mr0]} />

    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.

    {!showAllFields && (
        <View style={[..., styles.mb2]}>

    Result

    Screen.Recording.2023-08-10.at.3.34.51.PM.mov
  8. huzaifa-99 commented on Aug 21, 2023

    @huzaifa-99
    Contributor

    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: 12 as we have for <MenuItemWithTopDescription/> which would make the button look like this

    Result image image

    But curious as to what the design team thinks

    What alternative solutions did you explore? (Optional)

    N/A

  9. namhihi237 commented on Aug 21, 2023

    @namhihi237
    Contributor

    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.pb2 or styles.pb3 in BaseOptionsSelector

    What alternative solutions did you explore? (Optional)

    We can add space below the button. I think we can add styles.mb2 or styles.mb3 in here

  10. self-assigned this
    on Aug 23, 2023
  11. added
    External
    on Aug 23, 2023
  12. changed the title [-]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[/+] on Aug 23, 2023
  13. 56 remaining items

  14. luacmartins commented on Sep 25, 2023

    @luacmartins
    Contributor

    I think payment is handled. Closing the issue. Feel free to reopen if we missed something.

  15. Ollyws commented on Sep 25, 2023

    @Ollyws
    Contributor

    @JmillsExpensify Still awaiting payment on this one, thanks.

  16. Ollyws commented on Oct 3, 2023

    @Ollyws
    Contributor

    @JmillsExpensify Friendly bump for payment.

  17. Ollyws commented on Oct 9, 2023

    @Ollyws
    Contributor

    @luacmartins Any chance we could open this one back up as I still haven't been paid? Thanks.

  18. luacmartins commented on Oct 10, 2023

    @luacmartins
    Contributor

    @JmillsExpensify seems like I prematurely closed this one. Could you please help with payment?

  19. JmillsExpensify commented on Oct 12, 2023

    @JmillsExpensify
    Contributor

    Ah opps sorry about that.

  20. JmillsExpensify commented on Oct 12, 2023

    @JmillsExpensify
    Contributor

    Looking into this now in any case

  21. JmillsExpensify commented on Oct 12, 2023

    @JmillsExpensify
    Contributor

    @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!

  22. Ollyws commented on Oct 12, 2023

    @Ollyws
    Contributor

    @JmillsExpensify I think about 15 minutes ago you paid me $2500? So I should return $1000 right?

  23. Ollyws commented on Oct 12, 2023

    @Ollyws
    Contributor

    returned $1000. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Awaiting PaymentBugDailyExternal

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions