Skip to content

[HOLD for payment 2024-01-22] [$500] mWeb - IOU- Text "Long email id owes" is displayed with extra spacing in IOU preview #33769

Closed

Description

@kbecciv

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.4.19-0
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: Applause - Internal Team
Slack conversation:

Action Performed:

  1. Go to https://staging.new.expensify.com/
  2. Tap on 1:1 chat with long email id
  3. Tap plus icon --- request money --- Manual
  4. Enter an amount
  5. Tap request

Expected Result:

Text "Long email id owes" must not be displayed with extra spacing in IOU preview.

Actual Result:

Text "Long email id owes" is displayed with extra spacing in IOU preview.

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

Add any screenshot/video evidence

image

Bug6328563_1703870770047.ling.1.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01b95b98369a189481
  • Upwork Job ID: 1740792968326352896
  • Last Price Increase: 2023-12-29
  • Automatic offers:
    • s77rt | Reviewer | 28081699
    • fedirjh | Contributor | 28081700
Issue OwnerCurrent Issue Owner: @bfitzexpensify

Activity

  1. added
    External
    Daily
    Bug
    on Dec 29, 2023
  2. changed the title [-]mWeb - IOU- Text "Long email id owes" is displayed with extra spacing in IOU preview[/-] [+][$500] mWeb - IOU- Text "Long email id owes" is displayed with extra spacing in IOU preview[/+] on Dec 29, 2023
  3. melvin-bot commented on Dec 29, 2023

    @melvin-bot
  4. added
    Help Wanted
    on Dec 29, 2023
  5. melvin-bot commented on Dec 29, 2023

    @melvin-bot

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

  6. melvin-bot commented on Dec 29, 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 Dec 29, 2023

    @melvin-bot

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

  8. situchan commented on Dec 29, 2023

    @situchan
    Contributor

    Seems like regression from #32818
    cc: @rezkiy37 @fedirjh as still within regression period

  9. vikssevishnu commented on Dec 29, 2023

    @vikssevishnu

    Is this still open or fix yet to be deployed ?

  10. aim-salam commented on Dec 29, 2023

    @aim-salam

    Proposal

    Please re-state the problem that we are trying to solve in this issue.

    mWeb - IOU- Text "Long email id owes" is displayed with extra spacing in IOU preview

    What is the root cause of that problem?

    Textstyle lineHeight using variables.lineHeightXXLarge which provide big value.

    <Text style={[styles.textLabelSupporting, styles.mb1, getLineHeightStyle(variables.lineHeightXXLarge)]}>{getPreviewMessage()}</Text>

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

    Change lineHeight from variables.lineHeightXXLarge into variables.lineHeightSmall in the text style

     <Text style={[styles.textLabelSupporting, styles.mb1, getLineHeightStyle(variables.lineHeightSmall)]}>{getPreviewMessage()}</Text>

    Screenshot 2023-12-30 at 6 03 16 AM

    What alternative solutions did you explore? (Optional)

  11. s77rt commented on Dec 30, 2023

    @s77rt
    Member

    @rezkiy37 @fedirjh Can you work on this one please since it's a regression from your PR.

    cc @shawnborton since this is design related in case you have any inputs here

    BEFORE NOW (BUG?)
    Screenshot 2023-12-30 at 3 12 46 PM Screenshot 2023-12-30 at 3 13 23 PM
  12. 26 remaining items

  13. melvin-bot commented on Jan 10, 2024

    @melvin-bot

    Triggered auto assignment to @mountiny, see https://stackoverflow.com/c/expensify/questions/7972 for more details.

  14. added
    Weekly
    Awaiting Payment
    and removed
    Weekly
    on Jan 15, 2024
  15. changed the title [-][$500] mWeb - IOU- Text "Long email id owes" is displayed with extra spacing in IOU preview[/-] [+][HOLD for payment 2024-01-22] [$500] mWeb - IOU- Text "Long email id owes" is displayed with extra spacing in IOU preview[/+] on Jan 15, 2024
  16. removed
    Reviewing
    on Jan 15, 2024
  17. melvin-bot commented on Jan 15, 2024

    @melvin-bot

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

  18. melvin-bot commented on Jan 15, 2024

    @melvin-bot

    The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.24-8 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 2024-01-22. 🎊

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

  19. melvin-bot commented on Jan 15, 2024

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

    • [@fedirjh] The PR that introduced the bug has been identified. Link to the PR:
    • [@fedirjh] 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:
    • [@fedirjh] 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:
    • [@fedirjh] Determine if we should create a regression test for this bug.
    • [@fedirjh] 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.
    • [@bfitzexpensify] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:
  20. added
    Daily
    and removed
    Weekly
    on Jan 21, 2024
  21. bfitzexpensify commented on Jan 23, 2024

    @bfitzexpensify
    Contributor

    @fedirjh looks like the Upwork offer is still awaiting your acceptance. Also a bump on the BZ checklist - thanks!

  22. fedirjh commented on Jan 24, 2024

    @fedirjh
    Contributor

    @bfitzexpensify This was a regression from a recent PR that's still in the regression period. I don't think it's eligible for payment.

    BugZero Checklist:

    • Link to the PR: Fix tall emojis are chopped off from top #32818
    • Link to comment: Author already aware and fixed it.
    • Link to discussion: N/A
    • Determine if we should create a regression test for this bug: No, it is a minor visual bug that doesn’t affect UX
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Awaiting PaymentBugDailyExternalOverdue

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions