Skip to content

[HOLD for payment 2023-11-17] [$500] No space between description & show more option #30039

Closed

Description

@m-natarajan

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:

  1. Open Request money & select manual tab
  2. Enter amount & select any user
  3. Hover on description menu item and observer there is no gap between description & show more option
  4. Go back to step one & select distance tab
  5. 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

View all open jobs on GitHub

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
Issue OwnerCurrent Issue Owner: @m-natarajan

Activity

  1. added
    External
    Daily
    Bug
    on Oct 20, 2023
  2. changed the title [-]No space between description & show more option[/-] [+][$500] No space between description & show more option[/+] on Oct 20, 2023
  3. melvin-bot commented on Oct 20, 2023

    @melvin-bot

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

  4. melvin-bot commented on Oct 20, 2023

    @melvin-bot
  5. added
    Help Wanted
    on Oct 20, 2023
  6. melvin-bot commented on Oct 20, 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
  7. melvin-bot commented on Oct 20, 2023

    @melvin-bot

    Triggered auto assignment to Contributor-plus team member for initial proposal review - @narefyev91 (External)

  8. m-natarajan commented on Oct 20, 2023

    @m-natarajan
    Author

    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 4px padding for "Add Stop" option and I think it will be the best option but we can discuss about it and then apply.

    Result

  9. samilabud commented on Oct 20, 2023

    @samilabud
    Contributor

    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:
    image
    Mac Desktop:
    Screenshot 2023-10-19 at 10 12 27 PM
    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
  10. Krishna2323 commented on Oct 20, 2023

    @Krishna2323
    Contributor

    Just to provide more context for my proposal:

    We can add margin bottom on:

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

    Or we can margin/padding top on:

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

    For add stop button we are using 'pt1':

    <View style={[styles.flexRow, styles.justifyContentCenter, styles.pt1]}>

  11. yh-0218 commented on Oct 20, 2023

    @yh-0218
    Contributor

    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-top

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

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

    We need to add margin-top

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

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

    What alternative solutions did you explore? (Optional)

  12. 37 remaining items

  13. added
    Weekly
    and removed
    Daily
    on Nov 8, 2023
  14. Krishna2323 commented on Nov 8, 2023

    @Krishna2323
    Contributor

    @narefyev91, PR ready.

  15. added
    Weekly
    Awaiting Payment
    and removed
    Weekly
    on Nov 10, 2023
  16. changed the title [-][$500] No space between description & show more option[/-] [+][HOLD for payment 2023-11-17] [$500] No space between description & show more option[/+] on Nov 10, 2023
  17. melvin-bot commented on Nov 10, 2023

    @melvin-bot

    Reviewing label has been removed, please complete the "BugZero Checklist".

  18. removed
    Reviewing
    on Nov 10, 2023
  19. melvin-bot commented on Nov 10, 2023

    @melvin-bot

    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.

    • External issue reporter
    • Contributor that fixed the issue
    • Contributor+ that helped on the issue and/or PR

    For reference, here are some details about the assignees on this issue:

  20. melvin-bot commented on Nov 10, 2023

    @melvin-bot

    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:

    • [@narefyev91] The PR that introduced the bug has been identified. Link to the PR:
    • [@narefyev91] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment:
    • [@narefyev91] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion:
    • [@narefyev91] Determine if we should create a regression test for this bug.
    • [@narefyev91] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
    • [@adelekennedy] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:
  21. adelekennedy commented on Nov 20, 2023

    @adelekennedy
    Contributor

    Payouts due:

    Issue Reporter: $50 @Krishna2323 (pre bounty change)
    Contributor: $500 @Krishna2323
    Contributor+: NA

    Eligible for 50% #urgency bonus? N

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

Metadata

Metadata

Labels

Awaiting PaymentBugExternalWeekly

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions