-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Fix: Don't truncate long room names in room details page #23357
Conversation
@shawnborton @mananjadhav One of you needs to copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
@Pujan92 We've got conflicts? Can you please resolve them? |
@mananjadhav that conflicted PR has the regression which I have mentioned here. |
@Pujan92 Also in Test steps we show Room Name at more than one places. Can you list where all we should be checking? I am inclined on adding a regression test for this one, so let's be specific for these screens? |
Ohh 🤦 . Thanks for clarifying. We'll wait for it to be fixed and resync. |
@mananjadhav I have mentioned in the test steps to check only in report details page. isn't that work? |
Sorry you can ignore. I got a bit confused. I thought this had to be fixed in the Welcome message, etc. |
Reviewer Checklist
Screenshots/Videos |
@Julesssss I waited for the PR #23358 but it is still open. I will retest once it is merged and confirm here. I think the bonus should be applied for this one, as we're unexpectedly blocked on a PR which resolves the regression. Meanwhile I've tested the code and it works fine. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good, as discussed we'll hold on the other PR
@mananjadhav merged with resolved conflicts. |
@Pujan92 Can you confirm if a very long name without any spaces hyphens say 250+ characters, doesn't overflow? |
Tried with hard coded string and it's not overflowing. ![]() |
Thanks this tests well with the latest main. @Julesssss All yours. Sorry for the delay, I was blocked on the Signin due to Flipper change. |
Not an emergency, bad bot |
🚀 Deployed to staging by https://github.com/Julesssss in version: 1.3.46-0 🚀
|
🚀 Deployed to staging by https://github.com/Julesssss in version: 1.3.47-0 🚀
|
🚀 Deployed to production by https://github.com/marcaaron in version: 1.3.46-2 🚀
|
🚀 Deployed to production by https://github.com/Beamanator in version: 1.3.47-6 🚀
|
@Pujan92 @mananjadhav @Julesssss It seems like this PR caused a regression here: #25801. Before this change all the names was truncated, you have disabled it for chat rooms, but have forgotten to check what to do with threads. |
Details
#22613
Fixed Issues
$ #22613
PROPOSAL: #22613 (comment)
Tests
Offline tests
QA Steps
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)/** comment above it */
this
properly so there are no scoping issues (i.e. foronClick={this.submit}
the methodthis.submit
should be bound tothis
in the constructor)this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Web
Mobile Web - Chrome
Mobile Web - Safari
Desktop
iOS
Android