Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
1 task done
kavimuru opened this issue Mar 26, 2023 · 26 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Weekly KSv2

Comments

@kavimuru
Copy link

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

@kavimuru kavimuru added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Mar 26, 2023
@MelvinBot
Copy link

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

@MelvinBot
Copy link

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

@jliexpensify
Copy link
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.

@PrashantMangukiya
Copy link
Contributor

PrashantMangukiya commented Mar 27, 2023

@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

@MariaHCD
Copy link
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,

@jliexpensify
Copy link
Contributor

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

@kadiealexander kadiealexander added Help Wanted Apply this label when an issue is open to proposals by contributors and removed Help Wanted Apply this label when an issue is open to proposals by contributors labels Mar 28, 2023
@tienifr
Copy link
Contributor

tienifr commented Mar 29, 2023

Assign it to me

@tienifr
Copy link
Contributor

tienifr commented Mar 29, 2023

@jliexpensify @MariaHCD The PR is ready for review

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Daily KSv2 labels Apr 3, 2023
@melvin-bot melvin-bot bot changed the title "Most recent" description in Spanish not in multiple lines and its truncated at the end [HOLD for payment 2023-04-10] "Most recent" description in Spanish not in multiple lines and its truncated at the end Apr 3, 2023
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Apr 3, 2023
@MelvinBot
Copy link

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

@MelvinBot
Copy link

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.2.93-4 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-04-10. 🎊

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

As a reminder, here are the bonuses/penalties that should be applied for any External issue:

  • Merged PR within 3 business days of assignment - 50% bonus
  • Merged PR more than 9 business days after assignment - 50% penalty

@MelvinBot
Copy link

MelvinBot commented Apr 3, 2023

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:

@jliexpensify
Copy link
Contributor

@MariaHCD No payment for @tienifr as he's fixing a regression, right?

Also, do we still need to complete the checklist? (first time assigning a regression, unsure of this!)

@jliexpensify jliexpensify changed the title [HOLD for payment 2023-04-10] "Most recent" description in Spanish not in multiple lines and its truncated at the end [DO NOT PAY - REGRESSION] "Most recent" description in Spanish not in multiple lines and its truncated at the end Apr 4, 2023
@MariaHCD
Copy link
Contributor

MariaHCD commented Apr 4, 2023

I think we'll still need the checklist here

@jliexpensify
Copy link
Contributor

@tienifr I linked the PR to this issue and assigned you the bulk of the checklist, can you update it when you have a chance? Thanks!

@tienifr
Copy link
Contributor

tienifr commented Apr 5, 2023

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 👎

@tienifr
Copy link
Contributor

tienifr commented Apr 5, 2023

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

@jliexpensify
Copy link
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?

@tienifr
Copy link
Contributor

tienifr commented Apr 5, 2023

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:

@jliexpensify
Copy link
Contributor

@tienifr cool, do you have links for both?

@tienifr
Copy link
Contributor

tienifr commented Apr 5, 2023

@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

@jliexpensify
Copy link
Contributor

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

@priya-zha
Copy link

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

@jliexpensify
Copy link
Contributor

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

@jliexpensify jliexpensify reopened this Apr 5, 2023
@jliexpensify
Copy link
Contributor

@priya-zha
Copy link

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

@jliexpensify
Copy link
Contributor

Paid!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Weekly KSv2
Projects
None yet
Development

No branches or pull requests

8 participants