You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[$1000] "Last reply ..." Notifier overflows in spanish for threads with more than two replies #22039
BugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributorReviewingHas a PR in review
Go to a chat with more than two replies to one of the messages
Notice how the last replied time is shown in full in the parent message
Go to preferences and change the language to spanish
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
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
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.
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.
P.S. Hi @shawnborton I have added for design review in case both options
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
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
@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.
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:
@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.
BugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributorReviewingHas a PR in review
Activity
melvin-bot commentedon Jul 2, 2023
Triggered auto assignment to @MitchExpensify (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.melvin-bot commentedon Jul 2, 2023
Bug0 Triage Checklist (Main S/O)
Platformsin OP are ✅)dhairyasenjaliya commentedon Jul 2, 2023
Proposal
Please re-state the problem that we are trying to solve in this issue.
What is the root cause of that problem?
numberOfLine={1}which makes the content wrap within 1 line that hides the actual timeWhat changes do you think we should make in order to solve the problem?
As we can see the style is perfect
numberOfRepliesTextandreplyTextthat 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 threadMy suggestion is that we should make
timeStamp<Text>component to allownumberOfLine={2}and make both the text component center alignWe should modify these changes to
ReportActionItemThread.jsas here we have 2<Text>components asnumberOfRepliesTextandtimeStampwe 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)
Result
spcheema commentedon Jul 2, 2023
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
spanishtranslation ofLast reply&Today atis longer than english which is causing trimmed text due to number of line limit toTextcomponentWhat changes do you think we should make in order to solve the problem?
My suggestion is to change
flex-directionfromrowtocolumnon mobile screen.Further more we can show it only for portrait orientation.

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.
P.S. Hi @shawnborton I have added for design review in case both options
dhairyasenjaliya commentedon Jul 2, 2023
Proposal - 2
Please re-state the problem that we are trying to solve in this issue.
What is the root cause of that problem?
numberOfLine={1}which makes the content wrap within 1 line that hides the actual timeWhat changes do you think we should make in order to solve the problem?
lastReplytext from the display and add onlytimeStampas we are currently displaying on all other messages that will also make consistent with other messagesResult
shawnborton commentedon Jul 3, 2023
Yeah, looks like @dhairyasenjaliya has it sorted out above, that's what we want.
[-]"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[/+]melvin-bot commentedon Jul 3, 2023
Job added to Upwork: https://www.upwork.com/jobs/~01f5d13d183f194814
melvin-bot commentedon Jul 3, 2023
Current assignee @MitchExpensify is eligible for the External assigner, not assigning anyone new.
34 remaining items
sobitneupane commentedon Jul 19, 2023
@MitchExpensify I will request payment via newDot.
MitchExpensify commentedon Jul 19, 2023
Got it! Thanks @sobitneupane -Will close this once confirmation of payment comes through
sobitneupane commentedon Jul 24, 2023
Payment Requested on newDot.
JmillsExpensify commentedon Jul 27, 2023
@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.
MitchExpensify commentedon Jul 28, 2023
Of course @JmillsExpensify ! Here it is
Issue reporter: @SofoniasN $250 (Paid)
Contributor: @dhairyasenjaliya $1500 (Paid)
Contributor+: @sobitneupane $1500 (To be issued via NewDot)
JmillsExpensify commentedon Jul 29, 2023
Reviewed details for @sobitneupane. These details are accurate based on summary from Business Reviewer and are now approved for payment in NewDot.
MitchExpensify commentedon Aug 1, 2023
Just to be sure @JmillsExpensify, does this mean the payment has been issued in NewDot?
JmillsExpensify commentedon Aug 2, 2023
Yeah you're good.
MitchExpensify commentedon Aug 2, 2023
Awesome, thanks!
MitchExpensify commentedon Aug 2, 2023
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 commentedon Aug 3, 2023
@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.
MitchExpensify commentedon Aug 7, 2023
Great! Thanks for confirming