Skip to content

[$1000] "Last reply ..." Notifier overflows in spanish for threads with more than two replies #22039

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. Sign in to staging new dot
  2. Go to a chat with more than two replies to one of the messages
  3. Notice how the last replied time is shown in full in the parent message
  4. Go to preferences and change the language to spanish
  5. Notice how the last reply message is overflown hiding the date and time of the message

Expected Result:

Notifier should not over flow

Actual Result:

Notifier overflows hiding the main part(date and time) of the notification

Workaround:

Can the user still use Expensify without this being fixed? Have you informed them of the workaround?

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.3.35-5
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

Record_2023-07-01-19-36-35.mp4
2023_06_30_01_47_09.mp4

Expensify/Expensify Issue URL:
Issue reported by: @SofoniasN
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1688122181578499

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01f5d13d183f194814
  • Upwork Job ID: 1675927092667117568
  • Last Price Increase: 2023-07-03

Activity

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

    @melvin-bot

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

  3. melvin-bot commented on Jul 2, 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. dhairyasenjaliya commented on Jul 2, 2023

    @dhairyasenjaliya
    Contributor

    Proposal

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

    • Last reply ..." Notifier overflows in Spanish for threads with more than two replies

    What is the root cause of that problem?

    • The root cause is Spanish translation itself is a bit longer than the English translation and also we have added numberOfLine={1} which makes the content wrap within 1 line that hides the actual time 


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

    • As we can see the style is perfect numberOfRepliesText and replyText that matches with another component on LHN but also the fact is we should display the time in Spanish translation as well as its a primary thing to display without acknowledging user can’t see the last time of the thread

    • My suggestion is that we should make timeStamp <Text> component to allownumberOfLine={2} and make both the text component center align

    • We should modify these changes to ReportActionItemThread.js as here we have 2 <Text> components as numberOfRepliesText and timeStamp we should center align both the <Text> component that is actually wrapped inside one <View>

    • Also we should consult with the design team first before any changes @shawnborton

    What alternative solutions did you explore? (Optional)

    • We should add some short Spanish words that will be replacements for current words

    Result

    Screenshot 2023-07-02 at 11 46 36 AM
  5. spcheema commented on Jul 2, 2023

    @spcheema
    Contributor

    Proposed solution

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

    "Last reply ..." Notifier overflows in spanish for threads with more than two replies

    What is the root cause of that problem?
    The root cause of the problem is that spanish translation of Last reply & Today at is longer than english which is causing trimmed text due to number of line limit to Text component

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

    My suggestion is to change flex-direction from row to column on mobile screen.

    Further more we can show it only for portrait orientation.
    image

    What alternative solutions did you explore? (Optional)

    It can be solved by increasing number of line limit to 2 as well but does not look nice UI/UX perspective.

    image

    P.S. Hi @shawnborton I have added for design review in case both options

  6. dhairyasenjaliya commented on Jul 2, 2023

    @dhairyasenjaliya
    Contributor

    Proposal - 2

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

    • Last reply ..." Notifier overflows in Spanish for threads with more than two replies

    What is the root cause of that problem?

    • The root cause is Spanish translation itself is a bit longer than the English translation and also we have added numberOfLine={1} which makes the content wrap within 1 line that hides the actual time 


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

    • We can just remove lastReply text from the display and add only timeStamp as we are currently displaying on all other messages that will also make consistent with other messages

    Result

    Screenshot 2023-07-02 at 12 22 47 PM Screenshot 2023-07-02 at 12 22 27 PM
  7. shawnborton commented on Jul 3, 2023

    @shawnborton
    Contributor

    Yeah, looks like @dhairyasenjaliya has it sorted out above, that's what we want.

  8. added
    External
    on Jul 3, 2023
  9. changed the title [-]"Last reply ..." Notifier overflows in spanish for threads with more than two replies[/-] [+][$1000] "Last reply ..." Notifier overflows in spanish for threads with more than two replies[/+] on Jul 3, 2023
  10. melvin-bot commented on Jul 3, 2023

    @melvin-bot
  11. added
    Help Wanted
    on Jul 3, 2023
  12. melvin-bot commented on Jul 3, 2023

    @melvin-bot

    Current assignee @MitchExpensify is eligible for the External assigner, not assigning anyone new.

  13. 34 remaining items

  14. sobitneupane commented on Jul 19, 2023

    @sobitneupane
    Contributor

    @MitchExpensify I will request payment via newDot.

  15. MitchExpensify commented on Jul 19, 2023

    @MitchExpensify
    Contributor

    Got it! Thanks @sobitneupane -Will close this once confirmation of payment comes through

  16. sobitneupane commented on Jul 24, 2023

    @sobitneupane
    Contributor

    Payment Requested on newDot.

  17. JmillsExpensify commented on Jul 27, 2023

    @JmillsExpensify
    Contributor

    @MitchExpensify Can you please summarize the appropriate individual payments for all parties involved in this issue? This is holding up @sobitneupane's NewDot payments. More information on this compliance process in Slack.

  18. MitchExpensify commented on Jul 28, 2023

    @MitchExpensify
    Contributor

    Of course @JmillsExpensify ! Here it is

    Issue reporter: @SofoniasN $250 (Paid)
    Contributor: @dhairyasenjaliya $1500 (Paid)
    Contributor+: @sobitneupane $1500 (To be issued via NewDot)

  19. JmillsExpensify commented on Jul 29, 2023

    @JmillsExpensify
    Contributor

    Reviewed details for @sobitneupane. These details are accurate based on summary from Business Reviewer and are now approved for payment in NewDot.

  20. MitchExpensify commented on Aug 1, 2023

    @MitchExpensify
    Contributor

    These details are accurate based on summary from Business Reviewer and are now approved for payment in NewDot.

    Just to be sure @JmillsExpensify, does this mean the payment has been issued in NewDot?

  21. JmillsExpensify commented on Aug 2, 2023

    @JmillsExpensify
    Contributor

    Yeah you're good.

  22. MitchExpensify commented on Aug 2, 2023

    @MitchExpensify
    Contributor

    Awesome, thanks!

  23. MitchExpensify commented on Aug 2, 2023

    @MitchExpensify
    Contributor

    I see no automated final BZ steps. @sobitneupane adding these manually if you could take a look when you get a chance then we'll close this out:

    • [@sobitneupane] The PR that introduced the bug has been identified. Link to the PR:
    • [@sobitneupane] 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:
    • [@sobitneupane] 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:
    • [@sobitneupane] Determine if we should create a regression test for this bug.
    • [@sobitneupane] 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.
    • [@MitchExpensify] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:
  24. sobitneupane commented on Aug 3, 2023

    @sobitneupane
    Contributor

    @MitchExpensify Rather than a bug, it's an improvement on the app. So, checklist is not applicable here. I don't think even regression test is necessary.

  25. MitchExpensify commented on Aug 7, 2023

    @MitchExpensify
    Contributor

    Great! Thanks for confirming

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

Metadata

Metadata

Labels

BugDailyExternalReviewing

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions