-
Notifications
You must be signed in to change notification settings - Fork 11.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
Open channel description links in a new tab #28167
Comments
hello @ecke101 assign me this issue, i might solve it. |
Hello. I don't think I have the rights to do that. |
How to claim this? Anyone? |
Hey @ecke101! This works fine on the new 6.0.0 release. Can you please provide your server version on which it doesn't work? Thanks! |
This is fixed in 6.0.0 Closing for now. Thanks for reporting! |
There's a small issue with this fix. If your channel description links to another channel on the same server, as a user I would expect it to open in the current window. With this implementation, it opens a new tab, so now I have two RocketChat tabs going on the same server. I made a suggestion on #6595 that channel references ( Would it make sense to add an exception so that links to the current server aren't forced into a new tab? |
I think this was reverting the fix of #27491 See my comment and @Gummikavalier 's comment below mine
Edit: Copy of my comment why new tabs are a problemsource: #27491 (comment) Hello and thank you for Rocket.Chat! This is not fixed, actually. I use the web client and when clicking on a link like https://chat.somedomain.cloud/channel/peer-support from another channel or channel topic in the same Rocket.Chat instance, a new browser tab opens. At the moment
In the above example, #peer-support is not auto-converted to a link to the channel because this is not supported in the topic field, apparently. So the workaround is to use e.g. #peer-support in the channel topic. Clicking that link, however, has undesirable effects at the moment:
|
Description:
In Rocketchat most links open in a new tab by default which makes sense.

The exception is channel description links.
This is an example from the blender.chat python channel. All these links open in the same tab:
Steps to reproduce:
Expected behaviour
All links should open in a new tab by default. That is they should have
target="_blank"
.The text was updated successfully, but these errors were encountered: