-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[PAID] LOW: [$500] Android-Thread-In Android, with uneven spacing as text entered, displayed in reply thread title #32555
Comments
Job added to Upwork: https://www.upwork.com/jobs/~01208eb9280d67b191 |
Triggered auto assignment to @strepanier03 ( |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to Contributor-plus team member for initial proposal review - @alitoshmatov ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.In reply thread page, in mweb, text title is shown with normal spacing but in Android, with uneven spacing as text entered, it is displayed. What is the root cause of that problem?We have What changes do you think we should make in order to solve the problem?Remove To handle the text with new lines, we can format the text by removing line breaks similar to here This approach is the same as in this PR where we fix this same problem in another place (LHN) What alternative solutions did you explore? (Optional)If we want to collapse white space, use |
ProposalPlease re-state the problem that we are trying to solve in this issue.The thread title in header have a different white space behavior between native and mWeb. What is the root cause of that problem?We previously fixed this by adding a white-space of pre, but the title has a style of white-space: no-wrap which overrides the white-space from
no-wrap will collapse the whitespace and white-sapce is only available on web, that's why we have a different whitespace behavior no-wrap is added to fix an issue of a money request header title contains a multiline description. If we remove the no-wrap, a money request header with multiline description will shows as multi line. What changes do you think we should make in order to solve the problem?First, remove the white-space no-wrap style from DisplayNameWithTooltips. Next, to fix the multiline issue, we can replace all new line from the money request description with an empty string, just like we did in #27822 Line 1902 in bbe73ef
comment: (transactionDetails?.comment ?? '').replace(CONST.REGEX.LINE_BREAK, '') |
Raised for internal discussion, pausing. |
Let's keep this, cross-platform consistency ftw. Adding to VIP. |
@quinthar - Is Daily still the right priority for this one or can we move it to at least weekly since it's low? |
Moving this to weekly since it's Low priority. Please feel free to update labels as needed when priority changes. |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
Reviewing |
@strepanier03 Can you clarify what is the expected outcome here. If text with multiple consequent spaces are enter( a) Collapse spaces - |
📣 @tienifr 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
Ooops sorry, I missed the ping. |
Thanks @techievivek - @tienifr will you submit the draft PR soon? |
All good Melvin. |
@strepanier03 Opps. I thought that's because I marked the PR ready when GH was down several days ago so there's error and nothing happened. Anw it's ready for review now. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.25-10 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-24. 🎊 For reference, here are some details about the assignees on this issue:
|
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:
|
|
This is ready for payment |
Dang, another one where the automation didn't work to move this over to Daily. I'll work on this now. |
All paid up and contracts closed. Thanks everyone! |
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:
Reproducible in staging?:
Reproducible in production?:
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:
Slack conversation:
Action Performed:
Expected Result:
In reply thread page, in both mweb and Android, the title must be shown in a consistent way.
Actual Result:
In reply thread page, in mweb, text title is shown with normal spacing but in Android, with uneven spacing as text entered, it is displayed.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Bug6302743_1701842027653.reep.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: