Turn channel log member message into HTML#32161
Conversation
|
@shubham1206agra Please 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] |
|
@shubham1206agra Before completing screenshots, I found out one issue that the mention would be displayed as
Because the personal detail was not retrieved properly here: Lines 4150 to 4154 in 1234b0d The Do you want me to fix it as well or create another issue to handle that? |
|
Can you fix it here only? |
|
@shubham1206agra Another edge case: If server returned the invited display name with spaces between, we could not render the mention after copy-pasting. I don't think this is possible with the current implementation of Original:
Copy pasted:
|
@tienifr This looks weird bug. It should use email (login) here, instead of display name. |
|
@shubham1206agra I'm not sure about that, the invitation message was one month ago. I tried iniviting the same account again and accounts with display name but it just showed |
| let environmentURL: string; | ||
| Environment.getEnvironmentURL().then((url: string) => (environmentURL = url)); | ||
|
|
There was a problem hiding this comment.
Can you see tryResolveUrlFromApiRoot instead of this?
There was a problem hiding this comment.
Is there any specific reason? Because I took reference from ReportActionsUtils here:
App/src/libs/ReportActionsUtils.ts
Line 388 in 1234b0d
There was a problem hiding this comment.
Maybe above method doesn't work in that case, thats why they have used environmentURL directly.
There was a problem hiding this comment.
|
@tienifr In this, you may want to make link independent of platform cause clicking on room link from production website tries to take me to local link |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2023-12-03.at.8.57.46.PM.movAndroid: mWeb ChromeScreen.Recording.2023-12-04.at.9.07.08.AM.moviOS: NativeScreen.Recording.2023-12-03.at.7.47.10.PM.moviOS: mWeb SafariScreen.Recording.2023-12-04.at.9.04.57.AM.movMacOS: Chrome / SafariScreen.Recording.2023-12-04.at.9.02.51.AM.movMacOS: DesktopScreen.Recording.2023-12-03.at.7.43.18.PM.mov |
|
Hi @shubham1206agra @tienifr , we have made changes related to the channel log, I think they are related to each other and may cause conflicts. Can the team help check to hold this PR until our PR is merged cc @cubuspl42 @mobilify |
|
@namhihi237 Can you link the related PR? |
|
Ah sorry,I am missing. I updated |
|
@tienifr Can you see if this problem can be solved in the meantime? #32161 (comment) |
|
@shubham1206agra Sure! So by that you mean we put this PR on HOLD for #30927, don't you? |
|
I think we can hold this as the holding PR is near merge state |
|
Yes, please hold. We've had many, many review rounds there. I would be grateful if you applied your solution on top of those changes. |
|
@tienifr Lets get this OFF HOLD now |
|
Seems like there was regression and they attempted to fix in #32612. I think we still need HOLD then. |
|
I'll push #32612 forward ASAP |
|
Lets get it OFF HOLD now as holding PR is now in production |
|
@tienifr Bump here ^ |
|
Taking a look. |
|
@shubham1206agra We can continue here. #32612 already handled most of the parsing logic for us 🙏. |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Deployed to staging by https://github.com/luacmartins in version: 1.4.15-0 🚀
|
|
🚀 Deployed to production by https://github.com/jasperhuangg in version: 1.4.15-5 🚀
|





Details
Turn channel log member message into HTML so that room name is shown as link when copy to clipboard.
Fixed Issues
$ #31568
PROPOSAL: #31568 (comment)
Tests
#adminroom of that workspaceOffline tests
NA
QA Steps
#adminroom of that workspacePR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)/** comment above it */thisare necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);ifthis.submitis never passed to a component event handler likeonClick)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
Screen.Recording.2023-11-29.at.14.31.31-compressed.mov
Android: mWeb Chrome
Screen.Recording.2023-11-29.at.14.35.33-compressed.mov
iOS: Native
Screen.Recording.2023-11-29.at.14.25.47-compressed.mov
iOS: mWeb Safari
Screen.Recording.2023-11-29.at.14.27.53-compressed.mov
MacOS: Chrome / Safari
Screen.Recording.2023-11-29.at.13.57.27-compressed.mov
MacOS: Desktop
Screen.Recording.2023-11-29.at.14.05.37-compressed.mov