Skip to content

[DO NOT PAY - REGRESSION] "Most recent" description in Spanish not in multiple lines and its truncated at the end #16524

Closed

Description

@kavimuru

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. Change language to Spanish in settings
  2. Switch the priority to most recent
  3. Observe the description

Expected Result:

There should be no truncation

Actual Result:

Truncated at the end

Workaround:

Visual

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: 1.2.89-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
Notes/Photos/Videos:

mode-2023-03-26_10.59.52.mp4

Untitled

Expensify/Expensify Issue URL:
Issue reported by: @priya-zha
Slack conversation:
https://expensify.slack.com/archives/C049HHMV9SM/p1679807831421289
View all open jobs on GitHub

Activity

  1. added
    Daily
    Bug
    on Mar 26, 2023
  2. MelvinBot commented on Mar 26, 2023

    @MelvinBot
    Contributor

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

  3. MelvinBot commented on Mar 26, 2023

    @MelvinBot
    Contributor

    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. jliexpensify commented on Mar 26, 2023

    @jliexpensify
    Contributor

    Asking about this here - https://expensify.slack.com/archives/C01SKUP7QR0/p1679869826758849

    It looks like this is designed to wrap, but starting a conversation to see if we want to change this.

  5. PrashantMangukiya commented on Mar 27, 2023

    @PrashantMangukiya
    Contributor

    @jliexpensify This may be regression from this pr #15646

    const alternateTextStyle = StyleUtils.combineStyles(textStyle, styles.optionAlternateText, styles.textLabelSupporting, this.props.style, styles.pre);

    Remove styles.pre from line 127 it solve the problem. OR Replace styles.pre with styles.preWrap it also solve the problem. Not sure which one is best, this is just suggestion.

    Result

    result

  6. MariaHCD commented on Mar 28, 2023

    @MariaHCD
    Contributor

    Noting here that I think https://expensify.slack.com/archives/C049HHMV9SM/p1679812350450349 might also be a regression from the same PR. Changing this to syles.preWrap fixes the issue:

    styles.pre,

  7. jliexpensify commented on Mar 28, 2023

    @jliexpensify
    Contributor

    Thanks @PrashantMangukiya - appreciate it! Confirmed it's a regression so assigning this issue to @tienifr to fix.

  8. added
    Help Wanted
    and removed
    Help Wanted
    on Mar 28, 2023
  9. tienifr commented on Mar 29, 2023

    @tienifr
    Contributor

    Assign it to me

  10. added
    Reviewing
    on Mar 29, 2023
  11. tienifr commented on Mar 29, 2023

    @tienifr
    Contributor

    @jliexpensify @MariaHCD The PR is ready for review

  12. 12 remaining items

  13. tienifr commented on Apr 5, 2023

    @tienifr
    Contributor

    Regression Test Proposal

    Bug: "Most recent" description in Spanish not in multiple lines and its truncated at the end

    Proposed Test Steps:

    1. Change language to Spanish in settings
    2. Go to the Priority Page
    3. Switch the priority to the most recent
    4. Verify that the description of the most recent field is fully displayed

    Do we 👍 or 👎

  14. tienifr commented on Apr 5, 2023

    @tienifr
    Contributor

    @jliexpensify I just created regression test for this issue, but how I can edit the bulk of the checklist?

  15. jliexpensify commented on Apr 5, 2023

    @jliexpensify
    Contributor

    @tienifr I can tick off the list for you - I'll pop your steps into a new TestRail GH

    I think you can click on the 3 dots (top right) on the checklist and edit?

  16. tienifr commented on Apr 5, 2023

    @tienifr
    Contributor

    Screen Shot 2023-04-05 at 10 38 01

    @jliexpensify It seems that I don't have access to edit. Could you help to tick off 2 lines
    [@tienifr ] 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:
    [@tienifr ] 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:

  17. jliexpensify commented on Apr 5, 2023

    @jliexpensify
    Contributor

    @tienifr cool, do you have links for both?

  18. tienifr commented on Apr 5, 2023

    @tienifr
    Contributor

    @jliexpensify I think we should fill like this

    [@tienifr ] 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: #16524 (comment)
    [@tienifr ] 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: NA

  19. jliexpensify commented on Apr 5, 2023

    @jliexpensify
    Contributor

    Done, and since the PR is deployed to Prod - closing! Thanks @tienifr !

  20. priya-zha commented on Apr 5, 2023

    @priya-zha

    @jliexpensify I am the external reporter for this. I haven't been yet paid for this. Thank you

  21. jliexpensify commented on Apr 5, 2023

    @jliexpensify
    Contributor

    @priya-zha - I'll spin up a job in Upworks shortly and get that sorted, thanks for the bump!

  22. jliexpensify commented on Apr 5, 2023

    @jliexpensify
    Contributor
  23. priya-zha commented on Apr 5, 2023

    @priya-zha

    @jliexpensify Accepted the offer and submitted the work. Thank you

  24. jliexpensify commented on Apr 5, 2023

    @jliexpensify
    Contributor

    Paid!

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

Metadata

Metadata

Labels

Awaiting PaymentBugWeekly

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions