-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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 2023-08-03] [$1000] NEW FEATURE: Don't truncate long room names in room details page #22613
Comments
Triggered auto assignment to @jliexpensify ( |
Triggered auto assignment to Design team member for new feature review - @shawnborton ( |
@shawnborton let me know if you'd like this as External! |
ProposalPlease re-state the problem that we are trying to solve in this issue.
What is the root cause of that problem?
What changes do you think we should make in order to solve the problem?
Note: Currently on this GH it mentioned only for native iOS and Android so that is the reason I have not added changes for the web if needed we need to adjust
|
ProposalPlease re-state the problem that we are trying to solve in this issue.Don't truncate the room name in the details page which help user to see full room name What is the root cause of that problem?Currently, we are passing numberOfLines to 1 for showing the title which truncates the text and only shows a single line. App/src/pages/ReportDetailsPage.js Line 153 in 38890e2
What changes do you think we should make in order to solve the problem?
Note: It is applied to all platforms, if requires only for small devices then we need to add |
Yup we can do this external, thanks! |
Job added to Upwork: https://www.upwork.com/jobs/~01f72d5afba7910b13 |
Current assignee @jliexpensify is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @mananjadhav ( |
Thanks for the proposals folks. For consistency, I think we should focus on solving for all the platforms and not just native apps. Both the proposals don't fully solve for all the platforms. @dhairyasenjaliya @Pujan92 Can you update your proposals after testing once? Looking forward to it. Also I would recommend sending out a fresh comment, so that we don't end up in a conflict of which proposal came first. Thank you for your patience on this. |
@mananjadhav my proposal is actually a generic one that behaves the same for all platforms. |
@Pujan92 still truncated on web using your proposal. ![]() --- a/src/pages/ReportDetailsPage.js
+++ b/src/pages/ReportDetailsPage.js
@@ -150,8 +150,8 @@ function ReportDetailsPage(props) {
fullTitle={ReportUtils.getReportName(props.report)}
displayNamesWithTooltips={displayNamesWithTooltips}
tooltipEnabled
- numberOfLines={1}
- textStyles={[styles.textHeadline, styles.textAlignCenter, styles.pre]}
+ numberOfLines={isChatRoom ? 0 : 1}
+ textStyles={[styles.textHeadline, styles.textAlignCenter, isChatRoom ? undefined : styles.pre]}
shouldUseFullTitle={isChatRoom || isPolicyExpenseChat || isThread}
/>
</View> |
ProposalPlease re-state the problem that we are trying to solve in this issue.
What is the root cause of that problem?
What changes do you think we should make in order to solve the problem?
Result![]() ![]() cc @mananjadhav |
Both of you mention about removing the |
@mananjadhav shouldn't be a problem for room name as we don't allow space inside it and add - instead of space so i think we are good |
But the display name component is component for room as well as chats, won't that cause an issue? |
ProposalPlease re-state the problem that we are trying to solve in this issue.Don't truncate the room name in the details page which help user to see full room name What is the root cause of that problem?Currently, we are passing numberOfLines to 1 for showing the title which truncates the text and only shows a single line. App/src/pages/ReportDetailsPage.js Line 153 in 38890e2
What changes do you think we should make in order to solve the problem?
|
Yeah thats what suggestions is to remove pre only if we have chat type is room other than that we should apply pre since we allow space on other display name |
Only for Room we are taking out the whiteSpace: pre style so I think it won't create any issue. |
Thanks for the comments folks. Yeah I saw that on @Pujan92's proposal but I missed reading that in yours @dhairyasenjaliya. Considering both the proposals, I think @Pujan92's proposal is better to unset the I am a bit concerned about the comment, 🎀 👀 🎀 C+ Reviewed. |
I'm just wondering passing |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.46-2 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-08-03. 🎊 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.
For reference, here are some details about the assignees on this issue:
As a reminder, here are the bonuses/penalties that should be applied for any External issue:
|
This is more like a feature request. Hence we don't have any tagged PR. Because we shouldn't end up working on adding the limit again, I think we should add a regression test. Regression Test:
@Julesssss @jliexpensify wdyt? Also this is eligible for the timeline bonus, because the change was done well within the timeline, but we got blocked by another PR conflict. |
Will let @Julesssss weigh in with the final say on timeline bonus - I'll summarise payments once he weighs in! |
Regular payment here @jliexpensify |
Payments:
Upworks job here |
@jliexpensify It should be $1500, but let's wait for @Julesssss to ack. |
Why is that? |
@Julesssss I raised this comment here too during the PR. We had the PR ready but had conflicts. The conflict was primarily a regression, which got this issue delayed. I saw your 👍 in the comment as well as I highlighted the same [here too].(#22613 (comment)) |
Ah yeah, I remember now. 👍 |
Thanks. Can you comment and confirm it to @jliexpensify so that he can put up a summary on the issue? |
@jliexpensify I hereby declare this is worthy of the bonus 😄 |
Raised my request on the NewDot. |
Pujan paiud, job closed. Working on Regression GH now. |
Reviewed details for @mananjadhav. These details are accurate based on summary from Business Reviewer and are now approved for payment in NewDot. |
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:
Expected result:
We'd show the full room name in room details, as this should be the source of truth for what the room actually is. If the room name is long, we should just break it into multiple lines in the room details.
Actual result:
We truncate the room name in room details. Meaning you cannot see the full room name there.
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?
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
Notes/Photos/Videos: Any additional supporting documentation
Expensify/Expensify Issue URL:
Issue reported by: @joekaufmanexpensify
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1689026712373409
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: