-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Error rendering when using autolink (@customgroup) in mobile app (even in v2) #6451
Comments
Alright, seems like the An acceptable solution except if there is any security concern I haven't though of 🤔 |
Hey @LouisSung thanks for reporting.. i just don't know if we ever going to address that issue as there is now a new custom groups feature that does not require the autolink plugin and the hack for the custom groups :) |
wow ok, glad to hear that :D I'll close this issue as there's already a better approach |
I'm not sure about the enterprise or not enterprise version of the feature, but if you really really want the autolinking resolved, you can always submit a pull request for review :) |
That's reasonable, but I'm not sure if to align the implementation of Webapp (i.e., escape everything as http link) is safe enough in mobile app. |
Absolutely, we could diacuss it in the PR |
Summary
It's glad to hear the mobile v2.0 is under beta 🎉
However, this issue for custom group rendering does not seem to be fixed even in v2.0.0 (409)
Actually, I have been filed the issue for v1 as mattermost-community/mattermost-plugin-autolink#124 two years ago.
I guess maybe here is the better place to file the issue?
Sorry about not available to trace the code and pending that issue for such a long time, but I think maybe it's the suitable time to get this fixed.
Environment Information
iPhone 12 Pro Max
iOS 15.5
Beta 2.0.0 (409)
7.0.1 team-edition
(supposed to be5.2x enterprise-editon
(without license) at that time)Steps to reproduce
@customgroup
autolink as state out in Example 3Expected behavior
Web and Desktop app can render correctly (also works with the
auto followed
of the newly introduced collapse reply threads)Observed behavior (that appears unintentional)
Mobile app cannot render correctly
Possible fixes
Due to it's a rendering issue, I guess the most possible place it that the
(\\* @user1 @user2 \\*)
here as the herf is not a valid URL, making the!child.props.context.includes('link')
passed and literallyreturn child;
.However, I'm not familiar with React and the use of
props
, so I didn't trace further; besides, I have no build environment to set up my own mobile dev app.I will keep tracing (or tack the implementation of Web app) and willing to create a PR if needed
Thank you for all your amazing works : )
The text was updated successfully, but these errors were encountered: