-
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
[HOLD for payment 2024-12-17] Thread - Thread title in report details RHP shows the entire message #53308
Comments
Triggered auto assignment to @sonialiap ( |
Triggered auto assignment to @mjasikowski ( |
💬 A slack conversation has been started in #expensify-open-source |
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
|
This seems to come from #53041 We are setting numberOfLinesTitle={0} here, because of that the number lines are not truncated App/src/pages/ReportDetailsPage.tsx Line 747 in 4206c86
we should set it to 2 to truncate it to 2 lines, or remove the numberOfLinesTitle prop to truncate it to one line |
Raising a fix now |
@twilight2294 are you in Slack? |
@twilight2294 its not clear what the fix is, we should discuss with the design team |
Waiting to get added |
We will revert @twilight2294 and then you can handle this case in the PR again and discuss with the design team the best course of action, no need to rush to some solutions we do not have agreement on 👍 |
No problem!, Should I put up a revert PR ? |
Revert PR on the way |
Revert PR merged, CP request sent |
@Expensify/design Do you have any thoughts on how to display the thread title in the report details RHP? Specifically should it be truncated, and to how many lines? For context: In #52836 we were going to display report titles full-length, since rooms and groups have a natural length limit. For threads though the title length is pretty much unlimited, so we probably want to handle it differently. |
I think we can just pick a reasonable limit, something that might feel similar to the character-enforced limit we use elsewhere. So maybe that should be like 2-3 lines or something? Are we able to pick an amount of lines and truncate that way? |
I agree with Shawn—2-3 lines seems totally reasonable to me. If we can't pick the amount of lines, I bet we can estimate a character length that gives us something similar. |
Thanks for the feedback, guys! We can indeed just choose the number of lines and truncate based on that. @twilight2294 Could you proceed with 2 lines and we'll see how that looks? |
I will have a PR up tomorrow, sorry missed this today |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.73-8 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-12-17. 🎊 |
@mjasikowski @sonialiap @mjasikowski The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button] |
I'm OOO Dec 16-20, adding a leave buddy next steps: |
Correct, this was a regression from my issue. No payment will be needed here. |
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: 9.0.68-2
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: Y
Email or phone of affected tester (no customers): applausetester+232803@applause.expensifail.com
Issue reported by: Applause Internal Team
Action Performed:
Expected Result:
The thread title in report details RHP should have limit for the lines it will display.
Actual Result:
The thread title in report details RHP shows the entire message and user has to scroll down to see the buttons.
Workaround:
Unknown
Platforms:
Screenshots/Videos
Bug6679791_1732870553838.20241129_165149.mp4
View all open jobs on GitHub
Issue Owner
Current Issue Owner: @sonialiapThe text was updated successfully, but these errors were encountered: